Skip to content

Commit

Permalink
faster stripping
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 17, 2023
1 parent 674121a commit 4e6ba72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions code/__DEFINES/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@
/// this is added to human skin tone to get value of pale_max variable
#define HUMAN_MAX_PALENESS 30

/// takes 40ds = 4s to strip someone.
#define HUMAN_STRIP_DELAY 40
#define POCKET_STRIP_DELAY 20
#define HUMAN_STRIP_DELAY 5
#define POCKET_STRIP_DELAY 5

///////////////////LIMB FLAGS///////////////////

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/inventory.dm
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@

/// Delay then gets + 0.5s per skill level, so long as not dead or cuffed.
if(!(target.stat || target.handcuffed))
target_delay += (target_skills * 5)
target_delay += (target_skills * 2)

/// Final result is overall delay * speed multiplier
return target_delay * user_speed
Expand Down

0 comments on commit 4e6ba72

Please sign in to comment.