]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix the ethanol guidebook entry (#41192)
authorrumaks <me@rumaks.xyz>
Thu, 30 Oct 2025 20:41:13 +0000 (20:41 +0000)
committerGitHub <noreply@github.com>
Thu, 30 Oct 2025 20:41:13 +0000 (20:41 +0000)
change liver metabolism rate to 1

Resources/Prototypes/Body/Organs/Animal/animal.yml
Resources/Prototypes/Body/Organs/Animal/slimes.yml
Resources/Prototypes/Body/Organs/arachnid.yml
Resources/Prototypes/Body/Organs/diona.yml
Resources/Prototypes/Body/Organs/human.yml
Resources/Prototypes/Body/Organs/slime.yml
Resources/Prototypes/Reagents/Consumable/Drink/alcohol.yml

index 4aa14a440dc9bafb724a4634e8dd22d20d3171fb..152c4c4112cf09f6c87885c9b7ae4b893eb84b69 100644 (file)
     metabolizerTypes: [ Animal ]
     groups:
     - id: Alcohol
-      rateModifier: 0.1
   - type: Item
     size: Small
     heldPrefix: liver
index c3e1965c06c53b9f71b172d89aae68b75ef9ddd1..0c72945c7ad2d9e6df224b2e23beef1b05a2acbc 100644 (file)
@@ -19,7 +19,7 @@
         - id: Poison
         - id: Narcotic
         - id: Alcohol
-          rateModifier: 0.2
+          rateModifier: 2
     - type: SolutionContainerManager
       solutions:
         stomach:
index 129c06a688bb81f25a192dfcdc52143953921fbc..337ead6e09d9a95da84ecf2a30c1fa93aa33e97b 100644 (file)
     metabolizerTypes: [Animal]
     groups:
     - id: Alcohol
-      rateModifier: 0.1 # removes alcohol very slowly along with the stomach removing it as a drink
 
 - type: entity
   id: OrganArachnidKidneys
index cf8e2d0c0a22bacd31c321e3a6f1645d20c69828..81cee7c442f62041c9f9f3083a40d123cac6e7c4 100644 (file)
@@ -92,7 +92,6 @@
       - id: Poison
       - id: Narcotic
       - id: Alcohol
-        rateModifier: 0.1
   - type: Item
     size: Small
     heldPrefix: stomach
index 4d7a077d4e04ac014c27b3297a66cc881ecbaad2..4ac5faf67bc945fa7e32b2de4793eb19ec82d7b3 100644 (file)
     metabolizerTypes: [Human]
     groups:
     - id: Alcohol
-      rateModifier: 0.1 # removes alcohol very slowly along with the stomach removing it as a drink
 
 - type: entity
   id: OrganHumanKidneys
index ca22d25423c82c30fd7150b8554a6673ec16fd56..7f1a96a7f058ecdce4d236722657db3067163807 100644 (file)
@@ -19,7 +19,7 @@
         - id: Poison
         - id: Narcotic
         - id: Alcohol
-          rateModifier: 0.25
+          rateModifier: 2.5
     - type: SolutionContainerManager
       solutions:
         stomach:
@@ -37,7 +37,7 @@
       size: Small
       heldPrefix: brain
 
-      
+
 - type: entity
   id: OrganSlimeLungs
   parent: BaseHumanOrgan
index 3e35837dda0890c369292b7fb527919cabc9fef4..f25dee1391a7424398cede06d1fa7730ccbd7b74 100644 (file)
   meltingPoint: -114.1
   metabolisms:
     Alcohol:
+      metabolismRate: 0.05
       effects:
       - !type:HealthChange
         conditions:
           inverted: true
         damage:
           types:
-            Poison: 1
+            Poison: 0.1
       # dwarves take less toxin damage and heal a marginal amount of brute
       - !type:HealthChange
         conditions:
           type: [ Dwarf ]
         damage:
           types:
-            Poison: 0.2
+            Poison: 0.02
       - !type:HealthChange
         conditions:
         - !type:ReagentCondition
           type: [ Dwarf ]
         damage:
           groups:
-            Brute: -1
+            Brute: -0.1
       - !type:Vomit
         probability: 0.04
         conditions:
           type: [ Dwarf ]
           inverted: true
       - !type:Drunk
-        boozePower: 20
+        boozePower: 2
 
 - type: reagent
   id: Gin
         reagent: Ethanol
         amount: 0.45 # TODO: Figure out why setting this to 0 means this does more damage... WHAT BUG IS THIS?!!
     Alcohol:
+      metabolismRate : 0.05
       effects:
       - !type:Drunk
         boozePower: 10
           inverted: true
         damage:
           types:
-            Poison: 2 # TODO: Figure out poison amount. Ethanol does 1, this does 2 but also metabolises almost 3 to 4 times as fast as ethanol. This would be more Liver damage when that time arrives.
+            Poison: 0.2 # TODO: Figure out poison amount. Ethanol does 0.1, this does 0.2 but also metabolises almost 3 to 4 times as fast as ethanol. This would be more Liver damage when that time arrives.
       - !type:HealthChange
         conditions:
         - !type:ReagentCondition
           type: [Dwarf]
         damage:
           types:
-            Poison: 0.4 # TODO: Might increase this, even though it's just double of ethanol from 0.2 to 0.4
+            Poison: 0.04 # TODO: Might increase this, even though it's just double of ethanol from 0.02 to 0.04
       - !type:Vomit
         probability: 0.1 #TODO: Tweak vomit probability, maybe make this more violent and poisonous but the body aggressively purges it...
         conditions: