mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 15:39:57 +01:00
Recolorable White-Tip Sneakers (#12617)
This commit is contained in:
@@ -136,6 +136,7 @@
|
||||
..()
|
||||
var/list/recolourable_shoes = list()
|
||||
recolourable_shoes["sneakers"] = /obj/item/clothing/shoes/sneakers
|
||||
recolourable_shoes["sneakers (white tip)"] = /obj/item/clothing/shoes/sneakers/whitetip
|
||||
recolourable_shoes["oxfords"] = /obj/item/clothing/shoes/laceup/colourable
|
||||
gear_tweaks += new /datum/gear_tweak/path(recolourable_shoes)
|
||||
|
||||
@@ -161,4 +162,4 @@ var/datum/gear_tweak/shoe_layer/gear_tweak_shoe_layer = new()
|
||||
if(metadata == "Over")
|
||||
S.shoes_under_pants = FALSE
|
||||
else
|
||||
S.shoes_under_pants = TRUE
|
||||
S.shoes_under_pants = TRUE
|
||||
|
||||
@@ -816,10 +816,8 @@
|
||||
|
||||
/obj/item/clothing/shoes/update_icon()
|
||||
cut_overlays()
|
||||
worn_overlay = null
|
||||
if(holding)
|
||||
worn_overlay = "knife"
|
||||
add_overlay(overlay_image(icon, "[initial(icon_state)]_[worn_overlay]", flags=RESET_COLOR))
|
||||
add_overlay(overlay_image(icon, "[initial(icon_state)]_knife", flags=RESET_COLOR))
|
||||
if(ismob(usr))
|
||||
var/mob/M = usr
|
||||
M.update_inv_shoes()
|
||||
|
||||
@@ -100,6 +100,14 @@
|
||||
icon_state = "sneakers"
|
||||
item_state = "sneakers"
|
||||
|
||||
/obj/item/clothing/shoes/sneakers/whitetip
|
||||
icon = 'icons/clothing/shoes/recolorable.dmi'
|
||||
icon_state = "shoe"
|
||||
item_state = "shoe"
|
||||
worn_overlay = "over"
|
||||
contained_sprite = TRUE
|
||||
build_from_parts = TRUE
|
||||
|
||||
/obj/item/clothing/shoes/medical
|
||||
name = "doctor shoes"
|
||||
desc = "A pair of green and white shoes intended for safety around patients."
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
author: Geeves
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- rscadd: "Added another variant of sneakers to the recolorable shoe selection, the tip of the shoes stays white."
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 578 B |
Reference in New Issue
Block a user