aboutsummaryrefslogtreecommitdiff
path: root/games/devtest/mods/testitems/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'games/devtest/mods/testitems/init.lua')
-rw-r--r--games/devtest/mods/testitems/init.lua8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/devtest/mods/testitems/init.lua b/games/devtest/mods/testitems/init.lua
index 0c4cc60de..53b2dbbe9 100644
--- a/games/devtest/mods/testitems/init.lua
+++ b/games/devtest/mods/testitems/init.lua
@@ -58,7 +58,10 @@ minetest.register_craftitem("testitems:overlay_global", {
--
minetest.register_craftitem("testitems:callback_1", {
- description = "Callback test item 1\n(Use/Drop + Sneak to switch to item 2)",
+ description = "Callback Test Item 1".."\n"..
+ "Tests callbacks: on_secondary_use, on_drop, on_pickup, on_use, after_use".."\n"..
+ "Punch/Drop + Sneak: Switch to Callback Test Item 2",
+ "Aux1 + pickup item: Print additional on_pickup arguments",
inventory_image = "testitems_callback_1.png",
wield_image = "testitems_callback_1.png",
@@ -133,7 +136,8 @@ minetest.register_craftitem("testitems:callback_1", {
})
minetest.register_craftitem("testitems:callback_2", {
- description = "Callback test item 2\n(Use to switch to item 1)",
+ description = "Callback Test Item 2".."\n"..
+ "Punch to switch to Callback Test Item 1",
inventory_image = "testitems_callback_2.png",
wield_image = "testitems_callback_2.png",