mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Merge pull request #6364 from Aurorablade/NerfsPowerNaps
Stop Dashing Waves
This commit is contained in:
@@ -140,12 +140,14 @@
|
||||
/mob/living/proc/StartResting(updating = 1)
|
||||
var/val_change = !resting
|
||||
resting = TRUE
|
||||
|
||||
if(updating && val_change)
|
||||
update_canmove()
|
||||
|
||||
/mob/living/proc/StopResting(updating = 1)
|
||||
var/val_change = !!resting
|
||||
resting = FALSE
|
||||
|
||||
if(updating && val_change)
|
||||
update_canmove()
|
||||
|
||||
|
||||
@@ -380,9 +380,16 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HARM)
|
||||
set name = "Rest"
|
||||
set category = "IC"
|
||||
|
||||
resting = !resting
|
||||
update_canmove()
|
||||
to_chat(src, "<span class='notice'>You are now [resting ? "resting" : "getting up"].</span>")
|
||||
if(world.time < client.move_delay)
|
||||
return
|
||||
|
||||
if(!resting)
|
||||
client.move_delay = world.time + 20
|
||||
to_chat(src, "<span class='notice'>You are now resting.</span>")
|
||||
StartResting()
|
||||
else if(resting)
|
||||
to_chat(src, "<span class='notice'>You are now getting up.</span>")
|
||||
StopResting()
|
||||
|
||||
/proc/is_blind(A)
|
||||
if(iscarbon(A))
|
||||
|
||||
Reference in New Issue
Block a user