mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 19:42:10 +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),
|
||||
})
|
||||
|
2
games/devtest/mods/testfood/mod.conf
Normal file
2
games/devtest/mods/testfood/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = testfood
|
||||
description = For testing food items
|
BIN
games/devtest/mods/testfood/textures/testfood_bad.png
Normal file
BIN
games/devtest/mods/testfood/textures/testfood_bad.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 126 B |
BIN
games/devtest/mods/testfood/textures/testfood_bad2.png
Normal file
BIN
games/devtest/mods/testfood/textures/testfood_bad2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 133 B |
BIN
games/devtest/mods/testfood/textures/testfood_good.png
Normal file
BIN
games/devtest/mods/testfood/textures/testfood_good.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 129 B |
BIN
games/devtest/mods/testfood/textures/testfood_good2.png
Normal file
BIN
games/devtest/mods/testfood/textures/testfood_good2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 145 B |
Loading…
Add table
Add a link
Reference in a new issue