Upstream 12 15 25 unique reskins fixes (#5019)

This branch needs help, tons of datums to make for the customizable
items.

---------

Co-authored-by: Alexis <catmc8565@gmail.com>
This commit is contained in:
nevimer
2026-01-10 13:14:26 -05:00
committed by GitHub
co-authored by Alexis
parent e82dd05cf1
commit a33fd49968
96 changed files with 4246 additions and 2843 deletions
+19 -7
View File
@@ -764,6 +764,20 @@
/obj/item/melee/baton/security/loaded/hos
preload_cell_type = /obj/item/stock_parts/power_store/cell/super
// Stunsword Skins
/datum/atom_skin/stunsword
abstract_type = /datum/atom_skin/stunsword
change_inhand_icon_state = TRUE
change_base_icon_state = TRUE
/datum/atom_skin/stunsword/default
preview_name = "Default"
new_icon_state = "stunsword"
/datum/atom_skin/stunsword/energy
preview_name = "Energy"
new_icon_state = "stunsword_energy"
///Stun Sword
/obj/item/melee/baton/security/stunsword
name = "\improper NT-20 'Excalibur' Stunsword"
@@ -789,14 +803,12 @@
convertible = FALSE
obj_flags = UNIQUE_RENAME
unique_reskin = list(
"Default" = "stunsword",
"Energy Stunsword" = "stunsword_energy",
)
unique_reskin_changes_inhand = TRUE
unique_reskin_changes_base_icon_state = TRUE
/obj/item/melee/baton/security/stunsword/loaded/add_deep_lore()
/obj/item/melee/baton/security/stunsword/Initialize(mapload)
. = ..()
AddComponent(/datum/component/reskinable_item, /datum/atom_skin/stunsword)
/obj/item/melee/baton/security/stunsword/add_deep_lore()
return
/obj/item/melee/baton/security/stunsword/loaded
-17
View File
@@ -264,23 +264,6 @@
inhand_icon_state = "security"//Could likely use a better one.
worn_icon_state = "security"
content_overlays = TRUE
// SKYRAT EDIT ADDITION START
uses_advanced_reskins = TRUE
unique_reskin = list(
"Basic Security" = list(
RESKIN_ICON = 'icons/obj/clothing/belts.dmi',
RESKIN_ICON_STATE = "security",
RESKIN_WORN_ICON = 'icons/mob/clothing/belt.dmi',
RESKIN_WORN_ICON_STATE = "security"
),
"Peacekeeper" = list(
RESKIN_ICON = 'modular_skyrat/master_files/icons/obj/clothing/belts.dmi',
RESKIN_ICON_STATE = "peacekeeperbelt",
RESKIN_WORN_ICON = 'modular_skyrat/master_files/icons/mob/clothing/belt.dmi',
RESKIN_WORN_ICON_STATE = "peacekeeperbelt"
)
)
// SKYRAT EDIT ADDITION END
storage_type = /datum/storage/security_belt
/obj/item/storage/belt/security/full/PopulateContents()