Allows riot helmets to toggle their visor and more sprite related changes (#3506)

-ports riot helmet sprite and toggle visor verb from polaris at people's request
-port the balaclava verb that allows you to roll it up and down from bay
-fixes #3176 and adds the paramedic rig sprites for the tajaran suit
This commit is contained in:
Alberyk
2017-09-26 19:12:31 -03:00
committed by Lohikar
parent ee686e9276
commit 9ff1ad84d7
11 changed files with 34 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
armor = list(melee = 65, bullet = 30, laser = 50, energy = 10, bomb = 25, bio = 0, rad = 0)
flags_inv = HIDEEARS
body_parts_covered = 0
/obj/item/clothing/head/helmet/HoS/dermal
name = "dermal armour patch"
desc = "You're not quite sure how you manage to take it on and off, but it implants nicely in your head."
@@ -63,6 +63,21 @@
body_parts_covered = HEAD|FACE|EYES //face shield
armor = list(melee = 80, bullet = 20, laser = 25, energy = 10, bomb = 0, bio = 0, rad = 0)
flags_inv = HIDEEARS
action_button_name = "Toggle Visor"
/obj/item/clothing/head/helmet/riot/attack_self(mob/user as mob)
if (use_check(user))
return
if(src.icon_state == initial(icon_state))
src.icon_state = "[icon_state]-up"
user << "You raise the visor on \the [src]."
body_parts_covered = HEAD
else
src.icon_state = initial(icon_state)
user << "You lower the visor on \the [src]."
body_parts_covered = HEAD|FACE|EYES
update_clothing_icon()
/obj/item/clothing/head/helmet/ablative
name = "ablative helmet"

View File

@@ -6,14 +6,29 @@
flags_inv = HIDEFACE|BLOCKHAIR
body_parts_covered = FACE|HEAD
w_class = 2
action_button_name = "Toggle Face Concealing"
/obj/item/clothing/mask/balaclava/attack_self(mob/user as mob)
if (use_check(user))
return
if(src.icon_state == initial(icon_state))
src.icon_state = "[icon_state]_r"
user << "You roll up \the [src]."
body_parts_covered = HEAD
flags_inv = BLOCKHAIR
else
src.icon_state = initial(icon_state)
user << "You lower \the [src]."
flags_inv = HIDEFACE|BLOCKHAIR
body_parts_covered = HEAD|FACE|EYES
update_clothing_icon()
/obj/item/clothing/mask/balaclava/tactical
name = "green balaclava"
desc = "Designed to both hide identities and keep your face comfy and warm."
icon_state = "swatclava"
item_state = "balaclava"
flags_inv = HIDEFACE|BLOCKHAIR
w_class = 2
/obj/item/clothing/mask/luchador
name = "luchador mask"