]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Smart tomato pet (#31932)
authorRobDemo <88208745+MrRobDemo@users.noreply.github.com>
Thu, 12 Sep 2024 12:51:41 +0000 (15:51 +0300)
committerGitHub <noreply@github.com>
Thu, 12 Sep 2024 12:51:41 +0000 (14:51 +0200)
* SmartTomato

* Fix

* RemovingExtraLines

* Update Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Accents/full_replacements.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
* Update Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Locale/en-US/accent/accents.ftl
Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl
Resources/Prototypes/Accents/full_replacements.yml
Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml

index 301c589449d5b2d6a3ec99cb63e6ef9ef74509e6..f54cecf714759c65b6cff1d557cdd024dda21461 100644 (file)
@@ -124,3 +124,10 @@ accent-words-nymph-1 = Chirp!
 accent-words-nymph-2 = Churr...
 accent-words-nymph-3 = Cheep?
 accent-words-nymph-4 = Chrrup!
+
+# TomatoKiller
+accent-words-tomato-1 = Totato!
+accent-words-tomato-2 = Trotect
+accent-words-tomato-3 = Mastet?
+accent-words-tomato-4 = Reaty!
+accent-words-tomato-5 = Water...
\ No newline at end of file
index 457061308146f72ec1eb11445cae7dd4516623ba..77d2645c4c5ca4382ecf490e844d8aeb30bddb87 100644 (file)
@@ -306,3 +306,7 @@ ghost-role-information-pirate-captain-description = Argh matey! You are in charg
 
 ghost-role-information-artifact-name = Sentient Artifact
 ghost-role-information-artifact-description = Enact your eldritch whims. Forcibly activate your nodes for good or for evil.
+
+ghost-role-information-tomatokiller-name = Tomato killer
+ghost-role-information-tomatokiller-description = This little tomato will serve the botanist for the rest of his life... that is, a couple of minutes
+
index 1d1efdcad0e7e3e948699bf7728d082cb58825a9..f495de250fc1425b31c66a9a0dd39dafeb0a6711 100644 (file)
   - accent-words-nymph-2
   - accent-words-nymph-3
   - accent-words-nymph-4
+
+- type: accent
+  id: tomatoKiller
+  fullReplacements:
+  - accent-words-tomato-1
+  - accent-words-tomato-2
+  - accent-words-tomato-3
+  - accent-words-tomato-4
+  - accent-words-tomato-5
index 9f2f951662509322052dbefb17d49ce76097db86..f10d03886a583468e67b10382c07899237730787 100644 (file)
   name: tomato killer
   description: Looks like it's not you eating tomatoes today, it's the tomatoes eating you.
   components:
+  - type: GhostRole
+    prob: 0.05
+    makeSentient: true
+    allowSpeech: true
+    name: ghost-role-information-tomatokiller-name
+    description: ghost-role-information-tomatokiller-description
+    rules: ghost-role-information-familiar-rules
+    raffle:
+      settings: short
+  - type: GhostTakeoverAvailable
+  - type: CanEscapeInventory
+    baseResistTime: 3
+  - type: Reactive
+    groups:
+      Flammable: [ Touch ]
+      Extinguish: [ Touch ]
+    reactions:
+    - reagents: [ Water ]
+      methods: [ Touch ]
+      effects:
+      - !type:HealthChange
+        scaleByQuantity: true
+        damage:
+          groups:
+            Brute: -0.25
+    - reagents: [ Blood ]
+      methods: [ Touch ]
+      effects:
+      - !type:HealthChange
+        scaleByQuantity: true
+        damage:
+          groups:
+            Brute: -0.5
+            Burn: -0.5
+    - reagents: [ RobustHarvest ]
+      methods: [ Touch ]
+      effects:
+      - !type:HealthChange
+        scaleByQuantity: true
+        damage:
+          groups:
+            Brute: -2
+            Burn: -2
+  - type: ReplacementAccent
+    accent: tomatoKiller
   - type: Item
   - type: NpcFactionMember
     factions:
       types:
         Blunt: 0.11
   - type: StaticPrice
-    price: 400
+    price: 400
\ No newline at end of file