From: CaptainMaru <124701378+CaptainMaru@users.noreply.github.com> Date: Fri, 20 Dec 2024 20:34:53 +0000 (+0500) Subject: All hostile turret (#33970) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=5a07413ef8ba7c86df1c61a20c9ad1556302be98;p=space-station-14.git All hostile turret (#33970) * All hostile turret * Other factions are now hostile against "all hostile" too --- diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml index de0e92dd67..8da72b49ae 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml @@ -195,6 +195,15 @@ factions: - SimpleHostile +- type: entity + parent: BaseWeaponTurret + id: WeaponTurretAllHostile + suffix: All hostile + components: + - type: NpcFactionMember + factions: + - AllHostile + - type: entity name: xeno turret description: Shoots 9mm acid projectiles. diff --git a/Resources/Prototypes/ai_factions.yml b/Resources/Prototypes/ai_factions.yml index 3dfb35c7a6..0ed8b1eb65 100644 --- a/Resources/Prototypes/ai_factions.yml +++ b/Resources/Prototypes/ai_factions.yml @@ -7,6 +7,7 @@ - PetsNT - Zombie - Revolutionary + - AllHostile - type: npcFaction id: NanoTrasen @@ -16,11 +17,13 @@ - Xeno - Zombie - Revolutionary + - AllHostile - type: npcFaction id: Mouse hostile: - PetsNT + - AllHostile - type: npcFaction id: Passive @@ -32,6 +35,7 @@ - SimpleHostile - Zombie - Xeno + - AllHostile - type: npcFaction id: SimpleHostile @@ -42,6 +46,7 @@ - PetsNT - Zombie - Revolutionary + - AllHostile - type: npcFaction id: SimpleNeutral @@ -54,6 +59,7 @@ - Xeno - PetsNT - Zombie + - AllHostile - type: npcFaction id: Xeno @@ -64,6 +70,7 @@ - PetsNT - Zombie - Revolutionary + - AllHostile - type: npcFaction id: Zombie @@ -75,6 +82,7 @@ - Passive - PetsNT - Revolutionary + - AllHostile - type: npcFaction id: Revolutionary @@ -83,3 +91,19 @@ - Zombie - SimpleHostile - Dragon + - AllHostile + +- type: npcFaction + id: AllHostile + hostile: + - NanoTrasen + - Dragon + - Mouse + - Passive + - PetsNT + - SimpleHostile + - SimpleNeutral + - Syndicate + - Xeno + - Zombie + - Revolutionary