TheTermos / mobkit

Entity API for Minetest
MIT License
26 stars 12 forks source link

Spawning #30

Closed HeyITGuyFixIt closed 3 years ago

HeyITGuyFixIt commented 3 years ago

I started looking into adding spawning to paleotest, which uses mobkit and noticed how complex spawning is compared to mobs redo, which I am familiar with. I've looked at examples from wildlife and water_life and it seems very complex to implement. Is there a simpler way or plans to make spawning simpler?

TheTermos commented 3 years ago

Yes, there's this function available mobkit.get_spawn_pos_abr() The examples don't use the function, because they predate it.

Still isn't going to be as simple as redo, because it just uses ABMs which are - pros: trivial to implement, cons: works horribly.

TheTermos commented 3 years ago

Hope that answers the question, closing.

HeyITGuyFixIt commented 3 years ago

That is useful. Come to find out, mob_core has the functions I was looking for.