mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-09 15:05:38 +01:00
ZaoCorp Part 1
This commit is contained in:
@@ -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 toggle the hat back to it\'s original state.</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>"
|
||||
@@ -0,0 +1,18 @@
|
||||
/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 = "armor"
|
||||
item_color = "zaocoat"
|
||||
alternate_worn_icon = 'hyperstation/icons/mobs/suits.dmi'
|
||||
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 = null //For sword later
|
||||
@@ -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. Tie and waistcoat encouraged."
|
||||
icon = 'hyperstation/icons/obj/clothing/uniforms.dmi'
|
||||
icon_state = "zaounder"
|
||||
item_state = "r_suit"
|
||||
item_color = "zaounder"
|
||||
alternate_worn_icon = 'hyperstation/icons/mobs/uniform.dmi'
|
||||
Reference in New Issue
Block a user