mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-13 11:12:14 +00:00
## About The Pull Request See title. ## Why It's Good For The Game Code is cleaner, and more readable/intuitive Technically closes https://github.com/tgstation/dev-cycles-initiative/issues/8 ## Changelog 🆑 refactor: armor, from the ground up basically /🆑 Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
60 lines
1.8 KiB
Plaintext
60 lines
1.8 KiB
Plaintext
/obj/item/clothing/head/mod
|
|
name = "MOD helmet"
|
|
desc = "A helmet for a MODsuit."
|
|
icon = 'icons/obj/clothing/modsuit/mod_clothing.dmi'
|
|
icon_state = "standard-helmet"
|
|
base_icon_state = "helmet"
|
|
worn_icon = 'icons/mob/clothing/modsuit/mod_clothing.dmi'
|
|
armor_type = /datum/armor/none
|
|
body_parts_covered = HEAD
|
|
heat_protection = HEAD
|
|
cold_protection = HEAD
|
|
obj_flags = IMMUTABLE_SLOW
|
|
|
|
/obj/item/clothing/suit/mod
|
|
name = "MOD chestplate"
|
|
desc = "A chestplate for a MODsuit."
|
|
icon = 'icons/obj/clothing/modsuit/mod_clothing.dmi'
|
|
icon_state = "standard-chestplate"
|
|
base_icon_state = "chestplate"
|
|
worn_icon = 'icons/mob/clothing/modsuit/mod_clothing.dmi'
|
|
blood_overlay_type = "armor"
|
|
allowed = list(
|
|
/obj/item/tank/internals,
|
|
/obj/item/flashlight,
|
|
/obj/item/tank/jetpack/oxygen/captain,
|
|
)
|
|
armor_type = /datum/armor/none
|
|
body_parts_covered = CHEST|GROIN
|
|
heat_protection = CHEST|GROIN
|
|
cold_protection = CHEST|GROIN
|
|
obj_flags = IMMUTABLE_SLOW
|
|
|
|
/obj/item/clothing/gloves/mod
|
|
name = "MOD gauntlets"
|
|
desc = "A pair of gauntlets for a MODsuit."
|
|
icon = 'icons/obj/clothing/modsuit/mod_clothing.dmi'
|
|
icon_state = "standard-gauntlets"
|
|
base_icon_state = "gauntlets"
|
|
worn_icon = 'icons/mob/clothing/modsuit/mod_clothing.dmi'
|
|
armor_type = /datum/armor/none
|
|
body_parts_covered = HANDS|ARMS
|
|
heat_protection = HANDS|ARMS
|
|
cold_protection = HANDS|ARMS
|
|
obj_flags = IMMUTABLE_SLOW
|
|
|
|
/obj/item/clothing/shoes/mod
|
|
name = "MOD boots"
|
|
desc = "A pair of boots for a MODsuit."
|
|
icon = 'icons/obj/clothing/modsuit/mod_clothing.dmi'
|
|
icon_state = "standard-boots"
|
|
base_icon_state = "boots"
|
|
worn_icon = 'icons/mob/clothing/modsuit/mod_clothing.dmi'
|
|
armor_type = /datum/armor/none
|
|
body_parts_covered = FEET|LEGS
|
|
heat_protection = FEET|LEGS
|
|
cold_protection = FEET|LEGS
|
|
obj_flags = IMMUTABLE_SLOW
|
|
item_flags = IGNORE_DIGITIGRADE
|
|
can_be_tied = FALSE
|