aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_entity.h
AgeCommit message (Collapse)Author
2021-01-02Add on_deactivate callback for luaentities (#10723)hecks
2020-04-27Expose collision information to LuaEntity on_stepsfan5
2019-07-30Move the clamping of hp/breath when their maximums change to ↵Beha
read_object_properties(). (#8689) This prevents set_properties() calls that have nothing to do with hp_max or breath_max overriding the saved hp before another mod has the chance to set a player's intended hp_max (such as in on_joinplayer).
2018-04-30Allow damage for attached objects, add attach/detach callbacks (#6786)SmallJoker
* Allow right-clicking on attached LuaEntities
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-07-27Add LuaEntity on_death callback (#6177)Loïc Blot
Add LuaEntity on_death callback This fixes #5474
2017-01-28Make entity on_punch have same signature and behaviour as player on_punchsapier
2013-06-06Fix class/struct forward declaration inconsistencies (good on ya, MSVC)0.4.7-MSVCKahrl
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)