Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoryBlaine committed Aug 5, 2024
1 parent 36ad23d commit b7191e9
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 233 deletions.
9 changes: 0 additions & 9 deletions code/datums/map_config.dm
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,6 @@

/datum/map_config/New()

synth_survivor_types = list(
/datum/equipment_preset/synth/survivor/medical_synth,
/datum/equipment_preset/synth/survivor/emt_synth,
,
/datum/equipment_preset/synth/survivor/wy/security_synth,
/datum/equipment_preset/synth/survivor/wy/protection_synth,
/datum/equipment_preset/synth/survivor/wy/corporate_synth,
)

/proc/load_map_config(filename, default, delete_after, error_if_missing = TRUE)
var/datum/map_config/config = new
if(default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,7 @@ GLOBAL_LIST_EMPTY(co_secure_boxes)

/obj/structure/closet/secure_closet/staff_officer/intel/Initialize()
. = ..()
new /obj/item/clothing/head/helmet/marine/rto/intel(src)
new /obj/item/clothing/shoes/marine(src)
new /obj/item/storage/backpack/marine/satchel/intel(src)
new /obj/item/device/motiondetector/intel(src)
new /obj/item/stack/fulton(src)
new /obj/item/device/motiondetector(src)

/obj/structure/closet/secure_closet/staff_officer/intel/select_gamemode_equipment(gamemode)
if (SSmapping.configs[GROUND_MAP].environment_traits[MAP_COLD])
Expand All @@ -100,10 +96,6 @@ GLOBAL_LIST_EMPTY(co_secure_boxes)
new /obj/item/clothing/head/helmet/marine/pilot(src)
new /obj/item/clothing/suit/armor/vest/pilot(src)

/obj/structure/closet/secure_closet/pilot_officer/select_gamemode_equipment(gamemode)
if (SSmapping.configs[GROUND_MAP].environment_traits[MAP_COLD])
new /obj/item/clothing/mask/rebreather/scarf(src)

//**********************Military Police Gear**************************/
/obj/structure/closet/secure_closet/military_police
name = "military police's locker"
Expand Down Expand Up @@ -242,13 +234,8 @@ GLOBAL_LIST_EMPTY(co_secure_boxes)

/obj/structure/closet/secure_closet/req_officer/Initialize()
. = ..()
new /obj/item/device/radio/headset/almayer/qm(src)
new /obj/item/clothing/under/boiler(src)
new /obj/item/clothing/shoes/marine(src)
new /obj/item/storage/belt/marine(src)
new /obj/item/clothing/head/cmcap/req(src)
new /obj/item/device/flashlight(src)
new /obj/item/storage/backpack/marine/satchel(src)
new /obj/item/clothing/head/cmcap/khaki(src)

/obj/structure/closet/secure_closet/cargotech
name = "Cargo Technician's Locker"
Expand All @@ -262,11 +249,8 @@ GLOBAL_LIST_EMPTY(co_secure_boxes)

/obj/structure/closet/secure_closet/cargotech/Initialize()
. = ..()
new /obj/item/clothing/under/boiler(src)
new /obj/item/clothing/shoes/marine(src)
new /obj/item/clothing/gloves/yellow(src)
new /obj/item/clothing/head/beanie(src)
new /obj/item/storage/backpack/marine/satchel(src)
return

/obj/structure/closet/secure_closet/sea
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,26 +87,7 @@

/obj/structure/closet/secure_closet/CMO/Initialize()
. = ..()
new /obj/item/clothing/suit/radiation(src)
new /obj/item/clothing/head/radiation(src)
new /obj/item/clothing/shoes/white(src)
new /obj/item/clothing/gloves/latex(src)
new /obj/item/clothing/under/medical/green(src)
new /obj/item/clothing/under/medical/blue(src)
new /obj/item/clothing/under/medical(src)
new /obj/item/clothing/under/medical/purple(src)
new /obj/item/clothing/head/surgery/green(src)
new /obj/item/clothing/head/surgery/blue(src)
new /obj/item/clothing/head/surgery/purple(src)
new /obj/item/clothing/suit/storage/labcoat(src)
new /obj/item/clothing/mask/surgical(src)
new /obj/item/clothing/mask/breath(src)
new /obj/item/clothing/head/cmo(src)
new /obj/item/reagent_container/hypospray/tricordrazine(src)
new /obj/item/device/flash(src)
new /obj/item/storage/pouch/medical(src)
new /obj/item/storage/pouch/syringe(src)
new /obj/item/storage/pouch/medkit(src)
if(is_mainship_level(z))
new /obj/item/device/radio/headset/almayer/cmo(src)
return
Expand Down
53 changes: 0 additions & 53 deletions code/modules/client/preferences_gear.dm
Original file line number Diff line number Diff line change
Expand Up @@ -223,50 +223,6 @@ var/global/list/gear_datums_by_name = list()
display_name = "USCM beanie, tan"
path = /obj/item/clothing/head/beanie/tan

/datum/gear/headwear/uscm/beret_green
display_name = "USCM beret, green"
path = /obj/item/clothing/head/beret/cm

/datum/gear/headwear/uscm/beret_tan
display_name = "USCM beret, tan"
path = /obj/item/clothing/head/beret/cm/tan

/datum/gear/headwear/uscm/beret_black
display_name = "USCM beret, black"
path = /obj/item/clothing/head/beret/cm/black

/datum/gear/headwear/uscm/beret_white
display_name = "USCM beret, white"
path = /obj/item/clothing/head/beret/cm/white

/datum/gear/headwear/uscm/beret_alpha
display_name = "USCM beret, red flash"
path = /obj/item/clothing/head/beret/cm/alpha

/datum/gear/headwear/uscm/beret_bravo
display_name = "USCM beret, yellow flash"
path = /obj/item/clothing/head/beret/cm/bravo

/datum/gear/headwear/uscm/beret_charlie
display_name = "USCM beret, purple flash"
path = /obj/item/clothing/head/beret/cm/charlie

/datum/gear/headwear/uscm/beret_delta
display_name = "USCM beret, blue flash"
path = /obj/item/clothing/head/beret/cm/delta

/datum/gear/headwear/uscm/beret_echo
display_name = "USCM beret, green flash"
path = /obj/item/clothing/head/beret/cm/echo

/datum/gear/headwear/uscm/beret_foxtrot
display_name = "USCM beret, brown flash"
path = /obj/item/clothing/head/beret/cm/foxtrot

/datum/gear/headwear/uscm/beret_intel
display_name = "USCM beret, black flash"
path = /obj/item/clothing/head/beret/cm/intel

/datum/gear/headwear/uscm/boonie_olive
display_name = "USCM boonie hat, olive"
path = /obj/item/clothing/head/cmcap/boonie
Expand Down Expand Up @@ -1020,11 +976,6 @@ var/global/list/gear_datums_by_name = list()
path = /obj/item/clothing/shoes/marine/jungle
cost = 2

/datum/gear/misc/brown_boots
display_name = "brown combat boots"
path = /obj/item/clothing/shoes/marine/brown
cost = 2

/datum/gear/misc/brown_gloves
display_name = "brown combat gloves"
path = /obj/item/clothing/gloves/marine/brown
Expand Down Expand Up @@ -1052,10 +1003,6 @@ var/global/list/gear_datums_by_name = list()
display_name = "Solar Devils shoulder patch"
path = /obj/item/clothing/accessory/patch/devils

/datum/gear/misc/patch_uscm/falcon
display_name = "Falling Falcons shoulder patch"
path = /obj/item/clothing/accessory/patch/falcon

/datum/gear/misc/family_photo
display_name = "Family photo"
path = /obj/item/prop/helmetgarb/family_photo
Expand Down
4 changes: 0 additions & 4 deletions code/modules/clothing/gloves/marine_gloves.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
armor_internaldamage = CLOTHING_ARMOR_VERYHIGH
unacidable = TRUE
flags_item = MOB_LOCK_ON_EQUIP|NO_CRYO_STORE
adopts_squad_color = FALSE

/obj/item/clothing/gloves/marine/pve_mopp
name = "\improper M2 MOPP gloves"
Expand Down Expand Up @@ -82,7 +81,6 @@
desc = "A pair of fashionable white gloves, worn by marines in dress."
icon_state = "white"
item_state = "marine_white"
adopts_squad_color = FALSE

/obj/item/clothing/gloves/marine/veteran/souto
name = "\improper Souto Man gloves"
Expand All @@ -99,7 +97,6 @@
armor_rad = CLOTHING_ARMOR_HARDCORE
armor_internaldamage = CLOTHING_ARMOR_HARDCORE
unacidable = TRUE
adopts_squad_color = FALSE

/obj/item/clothing/gloves/marine/veteran/insulated/van_bandolier
name = "custom shooting gloves"
Expand All @@ -118,7 +115,6 @@
armor_rad = CLOTHING_ARMOR_VERYHIGH
armor_internaldamage = CLOTHING_ARMOR_MEDIUM
unacidable = TRUE
adopts_squad_color = FALSE

/obj/item/clothing/gloves/marine/veteran/cbrn
name = "\improper M3 MOPP gloves"
Expand Down
28 changes: 10 additions & 18 deletions code/modules/gear_presets/colonist.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(ACCESS_CIVILIAN_PUBLIC)

/datum/equipment_preset/survivor/prisoner/load_gear(mob/living/carbon/human/new_human)
/datum/equipment_preset/colonist/prisoner/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/boiler/prison(new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/black(new_human), WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/prison(new_human), WEAR_FEET)
Expand All @@ -68,14 +68,6 @@
name = "Prop - Prison - Inmate, Dangerous"
assignment = "High Risk Inmate"
skills = /datum/skills/civilian/prisoner
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(ACCESS_CIVILIAN_PUBLIC)

/datum/equipment_preset/survivor/prisoner/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/boiler/prison(new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/black(new_human), WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/prison(new_human), WEAR_FEET)
..()

//*****************************************************************************************************/
/datum/equipment_preset/colonist/urban/poor
Expand All @@ -94,7 +86,7 @@
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(ACCESS_CIVILIAN_PUBLIC)

/datum/equipment_preset/survivor/hybrisa/civilian/load_gear(mob/living/carbon/human/new_human)
/datum/equipment_preset/colonist/urban/poor/load_gear(mob/living/carbon/human/new_human)

var/random_gear = rand(1,10)
switch(random_gear)
Expand All @@ -113,7 +105,7 @@
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup/brown(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel(new_human), WEAR_BACK)
if(4)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/windbreaker/gray(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/windbreaker/blue(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/boiler/grey(new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/shoes/laceup(new_human), WEAR_FEET)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel(new_human), WEAR_BACK)
Expand All @@ -131,16 +123,16 @@

// Office Workers

/datum/equipment_preset/survivor/hybrisa/civilian_office
/datum/equipment_preset/colonist/urban/rich
name = "Prop - Colonist - White-collar"
assignment = "Class B Inhabitant"
skills = /datum/skills/civilian/survivor
skills = /datum/skills/civilian
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(ACCESS_CIVILIAN_PUBLIC)

survivor_variant = CIVILIAN_SURVIVOR

/datum/equipment_preset/survivor/hybrisa/civilian_office/load_gear(mob/living/carbon/human/new_human)
/datum/equipment_preset/colonist/urban/rich/load_gear(mob/living/carbon/human/new_human)

var/random_gear = rand(1,6)
switch(random_gear)
Expand Down Expand Up @@ -182,14 +174,14 @@

// Part-timers

/datum/equipment_preset/survivor/hybrisa/weymart
/datum/equipment_preset/colonist/weymart
name = "Survivor - Colonist - Weymart Employee"
assignment = "Hi! My name is:"
skills = /datum/skills/civilian
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(ACCESS_CIVILIAN_PUBLIC)

/datum/equipment_preset/survivor/hybrisa/weymart/load_gear(mob/living/carbon/human/new_human)
/datum/equipment_preset/colonist/weymart/load_gear(mob/living/carbon/human/new_human)
var/random_gear = rand(1,3)
switch(random_gear)
if(1)
Expand All @@ -210,11 +202,11 @@

// Utility Workers

/datum/equipment_preset/survivor/hybrisa/sanitation
/datum/equipment_preset/colonist/sanitation
name = "Prop - Colonist - Sanitation Worker"
assignment = "Material Reprocessing Technician"

/datum/equipment_preset/survivor/hybrisa/fire_fighter
/datum/equipment_preset/colonist/fire_fighter
name = "Prop - Colonist - Firefighter"
assignment = "Fire Protection Specialist"

Expand Down
18 changes: 5 additions & 13 deletions code/modules/gear_presets/corpses.dm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

/datum/equipment_preset/corpse
name = "Corpse"
name = "Corpse - Colonist - Blue-collar"
flags = EQUIPMENT_PRESET_EXTRA
assignment = "Class C Inhabitant"
rank = JOB_COLONIST
Expand Down Expand Up @@ -73,7 +73,7 @@
new_human.pulse = PULSE_NONE

/datum/equipment_preset/corpse/load_gear(mob/living/carbon/human/new_human)
var/random_gear = rand(1,10)
var/random_gear = rand(1,6)
switch(random_gear)
if(1)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/windbreaker/brown(new_human), WEAR_JACKET)
Expand Down Expand Up @@ -106,10 +106,9 @@
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel(new_human), WEAR_BACK)

