Correct errors in search.
This commit is contained in:
parent
0285d39793
commit
f8678a3d44
11 changed files with 35 additions and 32 deletions
|
@ -107,9 +107,9 @@ mobs:register_mob("fun_caves:goblin_ice", {
|
|||
end,
|
||||
|
||||
do_custom = function(self)
|
||||
fun_caves.search_replace(self.object:getpos(), 5, {"default:torch"}, "air")
|
||||
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_torch_freq, {"default:torch"}, "air")
|
||||
--fun_caves.search_replace(self.object:getpos(), 20, {"default:stone"}, "default:mossycobble")
|
||||
fun_caves.search_replace(self.object:getpos(), 500, {"default:ice"}, "fun_caves:ice_trap")
|
||||
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_trap_freq, {"default:ice"}, "fun_caves:ice_trap")
|
||||
|
||||
fun_caves.surface_damage(self, true)
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue