Skip to content

Commit

Permalink
Clean up 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-023 committed Sep 21, 2024
1 parent 3766c8b commit ad45204
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 49 deletions.
43 changes: 23 additions & 20 deletions code/modules/client/preferences_gear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,29 @@ GLOBAL_LIST_EMPTY(gear_datums_by_name)
path = /obj/item/prop/helmetgarb/chaplain_patch
allowed_origins = USCM_ORIGINS

/datum/gear/armor
category = "Armor Cosmetics"

/datum/gear/armor/paint_sg
display_name = "Black Smartgun Harness Paint"
path = /obj/item/clothing/accessory/paint/sg
cost = 0

/datum/gear/armor/paint_skull
display_name = "M3 Pattern Skull Paint"
path = /obj/item/clothing/accessory/paint
cost = 0

/datum/gear/armor/paint_heart
display_name = "M3 Pattern Heart Paint"
path = /obj/item/clothing/accessory/paint/heart
cost = 0

/datum/gear/armor/uaflag
display_name = "M3 Pattern Flag Paint"
path = /obj/item/clothing/accessory/paint/uaflag
cost = 0

/datum/gear/paperwork
category = "Paperwork"

Expand Down Expand Up @@ -1188,23 +1211,3 @@ GLOBAL_LIST_EMPTY(gear_datums_by_name)
display_name = "Marine Service Jacket"
path = /obj/item/clothing/suit/storage/jacket/marine/service
cost = 3

/datum/gear/misc/paint_sg
display_name = "Black Smartgun Harness Paint"
path = /obj/item/clothing/accessory/paint
cost = 0

/datum/gear/misc/paint_skull
display_name = "M3 Pattern Skull Paint"
path = /obj/item/clothing/accessory/paint/skull
cost = 0

/datum/gear/misc/paint_heart
display_name = "M3 Pattern Heart Paint"
path = /obj/item/clothing/accessory/paint/heart
cost = 0

/datum/gear/misc/uaflag
display_name = "M3 Pattern Flag Paint"
path = /obj/item/clothing/accessory/paint/uaflag
cost = 0
60 changes: 31 additions & 29 deletions code/modules/clothing/under/ties.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1040,12 +1040,7 @@
user.visible_message(SPAN_NOTICE("[user] decides to keep [src] nice and puffy."), SPAN_NOTICE("You decide to keep [src] nice and puffy."))
item_state = icon_state

/obj/item/clothing/accessory/paint
name = "camouflage paint"
desc = "A set of paints for smartgunners to apply to their harnesses for a darker complextion."
icon_state = "blacksg"
item_state = "blacksg"
slot = ACCESSORY_SLOT_SGPAINT
//===========================//CUSTOM ARMOR COSMETIC PLATES\\================================\\
/obj/item/clothing/accessory/pads
name = "\improper M3 Shoulder Pads"
Expand Down Expand Up @@ -1081,7 +1076,9 @@
item_state = "shinguards"
slot = ACCESSORY_SLOT_SGDECOR

/obj/item/clothing/accessory/paint/skull
//===========================//CUSTOM ARMOR PAINT\\================================\\
/obj/item/clothing/accessory/paint
name = "skull armor paint"
desc = "A set of paint tones to etch a skull into a Marine's armor."
icon_state = "skull"
Expand All @@ -1093,27 +1090,33 @@
desc = "A set of paint tones to etch a heart into a Marine's armor."
icon_state = "heart"
item_state = "heart"
slot = ACCESSORY_SLOT_PAINT

/obj/item/clothing/accessory/paint/medic
name = "cross armor paint"
desc = "A set of paint tones to etch a red cross into a Marine's armor."
icon_state = "medic"
item_state = "medic"
slot = ACCESSORY_SLOT_PAINT

/obj/item/clothing/accessory/paint/uaflag
name = "cross armor paint"
desc = "A set of paint tones to etch the red, white, and black into a Marine's armor."
icon_state = "uaflag"
item_state = "uaflag"
slot = ACCESSORY_SLOT_PAINT

