mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
pushing runtimeing code for fox to look at
This commit is contained in:
@@ -19,8 +19,6 @@
|
||||
if(dir & (EAST|WEST)) //Facing east or west
|
||||
final_dir = pick(NORTH, SOUTH) //So you fall on your side rather than your face or ass
|
||||
|
||||
lying_prev = lying //so we don't try to animate until there's been another change.
|
||||
|
||||
if(resize != RESIZE_DEFAULT_SIZE)
|
||||
changed++
|
||||
ntransform.Scale(resize)
|
||||
|
||||
@@ -103,7 +103,6 @@
|
||||
|
||||
// Booleans
|
||||
var/resting = FALSE
|
||||
var/rest_CD = 0
|
||||
|
||||
/*
|
||||
STATUS EFFECTS
|
||||
|
||||
@@ -91,6 +91,10 @@
|
||||
update_transform()
|
||||
if(!delay_action_updates)
|
||||
update_action_buttons_icon()
|
||||
if(!lying && lying_prev)
|
||||
if(client)
|
||||
client.move_delay = world.time + movement_delay()
|
||||
lying_prev = lying
|
||||
return canmove
|
||||
|
||||
/mob/living/proc/update_stamina()
|
||||
|
||||
@@ -361,11 +361,9 @@ var/list/intents = list(I_HELP,I_DISARM,I_GRAB,I_HARM)
|
||||
set name = "Rest"
|
||||
set category = "IC"
|
||||
|
||||
if(!resting && (world.time > rest_CD))
|
||||
rest_CD = world.time + 20
|
||||
if(!resting)
|
||||
StartResting()
|
||||
else if(resting && (world.time > rest_CD))
|
||||
rest_CD = world.time + 20
|
||||
else if(resting)
|
||||
StopResting()
|
||||
|
||||
/proc/is_blind(A)
|
||||
|
||||
Reference in New Issue
Block a user