09-17-2023, 08:35 AM
Here are all the things pressing resist currently tries to do, in order of application, generally stopping once it matches a condition:
/mob/living/proc/resist()
1. remove glued item
2. attempt to get out of 'cage' containers: flock, pet_carrier
3. do a fire roll if burning
4. if laying in liquid, splash in it
5. struggle against grabs
6. stop being pulled
7. struggle against pins
8. unbuckle from chair
/mob/living/grab_self()
9. buckle into chair
10. unarmed blocking gets a grab/block item and the "blocking" status effect
/mob/living/proc/grab_block()
11. block with a held item
/mob/living/carbon/human/resist()
12. remove shackles
13. remove handcuffs
/mob/living/proc/resist()
1. remove glued item
2. attempt to get out of 'cage' containers: flock, pet_carrier
3. do a fire roll if burning
4. if laying in liquid, splash in it
5. struggle against grabs
6. stop being pulled
7. struggle against pins
8. unbuckle from chair
/mob/living/grab_self()
9. buckle into chair
10. unarmed blocking gets a grab/block item and the "blocking" status effect
/mob/living/proc/grab_block()
11. block with a held item
/mob/living/carbon/human/resist()
12. remove shackles
13. remove handcuffs