Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
spartanbobby committed Jul 19, 2023
1 parent fea8f3a commit 253c65b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
2 changes: 1 addition & 1 deletion code/game/objects/items/devices/radio/headset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@
volume = RADIO_VOLUME_QUIET
ignore_z = FALSE
has_hud = TRUE
hud_type = MOB_HUD_FORECON
hud_type = MOB_HUD_FACTION_USCM

/obj/item/device/radio/headset/almayer/mcom/vc
name = "marine vehicle crew radio headset"
Expand Down
34 changes: 1 addition & 33 deletions code/modules/gear_presets/forcon_survivors.dm
Original file line number Diff line number Diff line change
@@ -1,43 +1,11 @@
///*****************************LV-522 Force Recon Survivors*******************************************************/
//Nanu told me to put them here so they dont clutter up survivors.dm
/datum/faction/forecon
name = "USCM Force Recon"
faction_tag = FACTION_FORECON

/datum/faction/forecon/modify_hud_holder(image/holder, mob/living/carbon/human/human)
var/hud_icon_state
var/obj/item/card/id/ID = human.get_idcard()
var/_role
if(human.mind)
_role = human.job
else if(ID)
_role = ID.rank
switch(_role)
if(JOB_FORECON_CO)
hud_icon_state = "co"
if(JOB_FORECON_SL)
hud_icon_state = "sl"
if(JOB_FORECON_SYN)
hud_icon_state = "synth"
if(JOB_FORECON_SNIPER)
hud_icon_state = "spec"
if(JOB_FORECON_MARKSMAN)
hud_icon_state = "spec"
if(JOB_FORECON_SMARTGUNNER)
hud_icon_state = "smartgunner"
if(JOB_FORECON_SUPPORT)
hud_icon_state = "support"
if(JOB_FORECON_RIFLEMAN)
hud_icon_state = "rifleman"
if(hud_icon_state)
holder.overlays += image('icons/mob/hud/marine_hud.dmi', human, "forecon_[hud_icon_state]")

/datum/equipment_preset/survivor/forecon
paygrade = "ME5"
idtype = /obj/item/card/id/dogtag
role_comm_title = "FORECON"
rank = JOB_SURVIVOR
faction_group = list(FACTION_USCM, FACTION_SURVIVOR, FACTION_FORECON,)
faction_group = list(FACTION_USCM, FACTION_SURVIVOR,)
flags = EQUIPMENT_PRESET_START_OF_ROUND
access = list(
ACCESS_CIVILIAN_PUBLIC,
Expand Down

0 comments on commit 253c65b

Please sign in to comment.