mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-06 07:22:42 +00:00
Removes sleeping chems from clones and adds a consistent sleep period (+1 squashed commits)
Squashed commits: [2c002f9] Removes sleepy chems from cloning
This commit is contained in:
@@ -184,17 +184,9 @@
|
||||
//So clones don't die of oxyloss in a running pod.
|
||||
if(occupant.reagents.get_reagent_amount("inaprovaline") < 30)
|
||||
occupant.reagents.add_reagent("inaprovaline", 60)
|
||||
|
||||
//So clones will remain asleep for long enough to get them into cryo (Bay RP edit)
|
||||
if(occupant.reagents.get_reagent_amount("stoxin") < 10)
|
||||
occupant.reagents.add_reagent("stoxin", 5)
|
||||
if(occupant.reagents.get_reagent_amount("chloralhydrate") < 1)
|
||||
occupant.reagents.add_reagent("chloralhydrate", 1)
|
||||
|
||||
occupant.Sleeping(30)
|
||||
//Also heal some oxyloss ourselves because inaprovaline is so bad at preventing it!!
|
||||
occupant.adjustOxyLoss(-4)
|
||||
if(notoxin)
|
||||
occupant.adjustToxLoss(-2) // If sufficiently upgraded - remove toxin damage from chloral
|
||||
|
||||
use_power(7500) //This might need tweaking.
|
||||
return
|
||||
|
||||
5
html/changelogs/Yoshax-nomorechems.YML
Normal file
5
html/changelogs/Yoshax-nomorechems.YML
Normal file
@@ -0,0 +1,5 @@
|
||||
author: Yoshax
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- tweak: "Removes sleepy chems from being cloned, adds a consistent period of 30 tick sleep."
|
||||
Reference in New Issue
Block a user