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:
Yoshax
2015-05-08 22:20:39 +01:00
parent 513579b8ac
commit 8f9fd29c5f
2 changed files with 6 additions and 9 deletions

View File

@@ -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

View 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."