1
0
mirror of https://github.com/Sokomine/cottages.git synced 2026-01-10 19:15:45 +01:00

added craft receipes for wheel with offset and wagon load

This commit is contained in:
Sokomine
2026-01-02 00:47:59 +01:00
parent 0c6e85305b
commit 9b06954920

View File

@@ -85,9 +85,9 @@ minetest.register_node("cottages:wagon_wheel_road", {
-- bottom or side for a cart for loading items. for now: use in combination with an itemframe for actual load
minetest.register_node("cottages:cart_load", {
description = S("cart load"),
-- bottom or side for a wagon for loading items. for now: use in combination with an itemframe for actual load
minetest.register_node("cottages:wagon_load", {
description = S("wagon load"),
drawtype = "nodebox",
-- top, bottom, side1, side2, inner, outer
tiles = {"default_wood.png"},
@@ -290,6 +290,33 @@ minetest.register_craft({
}
})
-- craft the special wheel with the offset for the dirt roads
minetest.register_craft({
output = "cottages:wagon_wheel_road",
recipe = {{"cottages:wagon_wheel"}},
})
minetest.register_craft({
output = "cottages:wagon_wheel",
recipe = {{"cottages:wagon_wheel_road"}},
})
if(minetest.get_modpath('moreblocks')) then
minetest.register_craft({
output = "cottages:wagon_load",
recipe = {{"moreblocks:panel_wood_1", "moreblocks:slab_wood_1", "moreblocks:panel_wood_1"}},
})
else
minetest.register_craft({
output = "cottages:wagon_load 4",
recipe = {{"stairs:slab_wood", "", "stairs:slab_wood"},
{"", "stairs:slab_wood", ""},
{"", "default:stick", ""}},
})
end
minetest.register_craft({
output = "cottages:loam 4",
recipe = {