Correct errors in search.

This commit is contained in:
Duane Robertson 2016-05-26 00:28:36 -05:00
parent 0285d39793
commit f8678a3d44
11 changed files with 35 additions and 32 deletions

View file

@ -110,9 +110,9 @@ mobs:register_mob("fun_caves:goblin_iron", {
end,
do_custom = function(self)
fun_caves.search_replace(self.object:getpos(), 5, 1, {"default:torch"}, "air")
fun_caves.search_replace(self.object:getpos(), 20, 1, {"default:stone"}, "default:mossycobble")
fun_caves.search_replace(self.object:getpos(), 500, 5, {"group:stone"}, "fun_caves:stone_with_iron_trap")
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_torch_freq, {"default:torch"}, "air")
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_trap_freq, {"default:stone"}, "default:mossycobble")
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_trap_freq, {"group:stone"}, "fun_caves:stone_with_iron_trap")
fun_caves.surface_damage(self)
end,