]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
All hostile turret (#33970)
authorCaptainMaru <124701378+CaptainMaru@users.noreply.github.com>
Fri, 20 Dec 2024 20:34:53 +0000 (01:34 +0500)
committerGitHub <noreply@github.com>
Fri, 20 Dec 2024 20:34:53 +0000 (23:34 +0300)
* All hostile turret

* Other factions are now hostile against "all hostile" too

Resources/Prototypes/Entities/Objects/Weapons/Guns/turrets.yml
Resources/Prototypes/ai_factions.yml

index de0e92dd671e24a28854506bb1865afea3be4746..8da72b49ae0f56908a0daafd7bc04f424e1e373f 100644 (file)
     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.
index 3dfb35c7a69000b0a3f95bd1aa32c456eddc76c2..0ed8b1eb65baefa8e36aec267c5933f243133c97 100644 (file)
@@ -7,6 +7,7 @@
     - PetsNT
     - Zombie
     - Revolutionary
+    - AllHostile
 
 - type: npcFaction
   id: NanoTrasen
   - 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
   - Zombie
   - SimpleHostile
   - Dragon
+  - AllHostile
+
+- type: npcFaction
+  id: AllHostile
+  hostile:
+  - NanoTrasen
+  - Dragon
+  - Mouse
+  - Passive
+  - PetsNT
+  - SimpleHostile
+  - SimpleNeutral
+  - Syndicate
+  - Xeno
+  - Zombie
+  - Revolutionary