/obj/item/clothing/accessory/paint/sg
name = "camouflage paint"
desc = "A set of paints for smartgunners to apply to their harnesses for a darker complextion."
icon_state = "blacksg"
item_state = "blacksg"
slot = ACCESSORY_SLOT_SGPAINT

//===========================//CUSTOM ARMOR WEBBING\\================================\\
/obj/item/clothing/accessory/storage/webbing/m3
name = "\improper M3 Pattern Webbing"
desc = "A sturdy mess of synthcotton belts and buckles, ready to share your burden."
icon_state = "m3webbing"
hold = /obj/item/storage/internal/accessory/webbing/m3/generic
hold = /obj/item/storage/internal/accessory/webbing/m3generic
slot = ACCESSORY_SLOT_M3UTILITY

/obj/item/clothing/accessory/storage/webbing/m3/Initialize(mapload)
Expand All @@ -1122,9 +1125,8 @@
select_gamemode_skin(type)
update_icon()

/obj/item/storage/internal/accessory/webbing/m3

/obj/item/storage/internal/accessory/webbing/m3/generic
/obj/item/storage/internal/accessory/webbing/m3generic
cant_hold = list(
/obj/item/ammo_magazine/handful/shotgun,
/obj/item/ammo_magazine/rifle,
Expand All @@ -1134,9 +1136,9 @@
name = "\improper M3 Pattern Magazine Webbing"
desc = "A sturdy mess of synthcotton belts and buckles, ready to share your burden."
icon_state = "m3webbingmag"
hold = /obj/item/storage/internal/accessory/webbing/m3/mag
hold = /obj/item/storage/internal/accessory/webbing/m3mag

/obj/item/storage/internal/accessory/webbing/m3/mag
/obj/item/storage/internal/accessory/webbing/m3mag
can_hold = list(
/obj/item/ammo_magazine/rifle,
)
Expand Down Expand Up @@ -1170,13 +1172,25 @@
icon_state = "m3webbingm40"
hold = /obj/item/storage/internal/accessory/black_vest/m3grenade

/obj/item/storage/internal/accessory/black_vest/m3grenade
storage_slots = 6
can_hold = list(
/obj/item/explosive/grenade/high_explosive,
/obj/item/explosive/grenade/incendiary,
/obj/item/explosive/grenade/smokebomb,
/obj/item/explosive/grenade/high_explosive/airburst/starshell,
/obj/item/explosive/grenade/high_explosive/frag,
/obj/item/explosive/grenade/phosphorus/weak,
/obj/item/explosive/grenade/slug/baton,
)

/obj/item/clothing/accessory/storage/webbing/m3/recon
name = "\improper M3 Pattern Magazine Webbing"
desc = "A sturdy mess of synthcotton belts and buckles, ready to share your burden."
icon_state = "m3rwebbing"
hold = /obj/item/storage/internal/accessory/webbing/m3/mag/recon
hold = /obj/item/storage/internal/accessory/webbing/m3mag/recon

/obj/item/storage/internal/accessory/webbing/m3/mag/recon
/obj/item/storage/internal/accessory/webbing/m3mag/recon
storage_slots = 4

/obj/item/clothing/accessory/storage/webbing/m3/recon/m40
Expand Down Expand Up @@ -1235,18 +1249,6 @@
icon_state = "m56grenade"
hold = /obj/item/storage/internal/accessory/black_vest/m56/grenade

/obj/item/storage/internal/accessory/black_vest/m3grenade
storage_slots = 6
can_hold = list(
/obj/item/explosive/grenade/high_explosive,
/obj/item/explosive/grenade/incendiary,
/obj/item/explosive/grenade/smokebomb,
/obj/item/explosive/grenade/high_explosive/airburst/starshell,
/obj/item/explosive/grenade/high_explosive/frag,
/obj/item/explosive/grenade/phosphorus/weak,
/obj/item/explosive/grenade/slug/baton,
)

/obj/item/storage/internal/accessory/black_vest/m56/grenade
storage_slots = 4
can_hold = list(
Expand Down

0 comments on commit ad45204

Please sign in to comment.