Skip to content

Commit

Permalink
HeadsetsAndIcons
Browse files Browse the repository at this point in the history
  • Loading branch information
Steelpoint committed Aug 14, 2023
1 parent cd68d4d commit dc6333b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
10 changes: 10 additions & 0 deletions code/game/objects/items/devices/radio/headset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1019,3 +1019,13 @@
initial_keys = list(/obj/item/device/encryptionkey/vc)
volume = RADIO_VOLUME_RAISED
multibroadcast_cooldown = HIGH_MULTIBROADCAST_COOLDOWN

/obj/item/device/radio/headset/distress/UPP/recon
name = "UPP headset"
desc = "A special headset used by recon elements of the UPP military."
frequency = UPP_FREQ
initial_keys = list(/obj/item/device/encryptionkey/upp)
volume = RADIO_VOLUME_QUIET
ignore_z = FALSE
has_hud = TRUE
hud_type = MOB_HUD_FACTION_UPP
16 changes: 11 additions & 5 deletions code/modules/gear_presets/survivors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1603,11 +1603,13 @@
new_human.equip_to_slot_or_del(new /obj/item/stack/sheet/metal/med_small_stack(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/clothing/gloves/marine(new_human), WEAR_HANDS)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/UPP/recon(new_human), WEAR_L_EAR)

/datum/equipment_preset/survivor/upp/soldier
name = "Survivor - UPP Soldier"
paygrade = "UE2"
assignment = "UPP Soldier"
assignment = JOB_UPP
rank = JOB_UPP
skills = /datum/skills/military/survivor/upp_private

/datum/equipment_preset/survivor/upp/soldier/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -1630,7 +1632,8 @@
/datum/equipment_preset/survivor/upp/sapper
name = "Survivor - UPP Sapper"
paygrade = "UE3S"
assignment = "UPP Sapper"
assignment = JOB_UPP_ENGI
rank = JOB_UPP_ENGI
skills = /datum/skills/military/survivor/upp_sapper

/datum/equipment_preset/survivor/upp/sapper/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -1656,7 +1659,8 @@
/datum/equipment_preset/survivor/upp/medic
name = "Survivor - UPP Medic"
paygrade = "UE3M"
assignment = "UPP Medic"
assignment = JOB_UPP_MEDIC
rank = JOB_UPP_MEDIC
skills = /datum/skills/military/survivor/upp_medic

/datum/equipment_preset/survivor/upp/medic/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -1683,8 +1687,9 @@

/datum/equipment_preset/survivor/upp/specialist
name = "Survivor - UPP Specialist"
assignment = JOB_UPP_SPECIALIST
rank = JOB_UPP_SPECIALIST
paygrade = "UE4"
assignment = "UPP Specialist"
skills = /datum/skills/military/survivor/upp_spec

/datum/equipment_preset/survivor/upp/specialist/load_gear(mob/living/carbon/human/new_human)
Expand All @@ -1703,8 +1708,9 @@
/datum/equipment_preset/survivor/upp/squad_leader
name = "Survivor - UPP Squad Leader"
paygrade = "UE5"
assignment = JOB_UPP_LEADER
rank = JOB_UPP_LEADER
languages = list(LANGUAGE_RUSSIAN, LANGUAGE_ENGLISH, LANGUAGE_GERMAN, LANGUAGE_CHINESE)
assignment = "UPP Squad Leader"
role_comm_title = "UPP 173Rd RECON SL"
skills = /datum/skills/military/survivor/upp_sl

Expand Down
4 changes: 2 additions & 2 deletions code/modules/gear_presets/synths.dm
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@
name = "Survivor - Synthetic - UPP Synth"
flags = EQUIPMENT_PRESET_EXTRA
assignment = JOB_UPP_COMBAT_SYNTH
rank = JOB_SURVIVOR
rank = JOB_UPP_COMBAT_SYNTH
faction = FACTION_UPP
faction_group = list(FACTION_UPP, FACTION_SURVIVOR)
skills = /datum/skills/colonial_synthetic
Expand All @@ -478,7 +478,7 @@
new_human.equip_to_slot_or_del(uniform, WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/head/uppcap/beret, WEAR_HEAD)
new_human.equip_to_slot_or_del(new /obj/item/tool/screwdriver, WEAR_R_EAR)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress, WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/device/radio/headset/distress/UPP/recon, WEAR_L_EAR)
new_human.equip_to_slot_or_del(new /obj/item/storage/backpack/lightpack/upp, WEAR_BACK)
new_human.equip_to_slot_or_del(new /obj/item/roller, WEAR_IN_BACK)
new_human.equip_to_slot_or_del(new /obj/item/device/multitool, WEAR_IN_BACK)
Expand Down

0 comments on commit dc6333b

Please sign in to comment.