mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 04:57:12 +01:00
Adds Tajaran Veil Clothing Racial Item (#7225)
* Initial commit Squashed * hideeyes * false changes * coverseyes
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
/datum/gear/racial
|
||||
sort_category = "Racial"
|
||||
subtype_path = /datum/gear/racial
|
||||
cost = 2
|
||||
|
||||
|
||||
/datum/gear/racial/tajciv
|
||||
display_name = "embroidered veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races."
|
||||
path = /obj/item/clothing/glasses/tajblind
|
||||
|
||||
/datum/gear/racial/tajsec
|
||||
display_name = "sleek veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races. This one has an in-built security HUD."
|
||||
path = /obj/item/clothing/glasses/hud/security/tajblind
|
||||
allowed_roles = list("Head of Security", "Warden", "Security Officer", "Security Pod Pilot", "Internal Affairs Agent", "Magistrate")
|
||||
|
||||
/datum/gear/racial/tajmed
|
||||
display_name = "lightweight veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races. This one has an in-built medical HUD."
|
||||
path = /obj/item/clothing/glasses/hud/health/tajblind
|
||||
allowed_roles = list("Chief Medical Officer", "Medical Doctor", "Chemist", "Psychiatrist", "Paramedic", "Virologist", "Brig Physician")
|
||||
|
||||
/datum/gear/racial/tajsci
|
||||
display_name = "hi-tech veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races."
|
||||
path = /obj/item/clothing/glasses/tajblind/sci
|
||||
allowed_roles = list("Scientist", "Research Director", "Robotocist")
|
||||
|
||||
/datum/gear/racial/tajeng
|
||||
display_name = "industrial veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races."
|
||||
path = /obj/item/clothing/glasses/tajblind/eng
|
||||
allowed_roles = list("Chief Engineer", "Station Engineer", "Mechanic", "Life Support Specialist")
|
||||
|
||||
/datum/gear/racial/tajcargo
|
||||
display_name = "khaki veil"
|
||||
description = "A common traditional nano-fiber veil worn by many Tajaran, It is rare and offensive to see it on other races. It is light and comfy!"
|
||||
path = /obj/item/clothing/glasses/tajblind/cargo
|
||||
allowed_roles = list("Quartermaster","Cargo Technician", "Miner")
|
||||
@@ -495,4 +495,46 @@
|
||||
else
|
||||
to_chat(user, "<span class='notice'>The eye winks at you and vanishes into the abyss, you feel really unlucky.</span>")
|
||||
qdel(src)
|
||||
..()
|
||||
..()
|
||||
|
||||
/obj/item/clothing/glasses/tajblind
|
||||
name = "embroidered veil"
|
||||
desc = "An Ahdominian made veil that allows the user to see while obscuring their eyes."
|
||||
icon_state = "tajblind"
|
||||
item_state = "tajblind"
|
||||
flags_cover = GLASSESCOVERSEYES
|
||||
actions_types = list(/datum/action/item_action/toggle)
|
||||
up = 0
|
||||
tint = 0
|
||||
|
||||
/obj/item/clothing/glasses/tajblind/eng
|
||||
name = "industrial veil"
|
||||
icon_state = "tajblind_engi"
|
||||
item_state = "tajblind_engi"
|
||||
|
||||
/obj/item/clothing/glasses/tajblind/sci
|
||||
name = "hi-tech veil"
|
||||
icon_state = "tajblind_sci"
|
||||
item_state = "tajblind_sci"
|
||||
|
||||
/obj/item/clothing/glasses/tajblind/cargo
|
||||
name = "khaki veil"
|
||||
icon_state = "tajblind_cargo"
|
||||
item_state = "tajblind_cargo"
|
||||
|
||||
/obj/item/clothing/glasses/tajblind/attack_self()
|
||||
toggle_veil()
|
||||
|
||||
/obj/item/clothing/glasses/proc/toggle_veil()
|
||||
if(usr.canmove && !usr.incapacitated())
|
||||
if(up)
|
||||
up = !up
|
||||
tint = initial(tint)
|
||||
to_chat(usr, "You activate [src], allowing you to see.")
|
||||
else
|
||||
up = !up
|
||||
tint = 3
|
||||
to_chat(usr, "You deactivate [src], obscuring your vision.")
|
||||
var/mob/living/carbon/user = usr
|
||||
user.update_tint()
|
||||
user.update_inv_glasses()
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
|
||||
/obj/item/clothing/glasses/hud/equipped(mob/living/carbon/human/user, slot)
|
||||
..()
|
||||
if(HUDType && slot == slot_glasses)
|
||||
var/datum/atom_hud/H = huds[HUDType]
|
||||
H.add_hud_to(user)
|
||||
@@ -133,4 +134,28 @@
|
||||
item_state = "glasses"
|
||||
darkness_view = 8
|
||||
invis_view = SEE_INVISIBLE_MINIMUM //don't render darkness while wearing these
|
||||
prescription_upgradable = 0
|
||||
prescription_upgradable = 0
|
||||
|
||||
/obj/item/clothing/glasses/hud/security/tajblind
|
||||
name = "sleek veil"
|
||||
desc = "An Ahdominian made veil that allows the user to see while obscuring their eyes. This one has an in-built security HUD."
|
||||
icon_state = "tajblind_sec"
|
||||
item_state = "tajblind_sec"
|
||||
flags_cover = GLASSESCOVERSEYES
|
||||
actions_types = list(/datum/action/item_action/toggle)
|
||||
up = 0
|
||||
|
||||
/obj/item/clothing/glasses/hud/security/tajblind/attack_self()
|
||||
toggle_veil()
|
||||
|
||||
/obj/item/clothing/glasses/hud/health/tajblind
|
||||
name = "lightweight veil"
|
||||
desc = "An Ahdominian made veil that allows the user to see while obscuring their eyes. This one has an installed medical HUD."
|
||||
icon_state = "tajblind_med"
|
||||
item_state = "tajblind_med"
|
||||
flags_cover = GLASSESCOVERSEYES
|
||||
actions_types = list(/datum/action/item_action/toggle)
|
||||
up = 0
|
||||
|
||||
/obj/item/clothing/glasses/hud/health/tajblind/attack_self()
|
||||
toggle_veil()
|
||||
Reference in New Issue
Block a user