//*****************************************************************************************************/
// Civilians

/datum/equipment_preset/corpse/prisoner
name = "Corpse - Prisoner"
name = "Corpse - Prison - Inmate"
assignment = "Prisoner"

/datum/equipment_preset/corpse/prisoner/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -119,9 +118,8 @@
//*****************************************************************************************************/

/datum/equipment_preset/corpse/doctor
name = "Corpse - Doctor"
name = "Corpse - Colonist - Doctor"
assignment = "Medical Doctor"
xenovictim = TRUE
access = list(ACCESS_CIVILIAN_PUBLIC, ACCESS_CIVILIAN_RESEARCH, ACCESS_CIVILIAN_MEDBAY)

/datum/equipment_preset/corpse/doctor/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -135,7 +133,6 @@
/datum/equipment_preset/corpse/engineer
name = "Corpse - Engineer"
assignment = "Station Engineer"
xenovictim = TRUE
access = list(ACCESS_CIVILIAN_PUBLIC, ACCESS_CIVILIAN_LOGISTICS, ACCESS_CIVILIAN_ENGINEERING)

/datum/equipment_preset/corpse/engineer/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -150,8 +147,6 @@
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress(new_human), WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/clothing/glasses/welding(new_human), WEAR_EYES)
new_human.equip_to_slot_or_del(new /obj/item/clothing/gloves/marine/insulated(new_human), WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/attachable/bayonet(new_human.back), WEAR_IN_BACK)


if(SSmapping.configs[GROUND_MAP].environment_traits[MAP_COLD])
add_ice_colony_survivor_equipment(new_human)
Expand Down Expand Up @@ -337,10 +332,7 @@
/datum/equipment_preset/corpse/prison_security/load_gear(mob/living/carbon/human/new_human)

new_human.equip_to_slot_or_del(new /obj/item/clothing/under/security(new_human), WEAR_BODY)
if(SSmapping.configs[GROUND_MAP].environment_traits[MAP_COLD])
add_ice_colony_survivor_equipment(new_human)
else
new_human.equip_to_slot_or_del(new /obj/item/device/radio(new_human), WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/device/radio(new_human), WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/satchel/black(new_human), WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/armor/vest/security(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet(new_human), WEAR_HEAD)
Expand Down
1 change: 0 additions & 1 deletion code/modules/gear_presets/pmc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

/datum/equipment_preset/pmc/pmc_standard/load_gear(mob/living/carbon/human/new_human)

var/choice = rand(1,5)
new_human.equip_to_slot_or_del(new headset_type, WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/opfor/pmc, WEAR_BODY)
if(prob(50))
Expand Down
Loading

0 comments on commit b7191e9

Please sign in to comment.