aboutsummaryrefslogtreecommitdiff
path: root/src/server/luaentity_sao.h
AgeCommit message (Collapse)Author
2022-06-11on_deactivate: distinguish removal and unloading (#11931)Lars Müller
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.
2022-05-29Handle lua entity HP changes correctly (like punches)sfan5
fixes #11975
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-01-02Add on_deactivate callback for luaentities (#10723)hecks
2020-10-19Implement unloading of static_save=false objects according to existing docs ↵sfan5
(#10485)
2020-04-11Drop content_sao.{cpp,h}Loic Blot
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