1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

Updated entities (markdown)

False.Genesis 2019-09-02 04:25:30 +02:00
parent bb13067bcc
commit de50129221

@ -20,9 +20,12 @@ Most entities have a script attached. There are some exceptions, the following e
* Gas Cloud (green cloud that does damage, appears in Mithalas cathedral)
* Avatar (Internal name for Naija)
* FlockEntity (Fish grouped in a school as placed by the `<SchoolFish>` tag in a map XML file). There are two variations: Fish that are spawned in the foreground do regular shot collision and die when hit; fish in the background are unkillable by normal means and purely decoration.
* FlockEntity (Fish grouped in a school as placed by the `<SchoolFish>` tag in a [[map XML file|map-basics#schools-of-fish]]). There are two variations: Fish that are spawned in the foreground do regular shot collision and die when hit; fish in the background are unkillable by normal means and purely decoration.
* Ingredients
* ManaBall (the small sparkly bits that refill health when picked up)
* Spore (apparently does not normally appear in the game)
They can still be controlled by scripts though.
Li, on the other hand, is completely script controlled, but receives a lot of special handling in the game's code. The Li entity, if Li is enabled, is actually spawned before the map file is even loaded. So if you have any super-special code that must run before anything else on map load, put it inside _li.lua_'s `init()` function, and stick `setFlag(1000, 100)` into your _mod-init.lua_'s `init()` function to enable Li from the very beginning.