From cf3f9476d8da3f7267a0ce4883c5676e6115715f Mon Sep 17 00:00:00 2001 From: Daylight <18598676+Daylight2@users.noreply.github.com> Date: Wed, 21 Dec 2022 18:42:34 +0200 Subject: [PATCH] Tape gags take longer to resist out of (#19874) * Refactors deciseconds into seconds, tape gag resist to 30 seconds * hal9000PR suggestion Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> * webedit formatting for the win * Update miscellaneous.dm * Autodoc Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> Co-authored-by: Charlie <69320440+hal9000PR@users.noreply.github.com> --- code/modules/clothing/masks/miscellaneous.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/clothing/masks/miscellaneous.dm b/code/modules/clothing/masks/miscellaneous.dm index 52f9fdb2d00..deaab74a23d 100644 --- a/code/modules/clothing/masks/miscellaneous.dm +++ b/code/modules/clothing/masks/miscellaneous.dm @@ -6,8 +6,9 @@ flags_cover = MASKCOVERSMOUTH w_class = WEIGHT_CLASS_SMALL gas_transfer_coefficient = 0.90 - put_on_delay = 20 - var/resist_time = 0 //deciseconds of how long you need to gnaw to get rid of the gag, 0 to make it impossible to remove + put_on_delay = 2 SECONDS + /// How long you need to gnaw to get rid of the gag, 0 to make it impossible to remove + var/resist_time = 0 SECONDS var/mute = MUZZLE_MUTE_ALL var/security_lock = FALSE // Requires brig access to remove 0 - Remove as normal var/locked = FALSE //Indicates if a mask is locked, should always start as 0. @@ -86,7 +87,7 @@ icon_state = "tapegag" item_state = null w_class = WEIGHT_CLASS_TINY - resist_time = 150 + resist_time = 30 SECONDS mute = MUZZLE_MUTE_MUFFLE flags = DROPDEL @@ -112,7 +113,7 @@ desc = "A muzzle designed to prevent biting." icon_state = "muzzle_secure" item_state = "muzzle_secure" - resist_time = 0 + resist_time = 0 SECONDS mute = MUZZLE_MUTE_NONE security_lock = TRUE locked = FALSE