GLOBAL.setmetatable( env, { __index = function(t, k) return GLOBAL.rawget(GLOBAL, k) end } ) local ruins_statue = { "ruins_statue_head", "ruins_statue_mage", "ruins_plate", "ruins_statue_head_nogem", "ruins_statue_mage_nogem", "archive_moon_statue", } for k, v in pairs(ruins_statue) do AddPrefabPostInit(v, function(inst) if not TheWorld.ismastersim then return end if not inst.components.workable then return end local old_ShouldRecoil = inst.components.workable.ShouldRecoil inst.components.workable.ShouldRecoil = function(self, worker, ...) local day = TheWorld.state.cycles if day and day <= 55 then return true, 0 end if old_ShouldRecoil then return old_ShouldRecoil(self, worker, ...) end end end) end local function OnAttacked(inst, data) local attacker = data ~= nil and data.attacker or nil local day = TheWorld.state.cycles if attacker and attacker.components.combat and day and day <= 55 then attacker.components.combat:GetAttacked(inst, 9999) end end AddPrefabPostInit("minotaur", function(inst) if not TheWorld.ismastersim then return end inst:ListenForEvent("attacked", OnAttacked) end)