* up stimulants (no sleep)
* Update SharedSleepingSystem.cs
_actionsSystem.AddAction(uid, ref component.WakeAction, WakeActionId, uid);
// TODO remove hardcoded time.
- _actionsSystem.SetCooldown(component.WakeAction, _gameTiming.CurTime, _gameTiming.CurTime + TimeSpan.FromSeconds(15));
+ _actionsSystem.SetCooldown(component.WakeAction, _gameTiming.CurTime, _gameTiming.CurTime + TimeSpan.FromSeconds(2f));
}
private void OnShutdown(EntityUid uid, SleepingComponent component, ComponentShutdown args)
damage:
types:
Poison: 1
+ - !type:AdjustReagent
+ conditions:
+ - !type:ReagentThreshold
+ reagent: ChloralHydrate
+ min: 1
+ reagent: ChloralHydrate
+ amount: -10
- !type:GenericStatusEffect
key: Stun
time: 3
component: StaminaModifier
time: 3
type: Add
+ - !type:GenericStatusEffect
+ key: ForcedSleep
+ time: 3
+ type: Remove
Medicine:
metabolismRate: 1.0
effects: