Correct errors in search.
This commit is contained in:
parent
0285d39793
commit
f8678a3d44
11 changed files with 35 additions and 32 deletions
|
@ -112,9 +112,9 @@ mobs:register_mob("fun_caves:goblin_cobble", {
|
|||
end,
|
||||
|
||||
do_custom = function(self)
|
||||
fun_caves.search_replace(self.object:getpos(), 5, {"default:torch"}, "air")
|
||||
fun_caves.search_replace(self.object:getpos(), 5, {"default:stone", "default:desert_stone", "default:sandstone"}, "default:mossycobble")
|
||||
fun_caves.search_replace(self.object:getpos(), 50, {"default:mossycobble"}, "fun_caves:mossycobble_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:desert_stone", "default:sandstone"}, "default:mossycobble")
|
||||
fun_caves.search_replace(self.object:getpos(), fun_caves.goblin_trap_freq, {"default:mossycobble"}, "fun_caves:mossycobble_trap")
|
||||
|
||||
fun_caves.surface_damage(self)
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue