123456789101112131415161718192021222324252627282930313233343536373839404142 |
- 20c20
- < if not light_level or light_level < 13 then
- ---
- > if not light_level or light_level < 10 then
- 34c34
- < -- Sapling ABM
- ---
- > -- Grow sapling
- 38,39c38,39
- < -- try a bit later again
- < minetest.get_node_timer(pos):start(math.random(240, 600))
- ---
- > -- try again 5 min later
- > minetest.get_node_timer(pos):start(1)
- 97c97
- < minetest.get_node_timer(pos):start(math.random(1200, 2400))
- ---
- > minetest.get_node_timer(pos):start(math.random(10, 11))
- 535a536,557
- >
- >
- > -- Important bloody aliases
- >
- > minetest.register_alias("trees:tree_conifer", "default:pine_tree")
- > minetest.register_alias("trees:wood_conifer", "default:pine_wood")
- > minetest.register_alias("trees:sapling_conifer", "default:pine_sapling")
- > minetest.register_alias("trees:leaves_conifer", "default:pine_needles")
- >
- > minetest.register_alias("trees:tree_palm", "default:jungletree")
- > minetest.register_alias("trees:leaves_palm", "default:jungleleaves")
- > minetest.register_alias("trees:sapling_palm", "default:junglesapling")
- > minetest.register_alias("trees:wood_palm", "default:junglewood")
- >
- > minetest.register_alias("trees:tree_mangrove", "default:aspen_tree")
- > minetest.register_alias("trees:leaves_mangrove", "default:aspen_leaves")
- > minetest.register_alias("trees:sapling_mangrove", "default:aspen_sapling")
- > minetest.register_alias("trees:wood_mangrove", "default:aspen_wood")
- >
- > minetest.register_alias("trees:leaves_red", "default:jungleleaves")
- > minetest.register_alias("trees:leaves_yellow", "default:jungleleaves")
- > minetest.register_alias("trees:leaves_green", "default:jungleleaves")
|