mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
## About The Pull Request moves all implementations (im aware of) for "Im a parent type dont spawn me please" to the datum layer to standardized behavior adds a standerized proc for filtering out "bad" items that we dont want spawning. applies to it the subtype vendor, gifts, and a new spawner and mystery box for a random gun (neither playerfacing) "port" of https://github.com/shiptest-ss13/Shiptest/pull/4621 https://github.com/user-attachments/assets/22f6f0b2-b44e-411a-b3dc-6b97dc0287aa small warning: I dont have EVERY abstract type defined right now but, ive done a good enough job for now. Im tired of data entry rn ## Why It's Good For The Game standardizing behavior. Might be a micro hit to performance however having this lets us not rely on icon state to determine whether something is a parent type and makes it much easier to tell something is a parent type (could be applied further to things like admin spawning menus and things like that). need feedback on if this is actually good for the game. ## Changelog 🆑 add: Soda cans show up in the silver slime drink table. add: Examine tag for items that are not mean to show up ingame. refactor: Standardizes how gifts rule out abstract types. fix: gifts no longer check if something has an inhand, massively expanding the list of potential items. /🆑
92 lines
3.8 KiB
Plaintext
92 lines
3.8 KiB
Plaintext
//Contains: Engineering department jumpsuits
|
|
|
|
/obj/item/clothing/under/rank/engineering
|
|
icon = 'icons/obj/clothing/under/engineering.dmi'
|
|
worn_icon = 'icons/mob/clothing/under/engineering.dmi'
|
|
abstract_type = /obj/item/clothing/under/rank/engineering
|
|
armor_type = /datum/armor/clothing_under/rank_engineering
|
|
resistance_flags = NONE
|
|
|
|
/datum/armor/clothing_under/rank_engineering
|
|
fire = 60
|
|
acid = 20
|
|
|
|
/obj/item/clothing/under/rank/engineering/chief_engineer
|
|
desc = "It's a high visibility jumpsuit given to those engineers insane enough to achieve the rank of \"Chief Engineer\". Made from fire resistant materials."
|
|
name = "chief engineer's jumpsuit"
|
|
icon_state = "chiefengineer"
|
|
inhand_icon_state = "gy_suit"
|
|
armor_type = /datum/armor/clothing_under/engineering_chief_engineer
|
|
|
|
/datum/armor/clothing_under/engineering_chief_engineer
|
|
fire = 80
|
|
acid = 40
|
|
|
|
/obj/item/clothing/under/rank/engineering/chief_engineer/skirt
|
|
name = "chief engineer's jumpskirt"
|
|
desc = "It's a high visibility jumpskirt given to those engineers insane enough to achieve the rank of \"Chief Engineer\". Made from fire resistant materials."
|
|
icon_state = "chief_skirt"
|
|
inhand_icon_state = "gy_suit"
|
|
body_parts_covered = CHEST|GROIN|ARMS
|
|
dying_key = DYE_REGISTRY_JUMPSKIRT
|
|
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY
|
|
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON
|
|
|
|
/obj/item/clothing/under/rank/engineering/chief_engineer/turtleneck
|
|
name = "chief engineer's turtleneck"
|
|
desc = "A yellow turtleneck and white khakis, for a chief engineer with a superior sense of style."
|
|
icon_state = "ceturtle"
|
|
inhand_icon_state = "y_suit"
|
|
can_adjust = TRUE
|
|
alt_covers_chest = TRUE
|
|
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY
|
|
|
|
/obj/item/clothing/under/rank/engineering/chief_engineer/turtleneck/skirt
|
|
name = "chief engineer's turtleneck skirt"
|
|
desc = "A yellow turtleneck and white khaki skirt, for a chief engineer with a superior sense of style."
|
|
icon_state = "ceturtle_skirt"
|
|
inhand_icon_state = "y_suit"
|
|
body_parts_covered = CHEST|GROIN|ARMS
|
|
dying_key = DYE_REGISTRY_JUMPSKIRT
|
|
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY
|
|
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON
|
|
|
|
/obj/item/clothing/under/rank/engineering/atmospheric_technician
|
|
desc = "It's a jumpsuit worn by atmospheric technicians. Made from fire resistant materials."
|
|
name = "atmospheric technician's jumpsuit"
|
|
icon_state = "atmos"
|
|
inhand_icon_state = "atmos_suit"
|
|
|
|
/obj/item/clothing/under/rank/engineering/atmospheric_technician/skirt
|
|
name = "atmospheric technician's jumpskirt"
|
|
desc = "It's a jumpskirt worn by atmospheric technicians. Made from fire resistant materials."
|
|
icon_state = "atmos_skirt"
|
|
inhand_icon_state = "atmos_suit"
|
|
body_parts_covered = CHEST|GROIN|ARMS
|
|
dying_key = DYE_REGISTRY_JUMPSKIRT
|
|
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY
|
|
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON
|
|
|
|
/obj/item/clothing/under/rank/engineering/engineer
|
|
desc = "It's an orange high visibility jumpsuit worn by engineers. Made from fire resistant materials."
|
|
name = "engineer's jumpsuit"
|
|
icon_state = "engine"
|
|
inhand_icon_state = "engi_suit"
|
|
|
|
/obj/item/clothing/under/rank/engineering/engineer/hazard
|
|
name = "engineer's hazard jumpsuit"
|
|
desc = "A high visibility jumpsuit. Made from fire resistant materials."
|
|
icon_state = "hazard"
|
|
inhand_icon_state = "syndicate-orange"
|
|
alt_covers_chest = TRUE
|
|
|
|
/obj/item/clothing/under/rank/engineering/engineer/skirt
|
|
name = "engineer's jumpskirt"
|
|
desc = "It's an orange high visibility jumpskirt worn by engineers. Made from fire resistant materials."
|
|
icon_state = "engine_skirt"
|
|
inhand_icon_state = "engi_suit"
|
|
body_parts_covered = CHEST|GROIN|ARMS
|
|
dying_key = DYE_REGISTRY_JUMPSKIRT
|
|
female_sprite_flags = FEMALE_UNIFORM_TOP_ONLY
|
|
supports_variations_flags = CLOTHING_DIGITIGRADE_VARIATION_NO_NEW_ICON
|