mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-19 10:06:56 +01:00
Fixes srcs, srcs.
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
icon_state = "secjacket_open"
|
||||
item_state = "hos"
|
||||
body_parts_covered = UPPER_TORSO|LOWER_TORSO|ARMS
|
||||
armor = list(melee = 20, bullet = 10, laser = 20, energy = 5, bomb = 15, bio = 0, rad = 0)
|
||||
armor = list(melee = 15, bullet = 10, laser = 20, energy = 5, bomb = 15, bio = 0, rad = 0)
|
||||
cold_protection = UPPER_TORSO|LOWER_TORSO|ARMS
|
||||
heat_protection = UPPER_TORSO|LOWER_TORSO|ARMS
|
||||
ignore_suitadjust = 0
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
|
||||
/obj/item/clothing/suit/hooded/proc/ToggleHood()
|
||||
if(!suit_adjusted)
|
||||
if(ishuman(src.loc))
|
||||
var/mob/living/carbon/human/H = src.loc
|
||||
if(ishuman(loc))
|
||||
var/mob/living/carbon/human/H = loc
|
||||
if(H.wear_suit != src)
|
||||
to_chat(H,"<span class='warning'>You must be wearing [src] to put up the hood!</span>")
|
||||
return
|
||||
@@ -62,7 +62,7 @@
|
||||
return
|
||||
else if(H.equip_to_slot_if_possible(hood,slot_head,0,0,1))
|
||||
suit_adjusted = 1
|
||||
src.icon_state = "[initial(icon_state)]_hood"
|
||||
icon_state = "[initial(icon_state)]_hood"
|
||||
H.update_inv_wear_suit()
|
||||
else
|
||||
RemoveHood()
|
||||
|
||||
Reference in New Issue
Block a user