diff options
| author | Wuzzy <Wuzzy@disroot.org> | 2022-10-09 14:05:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-09 08:05:22 -0400 |
| commit | c1c68775b25314b566a2aae9a304d1b470f5794d (patch) | |
| tree | 127bdadf77939c194d1ec01696a9a0440f769a7b /games/devtest/mods/testitems/init.lua | |
| parent | 804a31818907e737a1ec727580d5822532ff3e6b (diff) | |
| download | minetest-c1c68775b25314b566a2aae9a304d1b470f5794d.tar.xz | |
DevTest: Explain purpose of most items in tooltips (#12833)
Diffstat (limited to 'games/devtest/mods/testitems/init.lua')
| -rw-r--r-- | games/devtest/mods/testitems/init.lua | 8 |
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", |
