summaryrefslogtreecommitdiff
path: root/src/server/luaentity_sao.h
Commit message (Collapse)AuthorAge
* on_deactivate: distinguish removal and unloading (#11931)Lars Müller2022-06-11
| | | Sometimes you need to be able to do removal-related cleanup, such as removing files from disk, or entries from a database. staticdata obviously isn't suitable for large data. The data shouldn't be removed if the entity is unloaded, only if it is removed.
* Handle lua entity HP changes correctly (like punches)sfan52022-05-29
| | | | fixes #11975
* Fix number of tool uses being off by 1..32767 (#11110)Wuzzy2021-10-31
|
* Add on_deactivate callback for luaentities (#10723)hecks2021-01-02
|
* Implement unloading of static_save=false objects according to existing docs ↵sfan52020-10-19
| | | | (#10485)
* Drop content_sao.{cpp,h}Loic Blot2020-04-11
Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation