aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api/s_node.h
Commit message (Expand)AuthorAge
* Remove nodeupdate completely (#6358)Rui2017-09-01
* Modernize source code: last part (#6285)Loïc Blot2017-08-20
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-17
* Add on_flood() callback.Auke Kok2017-04-22
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
* Pass pointed_thing to on_punch and minetest.register_on_punchnode callbacksShadowNinja2014-01-23
* Weather supportproller2013-07-27
* Fix class/struct forward declaration inconsistencies (good on ya, MSVC)Kahrl2013-06-06
* Move scriptapi to separate folder (by sapier)sapier2013-05-25
r_craftitem("testfood:bad1", { description = S("Bad Food (-1)"), inventory_image = "testfood_bad.png", on_use = minetest.item_eat(-1), }) minetest.register_craftitem("testfood:bad5", { description = S("Bad Food (-5)"), inventory_image = "testfood_bad2.png", on_use = minetest.item_eat(-5), }) minetest.register_craftitem("testfood:replace1", { description = S("Replacing Food (+1)").."\n".. S("Replaced with 'Good Food (+1)' when eaten"), inventory_image = "testfood_replace.png", on_use = minetest.item_eat(1, "testfood:good1"), })