From: RobDemo <88208745+MrRobDemo@users.noreply.github.com> Date: Thu, 12 Sep 2024 12:51:41 +0000 (+0300) Subject: Smart tomato pet (#31932) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b36efce3b1cb31c6e5b994a8d088fc63b1484f43;p=space-station-14.git Smart tomato pet (#31932) * 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> --- diff --git a/Resources/Locale/en-US/accent/accents.ftl b/Resources/Locale/en-US/accent/accents.ftl index 301c589449..f54cecf714 100644 --- a/Resources/Locale/en-US/accent/accents.ftl +++ b/Resources/Locale/en-US/accent/accents.ftl @@ -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 diff --git a/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl b/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl index 4570613081..77d2645c4c 100644 --- a/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl +++ b/Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl @@ -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 + diff --git a/Resources/Prototypes/Accents/full_replacements.yml b/Resources/Prototypes/Accents/full_replacements.yml index 1d1efdcad0..f495de250f 100644 --- a/Resources/Prototypes/Accents/full_replacements.yml +++ b/Resources/Prototypes/Accents/full_replacements.yml @@ -174,3 +174,12 @@ - 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 diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml b/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml index 9f2f951662..f10d03886a 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/miscellaneous.yml @@ -79,6 +79,51 @@ 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: @@ -175,4 +220,4 @@ types: Blunt: 0.11 - type: StaticPrice - price: 400 + price: 400 \ No newline at end of file