more work

This commit is contained in:
Metis
2024-09-13 01:50:58 -04:00
parent 8fd779ef02
commit 7b0780804f
320 changed files with 12185 additions and 161 deletions
+50
View File
@@ -0,0 +1,50 @@
/obj/item/clothing/head/zao
name = "zao police cap"
desc = "Zao Corps standard issue police force headwear, designed with the overcoat to help with the cold weather. The headwear also features a holographic projector, allowing itself to blend in with the user to create a better face to face interaction with civilians."
icon = 'hyperstation/icons/obj/clothing/head.dmi'
icon_state = "zaohat"
item_state = "helmet"
item_color = "zaohat"
alternate_worn_icon = 'hyperstation/icons/mobs/head.dmi'
armor = list("melee" = 40, "bullet" = 40, "laser" = 10,"energy" = 20, "bomb" = 30, "bio" = 0, "rad" = 0, "fire" = 20, "acid" = 60)
cold_protection = HEAD
min_cold_protection_temperature = FIRE_HELM_MIN_TEMP_PROTECT
strip_delay = 60
resistance_flags = FLAMMABLE
var/cloaked = 0
/obj/item/clothing/head/zao/dropped()
src.icon_state = "zaohat"
src.cloaked=0
..()
/obj/item/clothing/head/zao/verb/cloakcap()
set category = "Object"
set name = "Cloak hat"
cloak(usr)
/obj/item/clothing/head/zao/AltClick(mob/user)
. = ..()
if(!user.canUseTopic(src, BE_CLOSE, ismonkey(user)))
return
cloak(user)
return TRUE
/obj/item/clothing/head/zao/proc/cloak(mob/user)
if(!user.incapacitated())
src.cloaked = !src.cloaked
if(src.cloaked)
icon_state = "zaohat_active"
to_chat(user, "<span class='notice'>You toggle the hat\'s cloaking.</span>")
else
icon_state = "zaohat"
to_chat(user, "<span class='notice'>You reveal the hat again.</span>")
usr.update_inv_head() //so our mob-overlays update
/obj/item/clothing/head/zao/examine(mob/user)
. = ..()
. += "<span class='notice'>Alt-click the hat to toggle it\'s cloaking [cloaked ? "off" : "on"].</span>"
+32
View File
@@ -0,0 +1,32 @@
/obj/item/clothing/suit/toggle/zao
name = "zao overcoat"
desc = "Zao Corps signature navy-blue overcoat with a golden highlight finish. Found among police forces as the suit was designed with riot control in mind, it also serves as modest winter coat insulated padding inside."
icon = 'hyperstation/icons/obj/clothing/suits.dmi'
icon_state = "zaocoat"
item_state = "zaocoat"
item_color = "zaocoat"
alternate_worn_icon = 'hyperstation/icons/mobs/suits.dmi'
togglename = "zipper"
body_parts_covered = CHEST|ARMS|LEGS
cold_protection = CHEST|GROIN|LEGS|ARMS
min_cold_protection_temperature = FIRE_SUIT_MIN_TEMP_PROTECT
strip_delay = 70
equip_delay_other = 40
max_integrity = 250
resistance_flags = FLAMMABLE
armor = list("melee" = 25, "bullet" = 25, "laser" = 5, "energy" = 15, "bomb" = 15, "bio" = 0, "rad" = 0, "fire" = 10, "acid" = 30)
// armor = list("melee" = 50, "bullet" = 50, "laser" = 10, "energy" = 30, "bomb" = 30, "bio" = 0, "rad" = 0, "fire" = 20, "acid" = 60)
allowed = list(/obj/item/ammo_box,
/obj/item/ammo_casing,
/obj/item/flashlight,
/obj/item/storage/fancy/cigarettes,
/obj/item/gun/ballistic,
/obj/item/gun/energy,
/obj/item/lighter,
/obj/item/melee/baton,
/obj/item/melee/classic_baton/telescopic,
/obj/item/reagent_containers/spray/pepper,
/obj/item/restraints/handcuffs,
/obj/item/tank/internals/emergency_oxygen,
/obj/item/tank/internals/plasmaman,
/obj/item/toy) // Will be modifying/removing/adding more at a later date.
+8
View File
@@ -0,0 +1,8 @@
/obj/item/clothing/under/rank/security/zao
name = "zao uniform"
desc = "The standard-issue police force uniform of Zao Corp. Made with a more formal approach to a dress shirt attire while retaining the protective fibers and identity with the blue arm bands. Waistcoat encouraged."
icon = 'hyperstation/icons/obj/clothing/uniforms.dmi'
icon_state = "zaounder"
item_state = "zaounder"
item_color = "zaounder"
alternate_worn_icon = 'hyperstation/icons/mobs/uniforms.dmi'
+45
View File
@@ -0,0 +1,45 @@
/obj/item/clothing/glasses/hud/toggle/zao
name = "zao security visor"
desc = "A security visor from ZaoCorp designed to deploy and retract it's visor on a whim."
icon = 'hyperstation/icons/obj/clothing/glasses.dmi'
icon_state = "zaovisor"
item_state = "trayson-meson"
flash_protect = 1
tint = 1
flags_cover = GLASSESCOVERSEYES
visor_flags_cover = GLASSESCOVERSEYES
alternate_worn_icon = 'hyperstation/icons/mobs/eyes.dmi'
hud_type = DATA_HUD_SECURITY_ADVANCED
actions_types = list(/datum/action/item_action/switch_hud)
glass_colour_type = /datum/client_colour/glass_colour/lightyellow
/obj/item/clothing/glasses/hud/toggle/zao/attack_self(mob/user)
if(!ishuman(user))
return
var/mob/living/carbon/human/wearer = user
if (wearer.glasses != src)
return
if (hud_type)
var/datum/atom_hud/H = GLOB.huds[hud_type]
H.remove_hud_from(user)
if (hud_type == DATA_HUD_SECURITY_ADVANCED)
icon_state = "zaovisor_off"
item_state = "zaovisor_off"
hud_type = null
flash_protect = 0
tint = 0
change_glass_color(user, /datum/client_colour/glass_colour/white)
else
hud_type = DATA_HUD_SECURITY_ADVANCED
icon_state = "zaovisor"
item_state = "zaovisor"
flash_protect = 1
tint = 1
change_glass_color(user, /datum/client_colour/glass_colour/lightyellow)
if (hud_type)
var/datum/atom_hud/H = GLOB.huds[hud_type]
H.add_hud_to(user)
user.update_inv_glasses()