mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Rename “Minimal development test” to “Development Test” (#9928)
This commit is contained in:
parent
b546e8938d
commit
083b285f43
371 changed files with 25 additions and 25 deletions
24
games/devtest/mods/testfood/init.lua
Normal file
24
games/devtest/mods/testfood/init.lua
Normal file
|
@ -0,0 +1,24 @@
|
|||
local S = minetest.get_translator("testfood")
|
||||
|
||||
minetest.register_craftitem("testfood:good1", {
|
||||
description = S("Good Food (+1)"),
|
||||
inventory_image = "testfood_good.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
})
|
||||
minetest.register_craftitem("testfood:good5", {
|
||||
description = S("Good Food (+5)"),
|
||||
inventory_image = "testfood_good2.png",
|
||||
on_use = minetest.item_eat(5),
|
||||
})
|
||||
|
||||
minetest.register_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),
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue