Buffs the Vox

This commit is contained in:
Anewbe
2018-08-31 22:58:25 -05:00
parent f2ac530c24
commit 08ddd217a8
7 changed files with 24 additions and 13 deletions

View File

@@ -58,14 +58,29 @@
siemens_coefficient = 0.7
body_parts_covered = FACE|EYES
// Vox mask, has special code for eating
/obj/item/clothing/mask/gas/swat/vox
name = "\improper alien mask"
desc = "Clearly not designed for a human face."
body_parts_covered = 0 //Hack to allow vox to eat while wearing this mask.
item_flags = BLOCK_GAS_SMOKE_EFFECT | AIRTIGHT | PHORONGUARD
phoronproof = 1
species_restricted = list(SPECIES_VOX)
filtered_gases = list("oxygen", "sleeping_agent")
var/mask_open = FALSE // Controls if the Vox can eat through this mask
action_button_name = "Toggle Feeding Port"
/obj/item/clothing/mask/gas/swat/vox/proc/feeding_port(mob/user)
if(user.canmove && !user.stat)
mask_open = !mask_open
if (mask_open)
body_parts_covered = body_parts_covered & ~FACE
to_chat(user, "Your mask moves to allow you to eat.")
else
body_parts_covered = initial(body_parts_covered)
to_chat(user, "Your mask moves to cover your mouth.")
/obj/item/clothing/mask/gas/swat/vox/attack_self(mob/user)
feeding_port(user)
/obj/item/clothing/mask/gas/syndicate
name = "tactical mask"