mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 23:48:28 +01:00
Radiation Refactor (#15331)
* First Commit * visible radiation and engine goggles * correction * t-ray fix * further adjustments and fixups * gieger addition and cleaning fixup * yet more fixes * styling fixes * fixes * human glowing fix * do the merge conflict avoidance dance * Update supermatter.dm * supermatter rads * mapping in * radiation doors * yeah yeah line endings * clean up * styling issues * showers
This commit is contained in:
@@ -1426,22 +1426,22 @@ GLOBAL_LIST_INIT(slot_equipment_priority, list( \
|
||||
/mob/proc/set_nutrition(change)
|
||||
nutrition = max(0, change)
|
||||
|
||||
/mob/clean_blood(clean_hands = TRUE, clean_mask = TRUE, clean_feet = TRUE)
|
||||
/mob/clean_blood(radiation_clean = FALSE, clean_hands = TRUE, clean_mask = TRUE, clean_feet = TRUE)
|
||||
. = ..()
|
||||
if(bloody_hands && clean_hands)
|
||||
bloody_hands = 0
|
||||
update_inv_gloves()
|
||||
if(l_hand)
|
||||
if(l_hand.clean_blood())
|
||||
if(l_hand.clean_blood(radiation_clean))
|
||||
update_inv_l_hand()
|
||||
if(r_hand)
|
||||
if(r_hand.clean_blood())
|
||||
if(r_hand.clean_blood(radiation_clean))
|
||||
update_inv_r_hand()
|
||||
if(back)
|
||||
if(back.clean_blood())
|
||||
if(back.clean_blood(radiation_clean))
|
||||
update_inv_back()
|
||||
if(wear_mask && clean_mask)
|
||||
if(wear_mask.clean_blood())
|
||||
if(wear_mask.clean_blood(radiation_clean))
|
||||
update_inv_wear_mask()
|
||||
if(clean_feet)
|
||||
feet_blood_color = null
|
||||
|
||||
Reference in New Issue
Block a user