16 lines
544 B
Lua
16 lines
544 B
Lua
local originalListSet = list.Set
|
|
|
|
function list.Set(listType, class, npc)
|
|
if listType == "NPC" then
|
|
if npc["Class"] == "npc_combine_s" and npc["Category"] ~= "#spawnmenu.category.combine" then
|
|
local citizenEnemy = list.Get("NPC")["npc_citizen_rebel_enemy"]
|
|
npc["Class"] = citizenEnemy["Class"]
|
|
npc["KeyValues"] = {
|
|
Hostile = 1,
|
|
SquadName = "overwatch",
|
|
citizentype = 4
|
|
}
|
|
end
|
|
end
|
|
originalListSet(listType, class, npc)
|
|
end |