Add sticks to grasslands.
This commit is contained in:
parent
5568b5c893
commit
394b046bed
4 changed files with 43 additions and 4 deletions
|
@ -97,12 +97,51 @@ minetest.register_craft({
|
|||
},
|
||||
})
|
||||
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:stick",
|
||||
type = 'shapeless',
|
||||
recipe = {
|
||||
{"", "", ""},
|
||||
{"default:dry_shrub", "default:dry_shrub", ""},
|
||||
{"default:dry_shrub", "default:dry_shrub", ""},
|
||||
"default:dry_shrub", "default:dry_shrub",
|
||||
"default:dry_shrub", "default:dry_shrub",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "default:stick",
|
||||
type = 'shapeless',
|
||||
recipe = {
|
||||
"fun_caves:roots",
|
||||
},
|
||||
})
|
||||
|
||||
minetest.register_node("fun_caves:roots", {
|
||||
description = "Exposed Roots",
|
||||
tiles = {"fun_caves_dry_twigs.png"},
|
||||
inventory_image = "fun_caves_dry_twigs.png",
|
||||
is_ground_content = true,
|
||||
walkable = false,
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
drawtype = "raillike",
|
||||
selection_box = { type = "fixed",
|
||||
fixed = {-0.5, -0.5, -0.5, 0.5, -7/16, 0.5},
|
||||
},
|
||||
groups = {stone=1, oddly_breakable_by_hand=3, dig_immediate = 3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
local param = {
|
||||
deco_type = "simple",
|
||||
decoration = "fun_caves:roots",
|
||||
sidelen = 80,
|
||||
place_on = {"group:soil", "group:sand"},
|
||||
fill_ratio = 0.0005,
|
||||
biomes = {"sandstone_grassland", "stone_grassland", "desertstone_grassland", },
|
||||
flags = "place_center_x, place_center_z",
|
||||
rotation = "random",
|
||||
}
|
||||
if not fun_caves.use_bi_hi then
|
||||
param.biomes = nil
|
||||
end
|
||||
minetest.register_decoration(param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue