Add minerals to giant trees. Raise fortresses to -33 max.

This could cause issues with really deep oceans, but I haven't seen any.
This commit is contained in:
Duane 2016-07-05 07:36:36 -05:00
parent 5d2bdcdaba
commit 518a8384fc
3 changed files with 49 additions and 6 deletions

View file

@ -338,11 +338,12 @@ if minetest.registered_entities["mobs:bee"] then
local pos = self.object:getpos()
pos.y = pos.y + 1
local odds = 25
if self.name == 'fun_caves:killer_bee' then
fun_caves.search_replace(pos, 5, {'group:tree', 'fun_caves:glowing_fungal_wood',}, 'air')
else
fun_caves.search_replace(pos, 25, {'group:tree', 'fun_caves:glowing_fungal_wood',}, 'air')
odds = 5
end
fun_caves.search_replace(pos, odds, {'fun_caves:tree', 'fun_caves:ironwood', 'fun_caves:diamondwood', 'fun_caves:glowing_fungal_wood',}, 'air')
fun_caves.search_replace(pos, 10, {"fun_caves:tree"}, "fun_caves:glowing_fungal_wood")
fun_caves.search_replace(pos, 60, {"fun_caves:glowing_fungal_wood", 'fun_caves:sap'}, "air")