Repathed ponchos to accessory/storage.

This commit is contained in:
MistakeNot4892
2022-10-31 00:17:53 +11:00
parent dbfd5d58c3
commit 6c00aedbd7
11 changed files with 69 additions and 66 deletions
+6 -6
View File
@@ -60,18 +60,18 @@
..()
/// Ponchos specifically, but other accessories may eventually need this.
/// Consequence of snowflake-y teshari code.
/obj/item/kit/accessory
/// Consequence of snowflake-y teshari code.
/obj/item/kit/accessory
name = "accessory modification kit"
desc = "A kit for modifying accessories."
/obj/item/kit/accessory/can_customize(var/obj/item/I)
return istype(I, /obj/item/clothing/accessory/poncho)
return istype(I, /obj/item/clothing/accessory/storage/poncho)
/obj/item/kit/accessory/customize(var/obj/item/I, var/mob/user)
if(can_customize(I))
if(istype(I, /obj/item/clothing/accessory/poncho))
var/obj/item/clothing/accessory/poncho/P = I
if(istype(I, /obj/item/clothing/accessory/storage/poncho))
var/obj/item/clothing/accessory/storage/poncho/P = I
P.icon_override_state = new_icon_override_file
P.sprite_sheets[SPECIES_TESHARI] = new_icon_override_file /// Will look the same on teshari and other species.
P.item_state = new_icon
@@ -339,4 +339,4 @@
name = "\"Gaoler\" Gygax customisation kit"
new_name = "Durand \"Gaoler\""
new_desc = "A bulky silver Gygax exosuit. The extra armour appears to be painted on, but it's very shiny."
new_icon = "recitence"
new_icon = "recitence"
+5 -5
View File
@@ -960,11 +960,11 @@
icon_state = "classicponcho"
/obj/random/thermalponcho/item_to_spawn()
return pick(prob(5);/obj/item/clothing/accessory/poncho/thermal,
prob(3);/obj/item/clothing/accessory/poncho/thermal/red,
prob(3);/obj/item/clothing/accessory/poncho/thermal/green,
prob(3);/obj/item/clothing/accessory/poncho/thermal/purple,
prob(3);/obj/item/clothing/accessory/poncho/thermal/blue)
return pick(prob(5);/obj/item/clothing/accessory/storage/poncho/thermal,
prob(3);/obj/item/clothing/accessory/storage/poncho/thermal/red,
prob(3);/obj/item/clothing/accessory/storage/poncho/thermal/green,
prob(3);/obj/item/clothing/accessory/storage/poncho/thermal/purple,
prob(3);/obj/item/clothing/accessory/storage/poncho/thermal/blue)
/obj/random/mug
name = "Random Mug"
+2 -2
View File
@@ -560,7 +560,7 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
/obj/item/clothing/accessory/bracelet/material/gold,
/obj/item/clothing/accessory/bracelet/material/silver,
/obj/item/clothing/accessory/locket,
/obj/item/clothing/accessory/poncho/blue,
/obj/item/clothing/accessory/storage/poncho/blue,
/obj/item/clothing/shoes/boots/cowboy,
/obj/item/clothing/suit/storage/toggle/bomber,
/obj/item/clothing/under/frontier,
@@ -944,4 +944,4 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh
common_loot = list(
/obj/random/unidentified_medicine/fresh_medicine
)
)