increase selection box to show strawberry/onion final stage
This commit is contained in:
parent
3804271791
commit
3ddde145a7
@ -57,6 +57,10 @@ minetest.register_node("ethereal:onion_4", table.copy(crop_def))
|
|||||||
--stage 5
|
--stage 5
|
||||||
crop_def.tiles = {"ethereal_wild_onion_5.png"}
|
crop_def.tiles = {"ethereal_wild_onion_5.png"}
|
||||||
crop_def.groups.growing = nil
|
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 = {
|
crop_def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {"ethereal:wild_onion_plant 2"}, rarity = 1},
|
{items = {"ethereal:wild_onion_plant 2"}, rarity = 1},
|
||||||
|
@ -57,8 +57,8 @@ minetest.register_node("ethereal:strawberry_5", table.copy(crop_def))
|
|||||||
crop_def.tiles = {"ethereal_strawberry_6.png"}
|
crop_def.tiles = {"ethereal_strawberry_6.png"}
|
||||||
crop_def.drop = {
|
crop_def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {"ethereal:strawberry 1"},rarity = 2},
|
{items = {"ethereal:strawberry 1"}, rarity = 2},
|
||||||
{items = {"ethereal:strawberry 2"},rarity = 3}
|
{items = {"ethereal:strawberry 2"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("ethereal:strawberry_6", table.copy(crop_def))
|
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.tiles = {"ethereal_strawberry_7.png"}
|
||||||
crop_def.drop = {
|
crop_def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {"ethereal:strawberry 1"},rarity = 1},
|
{items = {"ethereal:strawberry 1"}, rarity = 1},
|
||||||
{items = {"ethereal:strawberry 2"},rarity = 3}
|
{items = {"ethereal:strawberry 2"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("ethereal:strawberry_7", table.copy(crop_def))
|
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
|
-- stage 8
|
||||||
crop_def.tiles = {"ethereal_strawberry_8.png"}
|
crop_def.tiles = {"ethereal_strawberry_8.png"}
|
||||||
crop_def.groups.growing = nil
|
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 = {
|
crop_def.drop = {
|
||||||
items = {
|
items = {
|
||||||
{items = {"ethereal:strawberry 2"},rarity = 1},
|
{items = {"ethereal:strawberry 2"}, rarity = 1},
|
||||||
{items = {"ethereal:strawberry 3"},rarity = 3}
|
{items = {"ethereal:strawberry 3"}, rarity = 3}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
minetest.register_node("ethereal:strawberry_8", table.copy(crop_def))
|
minetest.register_node("ethereal:strawberry_8", table.copy(crop_def))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user