rename and add text and icon

This commit is contained in:
2025-08-04 17:58:27 +07:00
parent aa4b3e9e33
commit 713705a91a
3 changed files with 23 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
local npcs = list.Get("NPC")
local citizenEnemy = npcs["npc_citizen_rebel_enemy"]
if citizenEnemy then
for class, npc in pairs(npcs) do
if npc["Class"] == "npc_combine_s" and npc["Category"] ~= "#spawnmenu.category.combine" then
npc["Class"] = citizenEnemy["Class"]
npc["KeyValues"] = {
Hostile = 1,
SquadName = "overwatch",
citizentype = 4
}
list.Set("NPC", class, npc)
end
end
end