Teshari sprites additions and adjustments (#8869)

* teshsprites

* more additions

* oop

* rdsheet fix

* additional additions
This commit is contained in:
Greenjoe12345
2023-01-15 19:02:31 +00:00
committed by GitHub
parent caf0aa9421
commit 83eaaa0a4f
16 changed files with 28 additions and 4 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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