]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Factions for animals (#16013)
authorNim <128169402+Nimfar11@users.noreply.github.com>
Wed, 3 May 2023 12:47:17 +0000 (15:47 +0300)
committerGitHub <noreply@github.com>
Wed, 3 May 2023 12:47:17 +0000 (22:47 +1000)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Resources/Prototypes/Entities/Mobs/NPCs/pets.yml
Resources/Prototypes/Entities/Mobs/Player/familiars.yml
Resources/Prototypes/ai_factions.yml

index e873e508e73520fcf1ab09c10b99bc932a69b18c..fa5b72ebbd953981a40eb2a2f2ea16dc0862d73b 100644 (file)
     flavorKind: station-event-random-sentience-flavor-organic
   - type: Puller
     needsHands: true
+  - type: Faction
+    factions:
+    - Passive
 
 - type: entity
   name: mallard duck #Quack
     accent: duck
   - type: SentienceTarget
     flavorKind: station-event-random-sentience-flavor-organic
+  - type: Faction
+    factions:
+    - Passive
 
 - type: entity
   name: white duck #Quack
       path: /Audio/Animals/cow_moo.ogg
   - type: Perishable
     molsPerSecondPerUnitMass: 0.0015
-
+  - type: Faction
+    factions:
+    - Passive
 
 - type: entity
   name: crab
     interactFailureString: petting-failure-goat
     interactSuccessSound:
       path: /Audio/Animals/goat_bah.ogg
+  - type: Faction
+    factions:
+    - Passive
 
 # Note that we gotta make this bitch vomit someday when you feed it anthrax or sumthin. Needs to be a small item thief too and aggressive if attacked.
 - type: entity
   - type: Bloodstream
     bloodMaxVolume: 100
   - type: Puller
+  - type: Faction
+    factions:
+    - Passive
 
 - type: entity
   name: gorilla
   - type: MonkeyAccent
   - type: Puller
   - type: CanHostGuardian
+  - type: Faction
+    factions:
+    - Passive
   - type: GhostRole
     makeSentient: true
     name: monkey
     interactFailureString: petting-failure-generic
     interactSuccessSound:
       path: /Audio/Animals/penguin_squawk.ogg
+  - type: Faction
+    factions:
+    - Passive
 
 - type: entity
   name: grenade penguin
     accent: pig
   - type: SentienceTarget
     flavorKind: station-event-random-sentience-flavor-organic
+  - type: Faction
+    factions:
+    - Passive
index b37a167abe38c582ac2f196038f8670d1af3cfe0..825067a68819a8b81e29d7dbbcfe2a8a5a377fb6 100644 (file)
   parent: MobCatCalico
   description: Ask nicely, and maybe they'll give you one of their spare lives.
   components:
+  - type: Faction
+    factions:
+      - PetsNT
   - type: Grammar
     attributes:
       gender: male
index d4e7c5f47c08819b1e2ab4c45a16da7de572a637..4325278c25f73f5d5d98f13f584d54f9eeef99e1 100644 (file)
@@ -24,6 +24,9 @@
     - Chapel
   - type: Mind
     showExamineInfo: true
+  - type: Faction
+    factions:
+    - PetsNT
   - type: Alerts
   - type: Familiar
 
index ffa527257dfb1615f3e66cfb0649a666cc67330d..e9b4709f2b9ad722275fc631d463621091141c7f 100644 (file)
@@ -4,6 +4,7 @@
     - NanoTrasen
     - Syndicate
     - Xeno
+    - PetsNT
 
 - type: faction
   id: NanoTrasen
@@ -17,6 +18,9 @@
   hostile:
     - PetsNT
 
+- type: faction
+  id: Passive
+
 - type: faction
   id: PetsNT
   hostile:
@@ -29,6 +33,8 @@
   hostile:
   - NanoTrasen
   - Syndicate
+  - Passive
+  - PetsNT
 
 - type: faction
   id: SimpleNeutral
   - NanoTrasen
   - SimpleHostile
   - Xeno
+  - PetsNT
 
 - type: faction
   id: Xeno
   hostile:
   - NanoTrasen
   - Syndicate
+  - Passive
+  - PetsNT