Add Carrots and Farming!

This commit is contained in:
IamPyu
2024-10-14 12:16:08 -06:00
parent 247d6b3c5d
commit 323e2039ea
25 changed files with 187 additions and 60 deletions

View File

@@ -1,11 +1,13 @@
PyuTest.make_building_blocks("pyutest_blocks:dirt", "Dirt", { "pyutest-dirt.png" }, nil, {
ground = 1,
dirt = 1,
acid_vulnerable = 1,
crumbly = PyuTest.BLOCK_FAST
})
PyuTest.make_building_blocks("pyutest_blocks:podzol", "Podzol", { "pyutest-dirt.png" }, nil, {
ground = 1,
dirt = 1,
acid_vulnerable = 1,
crumbly = PyuTest.BLOCK_FAST
}, {
@@ -30,6 +32,7 @@ PyuTest.make_building_blocks("pyutest_blocks:mycelium", "Mycelium", {
{name = "pyutest-grass-top.png", color = "#5c455e"}, "pyutest-dirt.png"
}, nil, {
ground = 1,
dirt = 1,
crumbly = PyuTest.BLOCK_FAST,
}, {
overlay_tiles = {"", "", {name = "pyutest-grass-side.png", color = "#5c455e"}}

View File

@@ -148,9 +148,10 @@ PyuTest.make_node("pyutest_blocks:workbench", "Workbench", {
}, {
on_rightclick = function(pos, node, clicker)
minetest.show_formspec(clicker:get_player_name(), "pyutest_blocks:workbench", table.concat({
"size[8,9]",
"list[current_player;craft;2.5,1;3,3;]",
"list[current_player;main;0,5;8,4;]"
"size[8,7.5]",
"list[current_player;craft;2.5,0;3,3;]",
"list[current_player;craftpreview;6.5,1;1,1;]",
"list[current_player;main;0,3.5;8,4;]"
}))
end
})