2022-01-16 16:53:22 +01:00
|
|
|
if 20220116 > tonumber(mobs.version) then return end
|
|
|
|
-- mobs and beowulf don't play nicely together when stone is made
|
|
|
|
-- dangerous by beowulf, we counteract that here to make mobs not fear
|
2022-01-15 23:50:45 +01:00
|
|
|
-- stone and become more challenging again
|
|
|
|
local is_node_dangerous = mobs.is_node_dangerous
|
2022-01-16 16:53:22 +01:00
|
|
|
function mobs:is_node_dangerous(mob_object, nodename)
|
2022-01-15 23:50:45 +01:00
|
|
|
if 'default:stone' == nodename then return false end
|
2022-01-16 16:53:22 +01:00
|
|
|
return is_node_dangerous(self, mob_object, nodename)
|
2022-01-15 23:50:45 +01:00
|
|
|
end
|
|
|
|
|