Added toggle for Zombie amputations
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
|
||||
if not SandboxVars.TOC.EnableZombieAmputations then return end
|
||||
|
||||
require "lua_timers"
|
||||
|
||||
local ItemsController = require("TOC/Controllers/ItemsController")
|
||||
@@ -39,8 +42,6 @@ local function PredicateAmputationItemRight(item)
|
||||
return item:getType():contains("Amputation_") and item:getType():contains("_R")
|
||||
end
|
||||
|
||||
|
||||
|
||||
---@param zombie IsoZombie
|
||||
local function SpawnAmputation(zombie, side)
|
||||
local index = ZombRand(1, #StaticData.PARTS_STR)
|
||||
|
||||
Reference in New Issue
Block a user