From 7b537a258d70f69785cef7fe25f79a782a41f238 Mon Sep 17 00:00:00 2001 From: "steinhauer.erhard" Date: Tue, 17 Sep 2024 20:06:42 +0300 Subject: [PATCH] flavour --- .../Locale/en-US/_NF/reagents/rockdust.ftl | 8 ++ .../Locale/en-US/_NF/reagents/shroommix.ftl | 8 ++ .../Prototypes/_NF/Reagents/biological.yml | 29 ++++- .../Prototypes/_NF/Reagents/narcotics.yml | 107 +++++++++++++++++- 4 files changed, 145 insertions(+), 7 deletions(-) create mode 100644 Resources/Locale/en-US/_NF/reagents/rockdust.ftl create mode 100644 Resources/Locale/en-US/_NF/reagents/shroommix.ftl diff --git a/Resources/Locale/en-US/_NF/reagents/rockdust.ftl b/Resources/Locale/en-US/_NF/reagents/rockdust.ftl new file mode 100644 index 00000000000..d2f919ca2de --- /dev/null +++ b/Resources/Locale/en-US/_NF/reagents/rockdust.ftl @@ -0,0 +1,8 @@ +rock-dust-effect-nf-pleasant-memories-01 = Cheerful memories whirl within your mind. +rock-dust-effect-nf-pleasant-memories-02 = Joyful recollections flood your thoughts. +rock-dust-effect-nf-pleasant-memories-03 = Happy moments flood your thoughts. +rock-dust-effect-nf-pleasant-memories-04 = You feel like diving deep into your mellow memories. + +rock-dust-effect-nf-tense-memories-01 = Somber memories stir in your mind. +rock-dust-effect-nf-tense-memories-02 = Gloomy recollections swirl within your consciousness. +rock-dust-effect-nf-tense-memories-03 = Grim thoughts resurface from the depths of your mind. diff --git a/Resources/Locale/en-US/_NF/reagents/shroommix.ftl b/Resources/Locale/en-US/_NF/reagents/shroommix.ftl new file mode 100644 index 00000000000..80daabcb35f --- /dev/null +++ b/Resources/Locale/en-US/_NF/reagents/shroommix.ftl @@ -0,0 +1,8 @@ +shroom-mix-effect-nf-procrastination-visions-01 = Visions of your incredible potential and grandeur flood your mind. +shroom-mix-effect-nf-procrastination-visions-02 = You see endless dance of colors! +shroom-mix-effect-nf-procrastination-visions-03 = Psychedelic whispers of the fungal realm invade your mind filling it with madness and wonder. +shroom-mix-effect-nf-procrastination-visions-04 = You feel how your brain becomes more.. Squishy? It is a good feeling. +shroom-mix-effect-nf-procrastination-visions-05 = A deluge of images cascades across the fabric of your brain-scape. +shroom-mix-effect-nf-procrastination-visions-06 = You see visions of most cunning plans in your enchanted goblin mind's eye. +shroom-mix-effect-nf-procrastination-visions-07 = Dancing colors show you the wildest contraptions and devices. +shroom-mix-effect-nf-procrastination-visions-08 = Chorus of singing shrooms sings to you about mind-bending machinery. \ No newline at end of file diff --git a/Resources/Prototypes/_NF/Reagents/biological.yml b/Resources/Prototypes/_NF/Reagents/biological.yml index 594d582c84f..d9b7d4c75af 100644 --- a/Resources/Prototypes/_NF/Reagents/biological.yml +++ b/Resources/Prototypes/_NF/Reagents/biological.yml @@ -1,4 +1,3 @@ - - type: reagent parent: Blood id: GoblinBlood @@ -10,13 +9,41 @@ recognizable: true physicalDesc: reagent-physical-desc-pungent slippery: false + footstepSound: + collection: FootstepBlood + params: + volume: 6 metabolisms: Drink: effects: + # Effects for non-goblins - !type:SatiateThirst factor: -0.5 + conditions: + - !type:OrganType + type: Goblin + shouldHave: false - !type:ChemVomit probability: 0.025 + conditions: + - !type:OrganType + type: Goblin + shouldHave: false - !type:GenericStatusEffect key: Stutter component: GoblinAccent + probability: 0.025 + type: Add + time: 30 + refresh: true + conditions: + - !type:OrganType + type: Goblin + shouldHave: false + # Effects for goblins + - !type:SatiateThirst + factor: 1 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true diff --git a/Resources/Prototypes/_NF/Reagents/narcotics.yml b/Resources/Prototypes/_NF/Reagents/narcotics.yml index bd1802d43b2..2d2757df3ae 100644 --- a/Resources/Prototypes/_NF/Reagents/narcotics.yml +++ b/Resources/Prototypes/_NF/Reagents/narcotics.yml @@ -9,14 +9,49 @@ metabolisms: Narcotic: effects: + # Effects for non-dwarfs - !type:Emote emote: Cough showInChat: true probability: 0.05 + conditions: + - !type:OrganType + type: Dwarf + shouldHave: false - !type:Emote emote: Gasp showInChat: true probability: 0.025 + conditions: + - !type:OrganType + type: Dwarf + shouldHave: false + # Effects for dwarfs + - !type:PopupMessage + type: Local + visualType: Medium + messages: + - "rock-dust-effect-nf-pleasant-memories-01" + - "rock-dust-effect-nf-pleasant-memories-02" + - "rock-dust-effect-nf-pleasant-memories-03" + - "rock-dust-effect-nf-pleasant-memories-04" + probability: 0.05 + conditions: + - !type:OrganType + type: Dwarf + shouldHave: true + - !type:PopupMessage + type: Local + visualType: Medium + messages: + - "rock-dust-effect-nf-tense-memories-01" + - "rock-dust-effect-nf-tense-memories-02" + - "rock-dust-effect-nf-tense-memories-03" + probability: 0.015 + conditions: + - !type:OrganType + type: Dwarf + shouldHave: true - type: reagent id: ShroomMix @@ -34,29 +69,89 @@ metabolisms: Narcotic: effects: + # Effects for goblins - !type:GenericStatusEffect key: SeeingRainbows component: SeeingRainbows type: Add - time: 26 - refresh: false + time: 15 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true - !type:Emote emote: Laugh showInChat: true probability: 0.08 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true - !type:Emote emote: GoblinMutter showInChat: true probability: 0.05 - - !type:Emote - emote: Scream - showInChat: true - probability: 0.04 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true - !type:Emote emote: Hiss showInChat: true probability: 0.025 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true + - !type:PopupMessage + type: Local + visualType: Medium + messages: + - "shroom-mix-effect-nf-procrastination-visions-01" + - "shroom-mix-effect-nf-procrastination-visions-02" + - "shroom-mix-effect-nf-procrastination-visions-03" + - "shroom-mix-effect-nf-procrastination-visions-04" + - "shroom-mix-effect-nf-procrastination-visions-05" + - "shroom-mix-effect-nf-procrastination-visions-06" + - "shroom-mix-effect-nf-procrastination-visions-07" + - "shroom-mix-effect-nf-procrastination-visions-08" + probability: 0.05 + conditions: + - !type:OrganType + type: Goblin + shouldHave: true + # Effects for everyone + - !type:Emote + emote: Scream + showInChat: true + probability: 0.01 - !type:Emote emote: Gasp showInChat: true probability: 0.03 + # Effects for non-goblins + - !type:Jitter + conditions: + - !type:ReagentThreshold + min: 1 + - !type:OrganType + type: Goblin + shouldHave: false + - !type:ChemVomit + probability: 0.025 + conditions: + - !type:OrganType + type: Goblin + shouldHave: false + - !type:SatiateThirst + factor: -1 # Makes non goblins thirsty, scales with reagent quantity (I think) + conditions: + - !type:OrganType + type: Goblin + shouldHave: false + - !type:SatiateHunger + factor: -1 # Makes non goblins hungry, scales with reagent quantity (I think) + conditions: + - !type:OrganType + type: Goblin + shouldHave: false