8000 UA Colonial Guard | Additional sub-roles for Props by CactusMouth · Pull Request #879 · cmss13-devs/cmss13-pve · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

UA Colonial Guard | Additional sub-roles for Props #879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
54446f4
UACG New Roles
CactusMouth Apr 6, 2025
3e8f244
Leader type removal
CactusMouth Apr 6, 2025
22ce567
Testing fixes
8000 CactusMouth Apr 6, 2025
ea63b85
Minor update: Flares, Binoculars and RTO backpack
CactusMouth Apr 6, 2025
34b4c69
Removed fun stuff
CactusMouth Apr 6, 2025
73d7258
Army Ranks + LatAm
CactusMouth Apr 6, 2025
e8ad9e2
Techie is now a Corporal
CactusMouth Apr 6, 2025
132a0f7
Minor LatAm errors
CactusMouth Apr 6, 2025
13c4e1d
HUD And minor tweaks
CactusMouth Apr 7, 2025
43d3594
Minor tweak I forgot to add
CactusMouth Apr 7, 2025
fb7b897
Trial and error
CactusMouth Apr 7, 2025
214483d
Wrong names for HUDs
CactusMouth Apr 7, 2025
fca1a0d
Moved to the CMB Folder
CactusMouth Apr 7, 2025
bbc2ac9
Trying to make the HUD work
CactusMouth Apr 7, 2025
0a6fc65
Maybe I'm just stupid
CactusMouth Apr 7, 2025
e07de3a
Merge branch 'master' into UACG_Additions
CactusMouth Apr 7, 2025
bf8e270
Minor fix with commas
CactusMouth Apr 7, 2025
b1c037d
Merge branch 'UACG_Additions' of https://github.com/CactusMouth/PvE-C…
CactusMouth Apr 7, 2025
fa1fba6
Faction List update
CactusMouth Apr 7, 2025
fc140d7
UACG HAI Squads
CactusMouth Apr 12, 2025
2ebb87b
Minor updates: Gear and equipment
CactusMouth Apr 16, 2025
3e2439d
Skill updates
CactusMouth Apr 17, 2025
12f4727
Army skills - CLF have heightened skills
CactusMouth Apr 17, 2025
3aa6c7c
CCT Removal
CactusMouth May 16, 2025
6597447
Comms Fix
CactusMouth May 16, 2025
111971b
Merge branch 'master' into UACG_Additions
CactusMouth Jun 12, 2025
0ad12e1
Merge fix
CactusMouth Jun 12, 2025
1ceac1d
Minor HUD fix
CactusMouth Jun 14, 2025
d6e097d
Merge branch 'master' into UACG_Additions
CactusMouth Jun 21, 2025
d0ce01d
Slight change to presets and mode to make it better
CactusMouth Jun 21, 2025
a2ac3db
Merge branch 'master' into UACG_Additions
CactusMouth Jun 21, 2025
efd9462
Removal of HUD parts + Squad switch
CactusMouth Jun 21, 2025
c8434a0
Merge branch 'UACG_Additions' of https://github.com/CactusMouth/PvE-C…
CactusMouth Jun 21, 2025
4afc530
Merge branch 'master' into UACG_Additions
CactusMouth Jun 23, 2025
5cb9e21
Adds UACG Sniper
CactusMouth Jun 24, 2025
149b246
Merge branch 'master' into UACG_Additions
CactusMouth Jun 25, 2025
8889b20
Merge branch 'master' into UACG_Additions
CactusMouth Jun 29, 2025
70d3d4c
Fixes with factions
CactusMouth Jun 29, 2025
9046241
Merge branch 'master' into UACG_Additions
CactusMouth Jul 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code/__DEFINES/job.dm
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,14 @@ GLOBAL_LIST_INIT(job_command_roles, JOB_COMMAND_ROLES_LIST)
#define JOB_TIS_SA "UAAC-TIS Special Agent"

#define TIS_JOB_LIST list(JOB_TIS_SA, JOB_TIS_IO)
//-------- UACG -------//
#define JOB_UACG_RIFLE "Colonial Militiaman"
#define JOB_UACG_TECH "Colonial Militiaman Technician"
#define JOB_UACG_MEDIC "Colonial Militiaman Medic"
#define JOB_UACG_LEAD "Colonial Militiaman Unit Leader"
#define JOB_UACG_OFFICER "Colonial Militiaman Officer"

