1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

DevTest: Explain purpose of most items in tooltips (#12833)

This commit is contained in:
Wuzzy
2022-10-09 14:05:22 +02:00
committed by GitHub
parent 804a318189
commit c1c68775b2
19 changed files with 367 additions and 173 deletions

View File

@@ -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",