increase selection box to show strawberry/onion final stage

This commit is contained in:
tenplus1 2022-09-15 08:07:36 +01:00
parent 3804271791
commit 3ddde145a7
2 changed files with 14 additions and 6 deletions

View File

@ -57,6 +57,10 @@ minetest.register_node("ethereal:onion_4", table.copy(crop_def))
--stage 5
crop_def.tiles = {"ethereal_wild_onion_5.png"}
crop_def.groups.growing = nil
crop_def.selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5}
}
crop_def.drop = {
items = {
{items = {"ethereal:wild_onion_plant 2"}, rarity = 1},

View File

@ -57,8 +57,8 @@ minetest.register_node("ethereal:strawberry_5", table.copy(crop_def))
crop_def.tiles = {"ethereal_strawberry_6.png"}
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 1"},rarity = 2},
{items = {"ethereal:strawberry 2"},rarity = 3}
{items = {"ethereal:strawberry 1"}, rarity = 2},
{items = {"ethereal:strawberry 2"}, rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_6", table.copy(crop_def))
@ -67,8 +67,8 @@ minetest.register_node("ethereal:strawberry_6", table.copy(crop_def))
crop_def.tiles = {"ethereal_strawberry_7.png"}
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 1"},rarity = 1},
{items = {"ethereal:strawberry 2"},rarity = 3}
{items = {"ethereal:strawberry 1"}, rarity = 1},
{items = {"ethereal:strawberry 2"}, rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_7", table.copy(crop_def))
@ -76,10 +76,14 @@ minetest.register_node("ethereal:strawberry_7", table.copy(crop_def))
-- stage 8
crop_def.tiles = {"ethereal_strawberry_8.png"}
crop_def.groups.growing = nil
crop_def.selection_box = {
type = "fixed",
fixed = {-0.5, -0.5, -0.5, 0.5, -2.5/16, 0.5}
}
crop_def.drop = {
items = {
{items = {"ethereal:strawberry 2"},rarity = 1},
{items = {"ethereal:strawberry 3"},rarity = 3}
{items = {"ethereal:strawberry 2"}, rarity = 1},
{items = {"ethereal:strawberry 3"}, rarity = 3}
}
}
minetest.register_node("ethereal:strawberry_8", table.copy(crop_def))