up stimulants (no sleep) (#25886)
* up stimulants (no sleep) * Update SharedSleepingSystem.cs
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Content.Server.Bed.Sleep
|
||||
_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)
|
||||
|
||||
@@ -116,6 +116,13 @@
|
||||
damage:
|
||||
types:
|
||||
Poison: 1
|
||||
- !type:AdjustReagent
|
||||
conditions:
|
||||
- !type:ReagentThreshold
|
||||
reagent: ChloralHydrate
|
||||
min: 1
|
||||
reagent: ChloralHydrate
|
||||
amount: -10
|
||||
- !type:GenericStatusEffect
|
||||
key: Stun
|
||||
time: 3
|
||||
@@ -129,6 +136,10 @@
|
||||
component: StaminaModifier
|
||||
time: 3
|
||||
type: Add
|
||||
- !type:GenericStatusEffect
|
||||
key: ForcedSleep
|
||||
time: 3
|
||||
type: Remove
|
||||
Medicine:
|
||||
metabolismRate: 1.0
|
||||
effects:
|
||||
|
||||
Reference in New Issue
Block a user