From 2c4ca381b67be0da0ceba4b7b0433a048a5f0293 Mon Sep 17 00:00:00 2001 From: CrigCrag <137215465+CrigCrag@users.noreply.github.com> Date: Sun, 13 Aug 2023 03:24:11 -0400 Subject: [PATCH] chemical elements metabolism updates (#18949) * Update elements.yml * Update gases.yml niteogen is an element * Update elements.yml just make chlorine 2u * fix le dumb mistake i added another metabolisms: * copper, mercury, lithium changes copper: very budget lead, does poison damage very slowly over time, not good enough to kill effectively but drinking a lot of it will poison you slowly over time, just like real copper poisoning! mercury: halved damage lithium: now vaguely simulates brain damage by very weakly poisoning you slowly and making you laugh and scream randomly while metabolizing. slower metab rates --- Resources/Prototypes/Reagents/elements.yml | 57 ++++++++++++++++++++-- Resources/Prototypes/Reagents/gases.yml | 6 +++ 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/Reagents/elements.yml b/Resources/Prototypes/Reagents/elements.yml index 618dea7c90..00c283ddb9 100644 --- a/Resources/Prototypes/Reagents/elements.yml +++ b/Resources/Prototypes/Reagents/elements.yml @@ -39,6 +39,13 @@ amount: -3 - !type:PlantAdjustHealth amount: -1 + metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Poison: 2 - type: reagent id: Copper @@ -50,6 +57,14 @@ color: "#b05b3c" boilingPoint: 2595.0 meltingPoint: 1083.0 + metabolisms: + Poison: + metabolismRate: 0.1 + effects: + - !type:HealthChange + damage: + types: + Poison: 0.1 - type: reagent id: Fluorine @@ -70,7 +85,14 @@ amount: -4 - !type:PlantAdjustHealth amount: -2 - + metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Caustic: 0.5 + Poison: 0.5 - type: reagent id: Gold name: reagent-name-gold @@ -130,6 +152,21 @@ color: "#c6c8cc" meltingPoint: 180.5 boilingPoint: 1330.0 + metabolisms: + Poison: + metabolismRate: 0.1 + effects: + - !type:HealthChange + damage: + types: + Poison: 0.05 + - !type:Emote + emote: Scream + probability: 0.05 + - !type:Emote + emote: Laugh + probability: 0.05 + # TODO: cause confusion and some brain damage - type: reagent @@ -148,7 +185,7 @@ - !type:HealthChange damage: types: - Poison: 2 + Poison: 1 - type: reagent id: Potassium @@ -201,6 +238,13 @@ color: "#364266" boilingPoint: 3265.0 meltingPoint: 1414.0 + metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Poison: 1.5 - type: reagent id: Silver @@ -223,6 +267,13 @@ color: "#fff385" boilingPoint: 445.0 meltingPoint: 120.0 + metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Caustic: 0.1 - type: reagent id: Sodium @@ -272,4 +323,4 @@ flavor: metallic color: "#bababa" meltingPoint: 419.5 - boilingPoint: 907.0 \ No newline at end of file + boilingPoint: 907.0 diff --git a/Resources/Prototypes/Reagents/gases.yml b/Resources/Prototypes/Reagents/gases.yml index 3637beadea..f3f298a721 100644 --- a/Resources/Prototypes/Reagents/gases.yml +++ b/Resources/Prototypes/Reagents/gases.yml @@ -150,6 +150,12 @@ boilingPoint: -195.8 meltingPoint: -210.0 metabolisms: + Poison: + effects: + - !type:HealthChange + damage: + types: + Cold: 1 # liquid nitrogen is cold Gas: effects: - !type:Oxygenate