Merge pull request #1421 from Chemlight/ZaoCorp

Zao Corp part 1.1(?)
This commit is contained in:
Dahlular
2021-10-13 08:23:06 -06:00
committed by GitHub
14 changed files with 73 additions and 3 deletions
+5
View File
@@ -89,6 +89,9 @@
/datum/client_colour/glass_colour/yellow
colour = "#ffff66"
/datum/client_colour/glass_colour/lightyellow
colour = "#ffffdd"
/datum/client_colour/glass_colour/red
colour = "#ffaaaa"
@@ -107,6 +110,8 @@
/datum/client_colour/glass_colour/gray
colour = "#cccccc"
/datum/client_colour/glass_colour/white
colour = "#ffffff" // Just to force an action where there is no shade.
/datum/client_colour/monochrome
colour = list(rgb(77,77,77), rgb(150,150,150), rgb(28,28,28), rgb(0,0,0))
+1 -1
View File
@@ -42,7 +42,7 @@
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>")
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)
+15 -1
View File
@@ -6,6 +6,7 @@
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
@@ -15,4 +16,17 @@
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
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.
+1 -1
View File
@@ -1,6 +1,6 @@
/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."
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"
+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()
Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 B

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 378 B

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 70 KiB

@@ -255,3 +255,8 @@
path = /obj/item/toy/plush/mammal/chemlight
ckeywhitelist = list("chemlight")
//Done with that.
/datum/gear/waistcoat
name = "Waistcoat"
category = SLOT_IN_BACKPACK
path = /obj/item/clothing/accessory/waistcoat
Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 KiB

After

Width:  |  Height:  |  Size: 337 KiB

+1
View File
@@ -3174,6 +3174,7 @@
#include "hyperstation\code\obj\ZaoCorp\hat.dm"
#include "hyperstation\code\obj\ZaoCorp\suit.dm"
#include "hyperstation\code\obj\ZaoCorp\uniform.dm"
#include "hyperstation\code\obj\ZaoCorp\visor.dm"
#include "interface\interface.dm"
#include "interface\menu.dm"
#include "interface\stylesheet.dm"