Skip to content
Permalink
Browse files

DevTest: Add food item to test food replacement (#10642)

  • Loading branch information
Wuzzy2 committed Dec 18, 2020
1 parent d5a481b commit 025035db5c87e9eaa9f83859f860539fc4fb4dc0
@@ -22,3 +22,10 @@ minetest.register_craftitem("testfood:bad5", {
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"),
})

Binary file not shown.

0 comments on commit 025035d

Please sign in to comment.