mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
[ready] unit tests all worn icons (#72370)
Fixes #71692 🆑 ShizCalev code: Added a unit test for ALL worn icons. fix: Fixed a bunch of broken worn icons! /🆑
This commit is contained in:
@@ -45,8 +45,8 @@
|
||||
name = "retro identification card"
|
||||
desc = "A card used to provide ID and determine access across the station."
|
||||
icon_state = "card_grey"
|
||||
worn_icon_state = "card_retro"
|
||||
inhand_icon_state = "card-id"
|
||||
worn_icon_state = "nothing"
|
||||
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
|
||||
slot_flags = ITEM_SLOT_ID
|
||||
@@ -880,7 +880,6 @@
|
||||
name = "identification card"
|
||||
desc = "A card used to provide ID and determine access across the station. Has an integrated digital display and advanced microchips."
|
||||
icon_state = "card_grey"
|
||||
worn_icon_state = "card_grey"
|
||||
|
||||
wildcard_slots = WILDCARD_LIMIT_GREY
|
||||
flags_1 = UNPAINTABLE_1
|
||||
@@ -1038,13 +1037,11 @@
|
||||
name = "rainbow identification card"
|
||||
desc = "A rainbow card, promoting fun in a 'business proper' sense!"
|
||||
icon_state = "card_rainbow"
|
||||
worn_icon_state = "card_rainbow"
|
||||
|
||||
/obj/item/card/id/advanced/silver
|
||||
name = "silver identification card"
|
||||
desc = "A silver card which shows honour and dedication."
|
||||
icon_state = "card_silver"
|
||||
worn_icon_state = "card_silver"
|
||||
inhand_icon_state = "silver_id"
|
||||
assigned_icon_state = "assigned_silver"
|
||||
wildcard_slots = WILDCARD_LIMIT_SILVER
|
||||
@@ -1063,7 +1060,6 @@
|
||||
name = "gold identification card"
|
||||
desc = "A golden card which shows power and might."
|
||||
icon_state = "card_gold"
|
||||
worn_icon_state = "card_gold"
|
||||
inhand_icon_state = "gold_id"
|
||||
assigned_icon_state = "assigned_gold"
|
||||
wildcard_slots = WILDCARD_LIMIT_GOLD
|
||||
@@ -1090,7 +1086,6 @@
|
||||
name = "\improper CentCom ID"
|
||||
desc = "An ID straight from Central Command."
|
||||
icon_state = "card_centcom"
|
||||
worn_icon_state = "card_centcom"
|
||||
assigned_icon_state = "assigned_centcom"
|
||||
registered_name = JOB_CENTCOM
|
||||
registered_age = null
|
||||
@@ -1136,7 +1131,6 @@
|
||||
name = "black identification card"
|
||||
desc = "This card is telling you one thing and one thing alone. The person holding this card is an utter badass."
|
||||
icon_state = "card_black"
|
||||
worn_icon_state = "card_black"
|
||||
assigned_icon_state = "assigned_syndicate"
|
||||
wildcard_slots = WILDCARD_LIMIT_GOLD
|
||||
|
||||
@@ -1186,7 +1180,6 @@
|
||||
name = "\improper Debug ID"
|
||||
desc = "A debug ID card. Has ALL the all access, you really shouldn't have this."
|
||||
icon_state = "card_centcom"
|
||||
worn_icon_state = "card_centcom"
|
||||
assigned_icon_state = "assigned_centcom"
|
||||
trim = /datum/id_trim/admin
|
||||
wildcard_slots = WILDCARD_LIMIT_ADMIN
|
||||
@@ -1199,7 +1192,6 @@
|
||||
name = "prisoner ID card"
|
||||
desc = "You are a number, you are not a free man."
|
||||
icon_state = "card_prisoner"
|
||||
worn_icon_state = "card_prisoner"
|
||||
inhand_icon_state = "orange-id"
|
||||
lefthand_file = 'icons/mob/inhands/equipment/idcards_lefthand.dmi'
|
||||
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
|
||||
@@ -1312,7 +1304,6 @@
|
||||
registered_name = "Highlander"
|
||||
desc = "There can be only one!"
|
||||
icon_state = "card_black"
|
||||
worn_icon_state = "card_black"
|
||||
assigned_icon_state = "assigned_syndicate"
|
||||
trim = /datum/id_trim/highlander
|
||||
wildcard_slots = WILDCARD_LIMIT_ADMIN
|
||||
@@ -1605,7 +1596,6 @@
|
||||
/// A special variant of the classic chameleon ID card which accepts all access.
|
||||
/obj/item/card/id/advanced/chameleon/black
|
||||
icon_state = "card_black"
|
||||
worn_icon_state = "card_black"
|
||||
assigned_icon_state = "assigned_syndicate"
|
||||
wildcard_slots = WILDCARD_LIMIT_GOLD
|
||||
|
||||
|
||||
@@ -204,6 +204,7 @@
|
||||
desc = "A hand-held long-range environmental scanner which reports current gas levels."
|
||||
name = "long-range gas analyzer"
|
||||
icon_state = "analyzerranged"
|
||||
worn_icon_state = "analyzer"
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
custom_materials = list(/datum/material/iron = 100, /datum/material/glass = 20, /datum/material/gold = 300, /datum/material/bluespace=200)
|
||||
grind_results = list(/datum/reagent/mercury = 5, /datum/reagent/iron = 5, /datum/reagent/silicon = 5)
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
desc = "An ominous card that contains the location of the station, and when applied to a communications console, \
|
||||
the ability to long-distance contact the Syndicate fleet."
|
||||
icon_state = "battlecruisercaller"
|
||||
worn_icon_state = "battlecruisercaller"
|
||||
worn_icon_state = "emag"
|
||||
///whether we have called the battlecruiser
|
||||
var/used = FALSE
|
||||
/// The battlecruiser team that the battlecruiser will get added to
|
||||
|
||||
@@ -272,6 +272,7 @@
|
||||
name = "Crusader's Hood"
|
||||
desc = "A brownish hood."
|
||||
icon = 'icons/obj/clothing/head/chaplain.dmi'
|
||||
worn_icon = 'icons/mob/clothing/head/chaplain.dmi'
|
||||
icon_state = "crusader"
|
||||
inhand_icon_state = null
|
||||
w_class = WEIGHT_CLASS_NORMAL
|
||||
@@ -300,6 +301,7 @@
|
||||
name = "Prophet's Hat"
|
||||
desc = "A religious-looking hat."
|
||||
icon_state = null
|
||||
worn_icon = 'icons/mob/clothing/head/helmet.dmi'
|
||||
inhand_icon_state = null
|
||||
flags_1 = 0
|
||||
armor_type = /datum/armor/crusader_prophet
|
||||
|
||||
@@ -151,6 +151,7 @@
|
||||
|
||||
/obj/item/storage/wallet/random
|
||||
icon_state = "random_wallet" // for mapping purposes
|
||||
worn_icon_state = "wallet"
|
||||
|
||||
/obj/item/storage/wallet/random/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user