#define UACG_JOB_LIST list(JOB_UACG_RIFLE, JOB_UACG_TECH, JOB_UACG_MEDIC, JOB_UACG_LEAD, JOB_UACG_OFFICER)
//-------- DUTCH'S DOZEN --------//
#define JOB_DUTCH_ARNOLD "Dutch's Dozen - Dutch"
#define JOB_DUTCH_RIFLEMAN "Dutch's Dozen - Rifleman"
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
#define MOB_HUD_HUNTER 18
#define MOB_HUD_HUNTER_CLAN 19
#define MOB_HUD_EXECUTE 20
#define MOB_HUD_FACTION_UACG 21

//for SL/FTL/LZ targeting on locator huds
#define TRACKER_SL "track_sl"
Expand Down
7 changes: 4 additions & 3 deletions code/__DEFINES/mode.dm
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ DEFINE_BITFIELD(whitelist_status, list(
#define FACTION_NEUTRAL "Neutral"
#define FACTION_MARINE "USCM"
#define FACTION_ARMY "USA"
#define FACTION_UACG "UACG"
#define FACTION_NAVY "USASF"
#define FACTION_SURVIVOR "Survivor"
#define FACTION_UPP "UPP"
Expand All @@ -293,14 +294,14 @@ DEFINE_BITFIELD(whitelist_status, list(
#define FACTION_ZOMBIE "Zombie"
#define FACTION_MONKEY "Monkey" // Nanu

#define FACTION_LIST_MARINE list(FACTION_MARINE, FACTION_ARMY, FACTION_NAVY)
#define FACTION_LIST_HUMANOID list(FACTION_MARINE, FACTION_PMC, FACTION_WY, FACTION_WY_DEATHSQUAD, FACTION_CLF, FACTION_CONTRACTOR, FACTION_MARSHAL, FACTION_UPP, FACTION_FREELANCER, FACTION_SURVIVOR, FACTION_NEUTRAL, FACTION_COLONIST, FACTION_MERCENARY, FACTION_DUTCH, FACTION_HEFA, FACTION_GLADIATOR, FACTION_PIRATE, FACTION_PIZZA, FACTION_SOUTO, FACTION_YAUTJA, FACTION_ZOMBIE, FACTION_TWE, FACTION_ARMY, FACTION_NAVY, FACTION_CANC, FACTION_UA_REBEL, FACTION_TWE_REBEL)
#define FACTION_LIST_MARINE list(FACTION_MARINE, FACTION_ARMY, FACTION_NAVY, FACTION_UACG)
#define FACTION_LIST_HUMANOID list(FACTION_MARINE, FACTION_PMC, FACTION_WY, FACTION_WY_DEATHSQUAD, FACTION_CLF, FACTION_UACG, FACTION_CONTRACTOR, FACTION_MARSHAL, FACTION_UPP, FACTION_FREELANCER, FACTION_SURVIVOR, FACTION_NEUTRAL, FACTION_C 6DB6 OLONIST, FACTION_MERCENARY, FACTION_DUTCH, FACTION_HEFA, FACTION_GLADIATOR, FACTION_PIRATE, FACTION_PIZZA, FACTION_SOUTO, FACTION_YAUTJA, FACTION_ZOMBIE, FACTION_TWE, FACTION_ARMY, FACTION_NAVY, FACTION_CANC, FACTION_UA_REBEL, FACTION_TWE_REBEL)
#define FACTION_LIST_ERT_OTHER list(FACTION_HEFA, FACTION_GLADIATOR, FACTION_PIRATE, FACTION_PIZZA, FACTION_SOUTO)
#define FACTION_LIST_ERT_ALL list(FACTION_PMC, FACTION_WY_DEATHSQUAD, FACTION_WY, FACTION_CLF, FACTION_CONTRACTOR, FACTION_UPP, FACTION_FREELANCER, FACTION_MERCENARY, FACTION_DUTCH, FACTION_HEFA, FACTION_GLADIATOR, FACTION_PIRATE, FACTION_PIZZA, FACTION_SOUTO, FACTION_MARSHAL, FACTION_TWE)
#define FACTION_LIST_WY list(FACTION_PMC, FACTION_WY_DEATHSQUAD, FACTION_WY)
#define FACTION_LIST_UPP list(FACTION_UPP)
#define FACTION_LIST_UPP_COLONY list(FACTION_COLONIST, FACTION_UPP)
#define FACTION_LIST_UA_COLONY list(FACTION_COLONIST, FACTION_MARINE, FACTION_ARMY, FACTION_NAVY, FACTION_MARSHAL)
#define FACTION_LIST_UA_COLONY list(FACTION_COLONIST, FACTION_MARINE, FACTION_UACG, FACTION_ARMY, FACTION_NAVY, FACTION_MARSHAL)
#define FACTION_LIST_WY_COLONY list(FACTION_COLONIST, FACTION_WY)
#define FACTION_LIST_CLF list(FACTION_COLONIST, FACTION_CLF)
#define FACTION_LIST_TWE_REBEL list(FACTION_COLONIST, FACTION_TWE_REBEL)
Expand Down
1 change: 0 additions & 1 deletion code/__DEFINES/radio.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
//CLF Comms
#define RADIO_CHANNEL_CLF_GEN "CLF"
#define RADIO_CHANNEL_CLF_CMD "CLF Command"
#define RADIO_CHANNEL_CLF_CCT "CLF CCT"
#define RADIO_CHANNEL_CLF_MED "CLF Med"
#define RADIO_CHANNEL_CLF_ENGI "CLF Engi"

Expand Down
1 change: 0 additions & 1 deletion code/controllers/subsystem/communications.dm
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ GLOBAL_LIST_INIT(radiochannels, list(
RADIO_CHANNEL_CLF_CMD = CLF_CMD_FREQ,
RADIO_CHANNEL_CLF_ENGI = CLF_ENGI_FREQ,
RADIO_CHANNEL_CLF_MED = CLF_MED_FREQ,
RADIO_CHANNEL_CLF_CCT = CLF_CCT_FREQ,

RADIO_CHANNEL_BUG_A = BUG_A_FREQ,
RADIO_CHANNEL_BUG_B = BUG_B_FREQ,
Expand Down
5 changes: 5 additions & 0 deletions code/datums/factions/cmb.dm
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/datum/faction/cmb
name = "Colonial Marshal Bureau"
faction_tag = FACTION_MARINE

//UACG included
/datum/faction/uacg
name = "United Americas Colonial Guard"
faction_tag = FACTION_UACG
4 changes: 4 additions & 0 deletions code/datums/mob_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
MOB_HUD_HUNTER = new /datum/mob_hud/hunter_hud(),
MOB_HUD_HUNTER_CLAN = new /datum/mob_hud/hunter_clan(),
MOB_HUD_EXECUTE = new /datum/mob_hud/execute_hud(),
MOB_HUD_FACTION_UACG = new /datum/mob_hud/faction/guard(),
))

/datum/mob_hud
Expand Down Expand Up @@ -220,6 +221,9 @@ GLOBAL_LIST_INIT_TYPED(huds, /datum/mob_hud, list(
/datum/mob_hud/faction/pmc
faction_to_check = FACTION_PMC

/datum/mob_hud/faction/guard
faction_to_check = FACTION_UACG

/datum/mob_hud/faction/observer
hud_icons = list(FACTION_HUD, ORDER_HUD, HUNTER_CLAN, HOLOCARD_HUD)

Expand Down
37 changes: 37 additions & 0 deletions code/datums/skills/civilian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,43 @@ CIVILIAN
SKILL_FIREMAN = SKILL_FIREMAN_SKILLED,
)

/datum/skills/civilian/survivor/marshal/medic
name = "Survivor Marshal Medic"
skills = list(
SKILL_ENGINEER = SKILL_ENGINEER_TRAINED,
SKILL_MELEE_WEAPONS = SKILL_MELEE_TRAINED,
SKILL_CONSTRUCTION = SKILL_CONSTRUCTION_TRAINED,
SKILL_ENDURANCE = SKILL_ENDURANCE_SURVIVOR,
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_FIREARMS = SKILL_FIREARMS_TRAINED,
SKILL_POLICE = SKILL_POLICE_SKILLED,
SKILL_FIREMAN = SKILL_FIREMAN_SKILLED,
SKILL_ENGINEER = SKILL_ENGINEER_NOVICE,
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_FIREARMS = SKILL_FIREARMS_TRAINED,
SKILL_MEDICAL = SKILL_MEDICAL_DOCTOR,
SKILL_SURGERY = SKILL_SURGERY_TRAINED,
)

/datum/skills/civilian/survivor/marshal/tech
name = "Survivor Marshal Technician"
skills = list(
SKILL_MELEE_WEAPONS = SKILL_MELEE_TRAINED,
SKILL_MEDICAL = SKILL_MEDICAL_TRAINED,
SKILL_ENDURANCE = SKILL_ENDURANCE_SURVIVOR,
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_FIREARMS = SKILL_FIREARMS_TRAINED,
SKILL_POLICE = SKILL_POLICE_SKILLED,
SKILL_FIREMAN = SKILL_FIREMAN_SKILLED,
SKILL_ENGINEER = SKILL_ENGINEER_NOVICE,
SKILL_CQC = SKILL_CQC_SKILLED,
SKILL_FIREARMS = SKILL_FIREARMS_TRAINED,
SKILL_ENGINEER = SKILL_ENGINEER_TRAINED,
SKILL_CONSTRUCTION = SKILL_CONSTRUCTION_ENGI,
SKILL_POWERLOADER = SKILL_POWERLOADER_MASTER,
SKILL_VEHICLE = SKILL_VEHICLE_SMALL,
)

/datum/skills/civilian/survivor/prisoner
name = "Survivor Prisoner"
additional_skills = list(
Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/items/devices/radio/encryptionkey.dm
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@

/obj/item/device/encryptionkey/clf/engi
name = "\improper CLF Engineering Radio Encryption Key"
channels = list(RADIO_CHANNEL_CLF_GEN = TRUE, RADIO_CHANNEL_CLF_ENGI = TRUE, RADIO_CHANNEL_CLF_CCT = TRUE)
channels = list(RADIO_CHANNEL_CLF_GEN = TRUE, RADIO_CHANNEL_CLF_ENGI = TRUE)

/obj/item/device/encryptionkey/clf/medic
name = "\improper CLF Medical Radio Encryption Key"
channels = list(RADIO_CHANNEL_CLF_GEN = TRUE, RADIO_CHANNEL_CLF_MED = TRUE)

/obj/item/device/encryptionkey/clf/command
name = "\improper CLF Command Radio Encryption Key"
channels = list(RADIO_CHANNEL_CLF_CMD = TRUE, RADIO_CHANNEL_CLF_GEN = TRUE, RADIO_CHANNEL_CLF_ENGI = TRUE, RADIO_CHANNEL_CLF_MED = TRUE, RADIO_CHANNEL_CLF_CCT = TRUE)
channels = list(RADIO_CHANNEL_CLF_CMD = TRUE, RADIO_CHANNEL_CLF_GEN = TRUE, RADIO_CHANNEL_CLF_ENGI = TRUE, RADIO_CHANNEL_CLF_MED = TRUE)
//---------------------------------------------------
/obj/item/device/encryptionkey/highcom
name = "\improper USCM High Command Radio Encryption Key"
Expand Down
6 changes: 3 additions & 3 deletions code/game/objects/items/devices/radio/headset.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@

/obj/item/device/radio/headset/distress/CLF/cct
name = "CLF-CCT headset"
desc = "A special headset used by small groups of trained operatives. Or terrorists. Channels are as follows: :o - colony, #d - combat controller, #b - engineering"
desc = "A special headset used by small groups of trained operatives. Or terrorists. Channels are as follows: :o - colony, #b - engineering"
initial_keys = list(/obj/item/device/encryptionkey/colony, /obj/item/device/encryptionkey/clf/engi)

/obj/item/device/radio/headset/distress/CLF/medic
Expand Down Expand Up @@ -1275,12 +1275,12 @@

/obj/item/device/radio/headset/distress/guard
name = "\improper Colonial Guard radio headset"
desc = "A robust headset used by members of the UA's Colonial Guard. Built to outlast those it's issued to. Featured channels include: ; - Colonial Guard, :o - Colony."
desc = "A robust headset used by members of the UA's Colonial Guard. Built to outlast those it's issued to. Featured channels include: #d - Colonial Guard, :o - Colony."
frequency = GRD_FREQ
icon_state = "generic_headset"
initial_keys = list(/obj/item/device/encryptionkey/guard)
has_hud = TRUE
hud_type = MOB_HUD_FACTION_MARINE
hud_type = MOB_HUD_FACTION_UACG

/obj/item/device/radio/headset/distress/rebel_ua
name = "colony headset"
Expand Down
6 changes: 6 additions & 0 deletions code/game/objects/items/storage/pouch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,12 @@
new /obj/item/storage/pill_bottle/kelotane(src)
new /obj/item/storage/pill_bottle/dexalin(src)

/obj/item/storage/pouch/medical/full/surgery/fill_preset_inventory()
new /obj/item/tool/surgery/synthgraft(src)
new /obj/item/tool/surgery/surgical_line(src)
new /obj/item/stack/medical/advanced/ointment(src)
new /obj/item/stack/medical/advanced/bruise_pack(src)

/obj/item/storage/pouch/medical/socmed
name = "tactical medical pouch"
desc = "A heavy pouch containing everything one needs to get themselves back on their feet. Quite the selection."
Expand Down
2 changes: 2 additions & 0 deletions code/modules/client/preferences_toggles.dm
3D11
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@
H = GLOB.huds[MOB_HUD_FACTION_TWE]
if("Faction CLF HUD")
H = GLOB.huds[MOB_HUD_FACTION_CLF]
if("Faction UACG HUD")
H = GLOB.huds[MOB_HUD_FACTION_UACG]

observer_user.HUD_toggled[hud_choice] = prefs.observer_huds[hud_choice]
if(observer_user.HUD_toggled[hud_choice])
Expand Down
Loading
0