mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-11 07:59:08 +01:00
Fuck monochrome, polychrome is now the deal
This commit is contained in:
@@ -55,16 +55,6 @@
|
||||
alternate_worn_icon = 'modular_citadel/icons/mob/citadel/suit.dmi'
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
|
||||
|
||||
/obj/item/clothing/suit/kaminacape
|
||||
name = "Kamina's Cape"
|
||||
desc = "Don't believe in yourself, dumbass. Believe in me. Believe in the Kamina who believes in you."
|
||||
icon_state = "kaminacape"
|
||||
body_parts_covered = 0
|
||||
icon = 'modular_citadel/icons/obj/clothing/vg_clothes.dmi'
|
||||
alternate_worn_icon = 'modular_citadel/icons/mob/citadel/suit.dmi'
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
|
||||
/obj/item/clothing/suit/officercoat
|
||||
name = "Officer's Coat"
|
||||
desc = "Ein Mantel gemacht, um die Juden zu bestrafen."
|
||||
@@ -75,7 +65,7 @@
|
||||
|
||||
/obj/item/clothing/suit/soldiercoat
|
||||
name = "Soldier's Coat"
|
||||
desc = "Und das heißt: Erika."
|
||||
desc = "Und das hei�t: Erika."
|
||||
icon_state = "soldiersuit"
|
||||
body_parts_covered = CHEST|GROIN|LEGS|ARMS|HANDS
|
||||
icon = 'modular_citadel/icons/obj/clothing/vg_clothes.dmi'
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
/datum/gear/glasses/garb
|
||||
name = "polychromic gar glasses"
|
||||
category = SLOT_GLASSES
|
||||
path = /obj/item/clothing/glasses/polychromic/garpoly
|
||||
cost = 2
|
||||
|
||||
/datum/gear/glasses/gigagarb
|
||||
name = "polychromic giga gar glasses"
|
||||
category = SLOT_GLASSES
|
||||
path = /obj/item/clothing/glasses/polychromic/supergarpoly
|
||||
cost = 2
|
||||
@@ -0,0 +1,41 @@
|
||||
//Archie was here
|
||||
|
||||
/obj/item/clothing/glasses/polychromic
|
||||
name = "polychromic glasses template"
|
||||
desc = "You shouldn't be seeing this. Report it if you do."
|
||||
icon = 'hyperstation/icons/obj/clothing/glasses.dmi'
|
||||
icon_state = "polygar"
|
||||
item_color = "polygar"
|
||||
item_state = "polygar"
|
||||
alternate_worn_icon = 'hyperstation/icons/mob/eyes.dmi' //Because, as it appears, the item itself is normally not directly aware of its worn overlays, so this is about the easiest way, without adding a new var.
|
||||
hasprimary = TRUE
|
||||
primary_color = "#0c0c0c"
|
||||
vision_correction = 1
|
||||
|
||||
/obj/item/clothing/glasses/polychromic/worn_overlays(isinhands, icon_file) //this is where the main magic happens. Also mandates that ALL polychromic stuff MUST USE alternate_worn_icon
|
||||
. = ..()
|
||||
if(hasprimary | hassecondary | hastertiary)
|
||||
if(!isinhands) //prevents the worn sprites from showing up if you're just holding them
|
||||
if(hasprimary) //checks if overlays are enabled
|
||||
var/mutable_appearance/primary_worn = mutable_appearance(alternate_worn_icon, "[item_color]-primary") //automagical sprite selection
|
||||
primary_worn.color = primary_color //colors the overlay
|
||||
. += primary_worn //adds the overlay onto the buffer list to draw on the mob sprite.
|
||||
if(hassecondary)
|
||||
var/mutable_appearance/secondary_worn = mutable_appearance(alternate_worn_icon, "[item_color]-secondary")
|
||||
secondary_worn.color = secondary_color
|
||||
. += secondary_worn
|
||||
if(hastertiary)
|
||||
var/mutable_appearance/tertiary_worn = mutable_appearance(alternate_worn_icon, "[item_color]-tertiary")
|
||||
tertiary_worn.color = tertiary_color
|
||||
. += tertiary_worn
|
||||
|
||||
/obj/item/clothing/glasses/polychromic/garpoly
|
||||
name = "polychromic gar glasses"
|
||||
desc = "Go beyond impossible and kick reason to the curb! Doesn't seem to have flash protection and doesn't seem sharp either. It is made out of bluespace prescription glass though."
|
||||
|
||||
/obj/item/clothing/glasses/polychromic/supergarpoly
|
||||
name = "polychromic giga gar glasses"
|
||||
desc = "Believe in the you who believes in yourself. Also doesn't seem to have flash protection and doesn't seem sharp either. It is made out of bluespace prescription glass though."
|
||||
icon_state = "polysupergar"
|
||||
item_color = "polysupergar"
|
||||
item_state = "polysupergar"
|
||||
@@ -0,0 +1,9 @@
|
||||
/obj/item/clothing/suit/kaminacape
|
||||
name = "Kamina's Cape"
|
||||
desc = "Don't believe in yourself, dumbass. Believe in me. Believe in the Kamina who believes in you."
|
||||
icon_state = "kaminacape"
|
||||
item_state = "kaminacape"
|
||||
body_parts_covered = 0
|
||||
icon = 'hyperstation/icons/obj/clothing/suits.dmi'
|
||||
alternate_worn_icon = 'hyperstation/icons/mob/suit.dmi'
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 881 B |
Binary file not shown.
|
After Width: | Height: | Size: 343 B |
@@ -42,13 +42,3 @@
|
||||
name = "Prescription glasses"
|
||||
category = SLOT_GLASSES
|
||||
path = /obj/item/clothing/glasses/regular
|
||||
|
||||
/datum/gear/glasses/garb
|
||||
name = "plain black GAR glasses"
|
||||
category = SLOT_GLASSES
|
||||
path = /obj/item/clothing/glasses/garb
|
||||
|
||||
/datum/gear/glasses/gigagarb
|
||||
name = "plain black giga GAR glasses"
|
||||
category = SLOT_GLASSES
|
||||
path = /obj/item/clothing/glasses/garb/supergarb
|
||||
|
||||
@@ -2989,7 +2989,10 @@
|
||||
#include "hyperstation\code\mobs\werewolf.dm"
|
||||
#include "hyperstation\code\modules\traits.dm"
|
||||
#include "hyperstation\code\modules\antagonists\werewolf\werewolf.dm"
|
||||
#include "hyperstation\code\modules\client\loadout\glasses.dm"
|
||||
#include "hyperstation\code\modules\clothing\head.dm"
|
||||
#include "hyperstation\code\modules\clothing\glasses\polychromic_glasses.dm"
|
||||
#include "hyperstation\code\modules\clothing\suits\misc.dm"
|
||||
#include "hyperstation\code\modules\crafting\bounties.dm"
|
||||
#include "hyperstation\code\modules\crafting\recipes.dm"
|
||||
#include "hyperstation\code\modules\integrated_electronics\input.dm"
|
||||
|
||||
Reference in New Issue
Block a user