mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
make nether mushroom rotation random
This commit is contained in:
parent
1c3a6f8a19
commit
06fdfd2e63
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ local modpath = minetest.get_modpath(modname)
|
||||||
-- adapted for mcl2 by cora
|
-- adapted for mcl2 by cora
|
||||||
|
|
||||||
local function generate_warped_tree(pos)
|
local function generate_warped_tree(pos)
|
||||||
minetest.place_schematic(vector.offset(pos,-2,0,-2),modpath.."/schematics/warped_mushroom.mts")
|
minetest.place_schematic(vector.offset(pos,-2,0,-2),modpath.."/schematics/warped_mushroom.mts","random")
|
||||||
end
|
end
|
||||||
|
|
||||||
function generate_crimson_tree(pos)
|
function generate_crimson_tree(pos)
|
||||||
minetest.place_schematic(vector.offset(pos,-2,0,-2),modpath.."/schematics/crimson_mushroom.mts")
|
minetest.place_schematic(vector.offset(pos,-2,0,-2),modpath.."/schematics/crimson_mushroom.mts","random")
|
||||||
end
|
end
|
||||||
|
|
||||||
minetest.register_node("mcl_crimson:warped_fungus", {
|
minetest.register_node("mcl_crimson:warped_fungus", {
|
||||||
|
|
Loading…
Reference in a new issue