-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Very-Soft/glasses
big round glasses
- Loading branch information
Showing
6 changed files
with
64 additions
and
16 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
code/modules/client/preference_setup/loadout/loadout_eyes_rs.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/datum/gear/eyes/big_round | ||
display_name = "big round glasses selection" | ||
path = /obj/item/clothing/glasses/big_round | ||
|
||
/datum/gear/eyes/big_round/New() | ||
..() | ||
var/list/big_round_glasses = list() | ||
for(var/obj/item/clothing/glasses/big_round/glasses as anything in typesof(/obj/item/clothing/glasses/big_round)) | ||
big_round_glasses[initial(glasses.name)] = glasses | ||
gear_tweaks += new/datum/gear_tweak/path(sortAssoc(big_round_glasses)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/obj/item/clothing/glasses | ||
var/glasses_layer_above = FALSE | ||
|
||
|
||
/obj/item/clothing/glasses/big_round | ||
name = "big round blue glasses" | ||
desc = "A set of glasses! They are big, round, and very reflective, catching the light and obscuring the eyes!" | ||
icon = 'icons/inventory/eyes/item_rs.dmi' | ||
icon_override = 'icons/inventory/eyes/mob_rs.dmi' | ||
icon_state = "bigroundglasses" | ||
slot_flags = SLOT_EYES | SLOT_EARS | ||
glasses_layer_above = TRUE | ||
|
||
/obj/item/clothing/glasses/big_round/red | ||
name = "big round red glasses" | ||
icon_state = "bigroundglasses-red" | ||
/obj/item/clothing/glasses/big_round/magenta | ||
name = "big round magenta glasses" | ||
icon_state = "bigroundglasses-magenta" | ||
/obj/item/clothing/glasses/big_round/green | ||
name = "big round green glasses" | ||
icon_state = "bigroundglasses-green" | ||
/obj/item/clothing/glasses/big_round/gold | ||
name = "big round gold glasses" | ||
icon_state = "bigroundglasses-gold" | ||
/obj/item/clothing/glasses/big_round/cyan | ||
name = "big round cyan glasses" | ||
icon_state = "bigroundglasses-cyan" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters