Skip to content
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

ERT Update #3383

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
290 changes: 0 additions & 290 deletions code/datums/ert.dm

This file was deleted.

39 changes: 39 additions & 0 deletions code/datums/ert/_ert.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/datum/ert
var/mobtype = /mob/living/carbon/human
var/team = /datum/team/ert
// opens a special subtype of blastdoor. also a legacy setting that will probably not work with multiple outposts
var/opendoors = FALSE
var/leader_role = /datum/antagonist/ert/independent
// makes members spawn as humans. mostly a legacy setting but maybe you'll find it useful
var/enforce_human = FALSE
// list of possible roles to be assigned to ERT members. if it has a value (e.g. datum/antagonist/myspecialguy = 1), the role will be limited
var/roles = list(/datum/antagonist/ert/independent)
// this will appear in the end of round report and the antagonist team list
var/rename_team = "Emergency Response Team"
// this will be shown to the ERT members to be put in their memory
var/mission = "Make effective use of your tools."
// determines the size of the team. make sure there's enough size for all the special roles you may add
var/teamsize = 5
// this will be shown to ghosts as "Would you be interested in [polldesc]?"
var/polldesc = "an emergency response team"
/// If TRUE, gives the team members "[role] [random last name]" style names
var/random_names = FALSE
/// If TRUE, special slots (that are not the leader) will use a predefined limit
var/limit_slots = TRUE
/// If TRUE, the admin who created the response team will be spawned in the briefing room (or in the shuttle) in their preferred briefing outfit (assuming they're a ghost)
var/spawn_admin = FALSE
/// If TRUE, we try and pick one of the most experienced players who volunteered to fill the leader slot
var/leader_experience = TRUE
/// A custom map template to spawn the ERT at. If use_custom_shuttle is FALSE, the ERT will spawn on foot. By default, a Kunai-Class.
var/datum/map_template/ert_template = /datum/map_template/shuttle/subshuttles/kunai
/// If we should actually _use_ the ert_template custom shuttle
var/use_custom_shuttle = TRUE
/// If TRUE, the ERT will spawn at the outpost. If use_custom_shuttle is also TRUE, the shuttle will be docked at the outpost
var/spawn_at_outpost = TRUE
/// should we give the ERT access to the outpost
var/outpost_access = FALSE

/datum/ert/New()
. = ..()
if(!polldesc)
polldesc = "uhm uhh uhmmmm"
59 changes: 59 additions & 0 deletions code/datums/ert/ert_clip.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/datum/ert/minutemen
teamsize = 5
leader_role = /datum/antagonist/ert/minutemen/leader
/// TODO: figure out a way to fill in at least one rifleman first
roles = list(/datum/antagonist/ert/minutemen, /datum/antagonist/ert/minutemen/corpsman = 1, /datum/antagonist/ert/minutemen/engi = 1, /datum/antagonist/ert/minutemen/gunner = 1)
mission = "Keep the peace in sector affairs."
rename_team = "CLIP Minutemen Infantry"
polldesc = "a CLIP Minutemen squadron"
ert_template = /datum/map_template/shuttle/subshuttles/crux

/datum/ert/minutemen/eva
leader_role = /datum/antagonist/ert/minutemen/leader/eva
roles = list(/datum/antagonist/ert/minutemen/eva)

/datum/ert/minutemen/inspector
teamsize = 1
leader_role = /datum/antagonist/ert/minutemen/inspector
roles = list(/datum/antagonist/ert/minutemen/inspector)
rename_team = "CLIP Minutemen GOLD Inspector"
polldesc = "a CLIP Minutemen inspector"

/datum/ert/minutemen/inspector/guarded
teamsize = 3
roles = list(/datum/antagonist/ert/minutemen/military_police)

/datum/ert/minutemen/bard
teamsize = 4
leader_role = /datum/antagonist/ert/minutemen/bard
roles = list(/datum/antagonist/ert/minutemen/bard)
rename_team = "BARD Biohazard Squadron"
polldesc = "a CLIP BARD biohazard team"

/datum/ert/minutemen/bard/emergency
leader_role = /datum/antagonist/ert/minutemen/bard/emergency/leader
roles = list(/datum/antagonist/ert/minutemen/bard/emergency, /datum/antagonist/ert/minutemen/bard/medic = 1, /datum/antagonist/ert/minutemen/bard/flamer = 1)
rename_team = "BARD Emergency Squadron"
polldesc = "an emergency CLIP BARD team"

/datum/ert/minutemen/military_police
teamsize = 4
leader_role = /datum/antagonist/ert/minutemen/military_police/leader
roles = list(/datum/antagonist/ert/minutemen/military_police)
rename_team = "C-MM Military Police"
polldesc = "a C-MM military police team"

/datum/ert/minutemen/military_police/riot
leader_role = /datum/antagonist/ert/minutemen/military_police/leader/riot
roles = list(/datum/antagonist/ert/minutemen/military_police/riot)
rename_team = "C-MM Riot Control Team"
polldesc = "a C-MM riot control team"

/datum/ert/minutemen/journalist
teamsize = 3
leader_role = /datum/antagonist/ert/minutemen/correspondant
roles = list(/datum/antagonist/ert/minutemen/correspondant)
mission = "Inform the public of the frontier's news."
rename_team = "C-MM Correspondants"
polldesc = "a C-MM media team"
ert_template = /datum/map_template/shuttle/subshuttles/kunai
Loading
Loading