I mean, if i don't have mobs mod, and i have the api in my mod, the api be loaded, if i have the mobs mod then don't...
How i make that?
I tried with this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
if( minetest.get_modpath("mobs") ~= nil ) then
dofile(minetest.get_modpath("extramobs").."/api.lua"),
end
But i think that don't going to work how i want.
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!! "I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)