Teshari sprites additions and adjustments (#8869)
* teshsprites * more additions * oop * rdsheet fix * additional additions
@@ -18,6 +18,8 @@ LINEN BINS
|
||||
w_class = ITEMSIZE_SMALL
|
||||
drop_sound = 'sound/items/drop/clothing.ogg'
|
||||
pickup_sound = 'sound/items/pickup/clothing.ogg'
|
||||
sprite_sheets = list(
|
||||
SPECIES_TESHARI = 'icons/mob/species/teshari/back.dmi')
|
||||
|
||||
/obj/item/bedsheet/attack_self(mob/user as mob)
|
||||
user.drop_item()
|
||||
|
||||
@@ -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
|
||||
|
||||
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 136 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 5.2 KiB |