Skip to content

Commit

Permalink
Nerf tranquilizer shells (#1163)
Browse files Browse the repository at this point in the history
* Nerf tranquilizer shells

* reduced froced sleep times
  • Loading branch information
Leander-0 authored Apr 8, 2024
1 parent 1d748f8 commit a12a172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Content.Shared/Bed/Sleep/SharedSleepingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private void OnMapInit(EntityUid uid, SleepingComponent component, MapInitEvent
_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(5));

if (TryComp<AutoWakeUpComponent>(uid, out var autoWakeUp)) // Frontier
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@
ammo:
reagents:
- ReagentId: ChloralHydrate
Quantity: 7
Quantity: 4
- type: SolutionTransfer
maxTransferAmount: 7
maxTransferAmount: 4
- type: SpentAmmoVisuals
state: "practice"

Expand Down

0 comments on commit a12a172

Please sign in to comment.