mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
Teshari sprites additions and adjustments (#8869)
* teshsprites * more additions * oop * rdsheet fix * additional additions
This commit is contained in:
@@ -432,6 +432,7 @@
|
||||
var/brightness_on
|
||||
var/on = 0
|
||||
var/image/helmet_light
|
||||
var/allow_hair_toggle = TRUE
|
||||
|
||||
sprite_sheets = list(
|
||||
SPECIES_TESHARI = 'icons/mob/species/teshari/head.dmi',
|
||||
@@ -529,6 +530,23 @@
|
||||
var/mob/M = src.loc
|
||||
M.update_inv_head()
|
||||
|
||||
/obj/item/clothing/head/Initialize(mapload, material_key)
|
||||
. = ..()
|
||||
if(allow_hair_toggle)
|
||||
verbs += /obj/item/clothing/head/proc/toggle_block_hair
|
||||
|
||||
/obj/item/clothing/head/proc/toggle_block_hair()
|
||||
set name = "Toggle Hair Coverage"
|
||||
set category = "Object"
|
||||
|
||||
if(allow_hair_toggle)
|
||||
flags_inv ^= BLOCKHEADHAIR
|
||||
to_chat(usr, SPAN_NOTICE("[src] will now [flags_inv & BLOCKHEADHAIR ? "hide" : "show"] hair."))
|
||||
if(ishuman(usr))
|
||||
var/mob/living/carbon/human/H = usr
|
||||
H.update_hair()
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
//Mask
|
||||
/obj/item/clothing/mask
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
icon_state = "atmos_fire"
|
||||
sprite_sheets = list(
|
||||
SPECIES_TAJARAN = 'icons/mob/species/tajaran/helmet.dmi',
|
||||
SPECIES_UNATHI = 'icons/mob/species/unathi/helmet.dmi'
|
||||
SPECIES_UNATHI = 'icons/mob/species/unathi/helmet.dmi',
|
||||
SPECIES_TESHARI = 'icons/mob/species/teshari/head.dmi'
|
||||
)
|
||||
|
||||
/obj/item/clothing/head/hardhat/firefighter
|
||||
@@ -66,7 +67,8 @@
|
||||
flash_protection = FLASH_PROTECTION_MODERATE
|
||||
sprite_sheets = list(
|
||||
SPECIES_TAJARAN = 'icons/mob/species/tajaran/helmet.dmi',
|
||||
SPECIES_UNATHI = 'icons/mob/species/unathi/helmet.dmi'
|
||||
SPECIES_UNATHI = 'icons/mob/species/unathi/helmet.dmi',
|
||||
SPECIES_TESHARI = 'icons/mob/species/teshari/head.dmi'
|
||||
)
|
||||
|
||||
/obj/item/clothing/head/hardhat/firefighter/chief
|
||||
|
||||
@@ -341,7 +341,7 @@
|
||||
icon_state = "cowl"
|
||||
body_parts_covered = 0
|
||||
|
||||
/obj/item/clothing/head/cowl
|
||||
/obj/item/clothing/head/cowl/white
|
||||
name = "white cowl"
|
||||
desc = "A gold-lined white cowl. It gives off uncomfortable cult vibes, but fancy."
|
||||
icon_state = "whitecowl"
|
||||
@@ -366,7 +366,8 @@
|
||||
icon_state = "buckethat"
|
||||
icon_state = "buckethat"
|
||||
sprite_sheets = list(
|
||||
SPECIES_TAJARAN = 'icons/mob/species/tajaran/helmet.dmi'
|
||||
SPECIES_TAJARAN = 'icons/mob/species/tajaran/helmet.dmi',
|
||||
SPECIES_TESHARI = 'icons/mob/species/teshari/head.dmi'
|
||||
)
|
||||
|
||||
//Corporate Berets
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
preserve_item = 1
|
||||
flash_protection = FLASH_PROTECTION_MAJOR
|
||||
valid_accessory_slots = null
|
||||
allow_hair_toggle = FALSE
|
||||
|
||||
var/obj/machinery/camera/camera
|
||||
var/list/camera_networks
|
||||
|
||||
Reference in New Issue
Block a user