ZaoCorp Part 1
50
hyperstation/code/obj/ZaoCorp/hat.dm
Normal 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 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>"
|
||||
18
hyperstation/code/obj/ZaoCorp/suit.dm
Normal file
@@ -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
|
||||
8
hyperstation/code/obj/ZaoCorp/uniform.dm
Normal 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. 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'
|
||||
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 648 B |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 15 KiB |
BIN
hyperstation/icons/mobs/uniform.dmi
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 874 B After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 4.3 KiB |
BIN
hyperstation/icons/obj/clothing/uniforms.dmi
Normal file
|
After Width: | Height: | Size: 378 B |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 87 KiB |
|
Before Width: | Height: | Size: 430 KiB After Width: | Height: | Size: 433 KiB |
|
Before Width: | Height: | Size: 336 KiB After Width: | Height: | Size: 337 KiB |
@@ -3171,6 +3171,9 @@
|
||||
#include "hyperstation\code\obj\sounding.dm"
|
||||
#include "hyperstation\code\obj\stargate_clothing.dm"
|
||||
#include "hyperstation\code\obj\vibrator.dm"
|
||||
#include "hyperstation\code\obj\ZaoCorp\hat.dm"
|
||||
#include "hyperstation\code\obj\ZaoCorp\suit.dm"
|
||||
#include "hyperstation\code\obj\ZaoCorp\uniform.dm"
|
||||
#include "interface\interface.dm"
|
||||
#include "interface\menu.dm"
|
||||
#include "interface\stylesheet.dm"
|
||||
|
||||