mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +00:00
Merge pull request #11865 from Citadel-Station-13/kevinz000-patch-5
Shuffles resist embed higher up on the resist chain
This commit is contained in:
@@ -668,19 +668,22 @@
|
|||||||
resist_fire() //stop, drop, and roll
|
resist_fire() //stop, drop, and roll
|
||||||
// Give clickdelay
|
// Give clickdelay
|
||||||
return TRUE
|
return TRUE
|
||||||
|
|
||||||
if(resting) //cit change - allows resisting out of resting
|
if(resting) //cit change - allows resisting out of resting
|
||||||
resist_a_rest() // ditto
|
resist_a_rest() // ditto
|
||||||
// DO NOT GIVE CLCIKDELAY - resist_a_rest() handles spam prevention. Somewhat.
|
// DO NOT GIVE CLCIKDELAY - resist_a_rest() handles spam prevention. Somewhat.
|
||||||
return FALSE
|
return FALSE
|
||||||
if(last_special <= world.time)
|
|
||||||
resist_restraints() //trying to remove cuffs.
|
|
||||||
// DO NOT GIVE CLICKDELAY - last_special handles this.
|
|
||||||
return FALSE
|
|
||||||
if(CHECK_MOBILITY(src, MOBILITY_USE) && resist_embedded()) //Citadel Change for embedded removal memes - requires being able to use items.
|
if(CHECK_MOBILITY(src, MOBILITY_USE) && resist_embedded()) //Citadel Change for embedded removal memes - requires being able to use items.
|
||||||
// DO NOT GIVE DEFAULT CLICKDELAY - This is a combat action.
|
// DO NOT GIVE DEFAULT CLICKDELAY - This is a combat action.
|
||||||
changeNext_move(CLICK_CD_MELEE)
|
changeNext_move(CLICK_CD_MELEE)
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|
||||||
|
if(last_special <= world.time)
|
||||||
|
resist_restraints() //trying to remove cuffs.
|
||||||
|
// DO NOT GIVE CLICKDELAY - last_special handles this.
|
||||||
|
return FALSE
|
||||||
|
|
||||||
/// Proc to resist a grab. moving_resist is TRUE if this began by someone attempting to move. Return FALSE if still grabbed/failed to break out. Use this instead of resist_grab() directly.
|
/// Proc to resist a grab. moving_resist is TRUE if this began by someone attempting to move. Return FALSE if still grabbed/failed to break out. Use this instead of resist_grab() directly.
|
||||||
/mob/proc/attempt_resist_grab(moving_resist, forced, log = TRUE)
|
/mob/proc/attempt_resist_grab(moving_resist, forced, log = TRUE)
|
||||||
if(!pulledby) //not being grabbed
|
if(!pulledby) //not being grabbed
|
||||||
|
|||||||
Reference in New Issue
Block a user