Dry shrub: Use plantlike meshoption for bushy appearence

Adjust selectionbox width for a better fit and consistency with other
grasses.
This commit is contained in:
paramat 2018-01-01 09:24:15 +00:00 committed by paramat
parent f52085a40f
commit 223562d687
2 changed files with 5 additions and 1 deletions

View File

@ -1593,6 +1593,7 @@ function default.register_mgv6_decorations()
y_min = 1, y_min = 1,
y_max = 30, y_max = 30,
decoration = "default:dry_shrub", decoration = "default:dry_shrub",
param2 = 4,
}) })
end end
@ -2018,6 +2019,7 @@ function default.register_decorations()
y_min = 2, y_min = 2,
y_max = 31000, y_max = 31000,
decoration = "default:dry_shrub", decoration = "default:dry_shrub",
param2 = 4,
}) })
-- Coral reef -- Coral reef

View File

@ -1183,6 +1183,8 @@ minetest.register_node("default:dry_shrub", {
inventory_image = "default_dry_shrub.png", inventory_image = "default_dry_shrub.png",
wield_image = "default_dry_shrub.png", wield_image = "default_dry_shrub.png",
paramtype = "light", paramtype = "light",
paramtype2 = "meshoptions",
place_param2 = 4,
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
buildable_to = true, buildable_to = true,
@ -1190,7 +1192,7 @@ minetest.register_node("default:dry_shrub", {
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-5 / 16, -0.5, -5 / 16, 5 / 16, 4 / 16, 5 / 16}, fixed = {-6 / 16, -0.5, -6 / 16, 6 / 16, 4 / 16, 6 / 16},
}, },
}) })