Merge pull request #7685 from Greenjoe12345/teshstuff-and-eyepatch
Teshari sprites and white eyepatch
@@ -5,6 +5,16 @@
|
||||
slot = slot_glasses
|
||||
sort_category = "Glasses and Eyewear"
|
||||
|
||||
/datum/gear/eyes/eyepatchwhite
|
||||
display_name = "eyepatch (recolorable)"
|
||||
path = /obj/item/clothing/glasses/eyepatchwhite
|
||||
slot = slot_glasses
|
||||
sort_category = "Glasses and Eyewear"
|
||||
|
||||
/datum/gear/eyes/eyepatchwhite/New()
|
||||
..()
|
||||
gear_tweaks += gear_tweak_free_color_choice
|
||||
|
||||
/datum/gear/eyes/glasses
|
||||
display_name = "Glasses, prescription"
|
||||
path = /obj/item/clothing/glasses/regular
|
||||
|
||||
@@ -199,6 +199,30 @@ BLIND // can't see anything
|
||||
icon_state = initial(icon_state)
|
||||
update_clothing_icon()
|
||||
|
||||
/obj/item/clothing/glasses/eyepatchwhite
|
||||
name = "eyepatch"
|
||||
desc = "A simple eyepatch made of a strip of cloth tied around the head."
|
||||
icon_state = "eyepatch_white"
|
||||
item_state_slots = list(slot_r_hand_str = "blindfold", slot_l_hand_str = "blindfold")
|
||||
body_parts_covered = 0
|
||||
var/eye = null
|
||||
drop_sound = 'sound/items/drop/gloves.ogg'
|
||||
pickup_sound = 'sound/items/pickup/gloves.ogg'
|
||||
|
||||
/obj/item/clothing/glasses/eyepatchwhite/verb/switcheye()
|
||||
set name = "Switch Eyepatch"
|
||||
set category = "Object"
|
||||
set src in usr
|
||||
if(!istype(usr, /mob/living)) return
|
||||
if(usr.stat) return
|
||||
|
||||
eye = !eye
|
||||
if(eye)
|
||||
icon_state = "[icon_state]_1"
|
||||
else
|
||||
icon_state = initial(icon_state)
|
||||
update_clothing_icon()
|
||||
|
||||
/obj/item/clothing/glasses/monocle
|
||||
name = "monocle"
|
||||
desc = "Such a dapper eyepiece!"
|
||||
|
||||
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |