Merge pull request #7725 from Little-119/shiny-clothing

Add Romantical Whale's "Shiny Clothing"
This commit is contained in:
Novacat
2020-09-05 12:37:15 -04:00
committed by GitHub
16 changed files with 138 additions and 6 deletions

View File

@@ -64,3 +64,25 @@
cost = 25
containertype = /obj/structure/closet/crate
containername = "collar crate"
/datum/supply_pack/recreation/shiny
name = "Shiny Clothing"
contains = list(
/obj/item/clothing/mask/muzzle/ballgag = 1,
/obj/item/clothing/mask/muzzle/ballgag/ringgag = 1,
/obj/item/clothing/head/shiny_hood = 1,
/obj/item/clothing/head/shiny_hood/poly = 1,
/obj/item/clothing/head/shiny_hood/closed = 1,
/obj/item/clothing/head/shiny_hood/closed/poly = 1,
/obj/item/clothing/under/shiny/catsuit = 1,
/obj/item/clothing/under/shiny/catsuit/poly = 1,
/obj/item/clothing/under/shiny/leotard = 1,
/obj/item/clothing/under/shiny/leotard/poly = 1,
/obj/item/clothing/accessory/shiny/gloves = 1,
/obj/item/clothing/accessory/shiny/gloves/poly = 1,
/obj/item/clothing/accessory/shiny/socks = 1,
/obj/item/clothing/accessory/shiny/socks/poly = 1
)
containertype = /obj/structure/closet/crate
containername = "Shiny clothes crate"
cost = 30

View File

@@ -30,6 +30,7 @@
var/update_icon_define = null // Only needed if you've got multiple files for the same type of clothing
var/polychromic = FALSE //VOREStation edit
//Updates the icons of the mob wearing the clothing item, if any.
/obj/item/clothing/proc/update_clothing_icon()
@@ -49,6 +50,11 @@
src.attach_accessory(null, tie)
set_clothing_index()
//VOREStation edit start
if(polychromic)
verbs |= /obj/item/clothing/proc/change_color
//VOREStation edit start
/obj/item/clothing/equipped(var/mob/user,var/slot)
..()
if(enables_planes)
@@ -161,6 +167,24 @@
else
icon = initial(icon)
//VOREStation edit start
/obj/item/clothing/proc/change_color()
set name = "Change Color"
set category = "Object"
set desc = "Change the color of the clothing."
set src in usr
if(usr.stat || usr.restrained() || usr.incapacitated())
return
var/new_color = input(usr, "Pick a new color", "Color", color) as color|null
if(new_color && (new_color != color))
color = new_color
update_icon()
update_clothing_icon()
//VOREStation edit end
/obj/item/clothing/head/helmet/refit_for_species(var/target_species)
if(!species_restricted)
return //this item doesn't use the species_restricted system

View File

@@ -22,3 +22,28 @@
icon_state = "fancycrown"
icon = 'icons/obj/clothing/hats_vr.dmi'
icon_override = 'icons/mob/head_vr.dmi'
/obj/item/clothing/head/shiny_hood
icon_override = 'icons/mob/modular_shiny_vr.dmi'
icon = 'icons/obj/clothing/modular_shiny_vr.dmi'
name = "shiny hood"
desc = "You can be a super-hero in this! Just don't forget your suit!"
icon_state = "hood_o"
flags_inv = HIDEFACE|BLOCKHAIR
body_parts_covered = FACE|HEAD
/obj/item/clothing/head/shiny_hood/poly
name = "polychromic shiny hood"
icon_state = "hood_col_o"
polychromic = TRUE
/obj/item/clothing/head/shiny_hood/closed
name = "shiny hood"
desc = "You can be a super-hero in this! Just don't forget your superhuman senses!"
icon_state = "hood_c"
gas_transfer_coefficient = 0.90
/obj/item/clothing/head/shiny_hood/closed/poly
name = "polychromic closed shiny hood"
icon_state = "hood_col_o"
polychromic = TRUE

View File

@@ -0,0 +1,10 @@
/obj/item/clothing/mask/muzzle/ballgag
name = "ball gag"
desc = "What's that? You'll have to speak up."
icon_state = "ballgag"
/obj/item/clothing/mask/muzzle/ballgag/ringgag
name = "ring gag"
desc = "What's that? You'll have to speak more clearly."
icon_state = "ringgag"
gas_transfer_coefficient = 1

View File

@@ -0,0 +1,6 @@
/obj/item/clothing/shoes/boots/hoof
name = "hoofboots"
desc = "A pair of high-heeled boots with hooves on the front of the soles, for use with a hobby horse or to disguise your footprints."
icon_state = "hoofboots"
icon = 'icons/obj/clothing/shoes_vr.dmi'
icon_override = 'icons/mob/feet_vr.dmi'

View File

View File

@@ -0,0 +1,21 @@
/obj/item/clothing/accessory/shiny
icon_override = 'icons/mob/modular_shiny_vr.dmi'
icon = 'icons/obj/clothing/modular_shiny_vr.dmi'
w_class = ITEMSIZE_NORMAL
desc = "Shiny! They look like they need to be attached to something, else they'll just fall off."
/obj/item/clothing/accessory/shiny/gloves
name = "shiny gloves"
icon_state = "gloves"
/obj/item/clothing/accessory/shiny/gloves/poly
name = "polychromic shiny gloves"
polychromic = TRUE
/obj/item/clothing/accessory/shiny/socks
name = "shiny socks"
icon_state = "socks"
/obj/item/clothing/accessory/shiny/socks/poly
name = "polychromic shiny socks"
polychromic = TRUE

View File

@@ -0,0 +1,22 @@
/obj/item/clothing/under/shiny
icon_override = 'icons/mob/modular_shiny_vr.dmi'
icon = 'icons/obj/clothing/modular_shiny_vr.dmi'
desc = "You can be a super-hero in this! Just don't forget your mask!"
/obj/item/clothing/under/shiny/catsuit
name = "shiny suit"
icon_state = "suit"
var/opened = 0
/obj/item/clothing/under/shiny/catsuit/poly
name = "polychromic shiny suit"
icon_state = "suit_col"
polychromic = TRUE
/obj/item/clothing/under/shiny/leotard
name = "shiny leotard"
icon_state = "leotard"
/obj/item/clothing/under/shiny/leotard/poly
name = "polychromic shiny leotard"
polychromic = TRUE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -543,12 +543,10 @@
/obj/item/weapon/handcuffs/fuzzy,
/obj/item/weapon/handcuffs/legcuffs/fuzzy,
/obj/item/weapon/handcuffs/fuzzy,
/obj/item/clothing/mask/balaclava,
/obj/item/clothing/gloves/black{
desc = "They seem to be made of rubber-like material, though insulation quality is doubtful";
name = "elastic black gloves"
},
/obj/item/clothing/under/fluff/latexmaid,
/obj/item/clothing/accessory/shiny/socks,
/obj/item/clothing/under/shiny/catsuit,
/obj/item/clothing/accessory/shiny/gloves,
/obj/item/clothing/head/shiny_hood,
/turf/simulated/floor/tiled/techfloor,
/area/maintenance/lower/mining)
"aaZ" = (

View File

@@ -1872,11 +1872,13 @@
#include "code\modules\clothing\masks\gasmask_vr.dm"
#include "code\modules\clothing\masks\hailer.dm"
#include "code\modules\clothing\masks\miscellaneous.dm"
#include "code\modules\clothing\masks\shiny_vr.dm"
#include "code\modules\clothing\masks\voice.dm"
#include "code\modules\clothing\rings\material.dm"
#include "code\modules\clothing\rings\rings.dm"
#include "code\modules\clothing\rings\rings_vr.dm"
#include "code\modules\clothing\shoes\boots.dm"
#include "code\modules\clothing\shoes\boots_vr.dm"
#include "code\modules\clothing\shoes\colour.dm"
#include "code\modules\clothing\shoes\leg_guards.dm"
#include "code\modules\clothing\shoes\leg_guards_vr.dm"
@@ -1963,6 +1965,7 @@
#include "code\modules\clothing\under\miscellaneous_vr.dm"
#include "code\modules\clothing\under\nanotrasen_vr.dm"
#include "code\modules\clothing\under\pants.dm"
#include "code\modules\clothing\under\shiny_vr.dm"
#include "code\modules\clothing\under\shorts.dm"
#include "code\modules\clothing\under\solgov.dm"
#include "code\modules\clothing\under\solgov_vr.dm"
@@ -1978,6 +1981,7 @@
#include "code\modules\clothing\under\accessories\lockets.dm"
#include "code\modules\clothing\under\accessories\permits.dm"
#include "code\modules\clothing\under\accessories\permits_vr.dm"
#include "code\modules\clothing\under\accessories\shiny_vr.dm"
#include "code\modules\clothing\under\accessories\storage.dm"
#include "code\modules\clothing\under\accessories\torch.dm"
#include "code\modules\clothing\under\accessories\torch_vr.dm"