Skip to content

Commit

Permalink
awaga
Browse files Browse the repository at this point in the history
  • Loading branch information
BonniePandora committed Jan 3, 2025
1 parent 01555bb commit 581c1f9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 44 deletions.
8 changes: 0 additions & 8 deletions code/game/jobs/job/special/usasf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,11 @@
/datum/job/seaman/skittle
title = JOB_NAVY_SKITTLE
gear_preset = /datum/equipment_preset/usasf/crew/flight
gear_preset_secondary = /datum/equipment_preset/usasf/crew/flight/green

/datum/job/seaman/skittle/on_config_load()
entry_message_body = "You are a part of the flight-deck operations crew aboard a USASF vessel, working to prepare and keep aerospace craft in fighting condition. Hoo-yah!"
return ..()

/datum/job/seaman/skittle/purpwhite
gear_preset = /datum/equipment_preset/usasf/crew/flight/purple
gear_preset_secondary = /datum/equipment_preset/usasf/crew/flight/white

/datum/job/seaman/skittle/blue
gear_preset = /datum/equipment_preset/usasf/crew/flight/blue

/datum/job/seaman/medic
title = JOB_NAVY_MEDIC
gear_preset = /datum/equipment_preset/usasf/corpsman
Expand Down
73 changes: 37 additions & 36 deletions code/modules/gear_presets/usasf.dm
Original file line number Diff line number Diff line change
Expand Up @@ -69,50 +69,51 @@
..()

/datum/equipment_preset/usasf/crew/flight
name = "USASF Flight-Deck Crewman (Red)"
assignment = JOB_NAVY_SKITTLE
name = "USASF Flight-Deck Crewman"
rank = JOB_NAVY_SKITTLE
paygrades = list(PAY_SHORT_NE5 = JOB_PLAYTIME_TIER_0)
role_comm_title = "Ordnc"
flags = EQUIPMENT_PRESET_EXTRA
skills = /datum/skills/flight_crew

/datum/equipment_preset/usasf/crew/flight/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf, WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/upp/marinepilot, WEAR_HEAD)
..()

/datum/equipment_preset/usasf/crew/flight/green
name = "USASF Flight-Deck Crewman (green)"
role_comm_title = "Mntnc"

/datum/equipment_preset/usasf/crew/flight/green/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/green, WEAR_JACKET)
..()

/datum/equipment_preset/usasf/crew/flight/purple
name = "USASF Flight-Deck Crewman (purple)"
role_comm_title = "Fuel"
/datum/equipment_preset/usasf/crew/flight/get_assignment(mob/living/carbon/human/new_human)
if(prob(20))
return "USASF Flight-Deck Ordnance Crewman"
if(prob(20))
return "USASF Flight-Deck Maintenance Crewman"
if(prob(20))
return "USASF Flight-Deck Fuel Crewman"
if(prob(20))
return "USASF Flight-Deck Safety Crewman"
return "USASF Flight-Deck Handler Crewman"

#define USAF_ORDNANCE_CREW "USASF Flight-Deck Ordnance Crewman"
#define USAF_MAINT_CREW "USASF Flight-Deck Maintenance Crewman"
#define USAF_FUEL_CREW "USASF Flight-Deck Fuel Crewman"
#define USAF_SAFETY_CREW "USASF Flight-Deck Safety Crewman"
#define USAF_HANDLER_CREW "USASF Flight-Deck Handler Crewman"

/datum/equipment_preset/usasf/crew/flight/purple/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/purple, WEAR_JACKET)
..()

/datum/equipment_preset/usasf/crew/flight/white
name = "USASF Flight-Deck Crewman (white)"
role_comm_title = "Sfty"

/datum/equipment_preset/usasf/crew/flight/white/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/white, WEAR_JACKET)
..()

/datum/equipment_preset/usasf/crew/flight/blue
name = "USASF Flight-Deck Crewman (blue)"
role_comm_title = "Hndlr"
/datum/equipment_preset/usasf/crew/flight/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/helmet/upp/marinepilot, WEAR_HEAD)
var/flight_deck_vest = pick(USAF_ORDNANCE_CREW ,USAF_MAINT_CREW,USAF_FUEL_CREW,USAF_SAFETY_CREW,USAF_HANDLER_CREW)
switch(flight_deck_vest)
if(USAF_ORDNANCE_CREW)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf, WEAR_JACKET)
if(USAF_MAINT_CREW)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/green, WEAR_JACKET)
if(USAF_FUEL_CREW)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/purple, WEAR_JACKET)
if(USAF_SAFETY_CREW)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/white, WEAR_JACKET)
if(USAF_HANDLER_CREW)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/blue, WEAR_JACKET)
..()
#undef USAF_ORDNANCE_CREW
#undef USAF_MAINT_CREW
#undef USAF_FUEL_CREW
#undef USAF_SAFETY_CREW
#undef USAF_HANDLER_CREW

/datum/equipment_preset/usasf/crew/flight/blue/load_gear(mob/living/carbon/human/new_human)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/hazardvest/usasf/blue, WEAR_JACKET)
..()

//*****************************************************************************************************/

Expand Down

0 comments on commit 581c1f9

Please sign in to comment.