Merge pull request #7685 from Greenjoe12345/teshstuff-and-eyepatch

Teshari sprites and white eyepatch
This commit is contained in:
Atermonera
2020-09-26 13:57:34 -07:00
committed by GitHub
9 changed files with 34 additions and 0 deletions

View File

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

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB