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);
|
_actionsSystem.AddAction(uid, ref component.WakeAction, WakeActionId, uid);
|
||||||
|
|
||||||
// TODO remove hardcoded time.
|
// 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)
|
private void OnShutdown(EntityUid uid, SleepingComponent component, ComponentShutdown args)
|
||||||
|
|||||||
@@ -116,6 +116,13 @@
|
|||||||
damage:
|
damage:
|
||||||
types:
|
types:
|
||||||
Poison: 1
|
Poison: 1
|
||||||
|
- !type:AdjustReagent
|
||||||
|
conditions:
|
||||||
|
- !type:ReagentThreshold
|
||||||
|
reagent: ChloralHydrate
|
||||||
|
min: 1
|
||||||
|
reagent: ChloralHydrate
|
||||||
|
amount: -10
|
||||||
- !type:GenericStatusEffect
|
- !type:GenericStatusEffect
|
||||||
key: Stun
|
key: Stun
|
||||||
time: 3
|
time: 3
|
||||||
@@ -129,6 +136,10 @@
|
|||||||
component: StaminaModifier
|
component: StaminaModifier
|
||||||
time: 3
|
time: 3
|
||||||
type: Add
|
type: Add
|
||||||
|
- !type:GenericStatusEffect
|
||||||
|
key: ForcedSleep
|
||||||
|
time: 3
|
||||||
|
type: Remove
|
||||||
Medicine:
|
Medicine:
|
||||||
metabolismRate: 1.0
|
metabolismRate: 1.0
|
||||||
effects:
|
effects:
|
||||||
|
|||||||
Reference in New Issue
Block a user