-
Notifications
You must be signed in to change notification settings - Fork 555
/
reporter.dm
39 lines (33 loc) · 1.59 KB
/
reporter.dm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#define MILITARY_VARIANT "Military Correspondent"
#define CIVILIAN_VARIANT "Civilian Correspondent"
/datum/job/civilian/reporter
title = JOB_COMBAT_REPORTER
total_positions = 1
spawn_positions = 1
selection_class = "job_cl"
supervisors = "the acting commanding officer"
gear_preset = /datum/equipment_preset/uscm_ship/reporter
flags_startup_parameters = ROLE_ADD_TO_DEFAULT
selection_class = "job_cl"
job_options = list(CIVILIAN_VARIANT = "Civ", MILITARY_VARIANT = "Mil")
/// If this job is a military variant of the reporter role
var/military = FALSE
/datum/job/civilian/reporter/handle_job_options(option)
if(option != CIVILIAN_VARIANT)
gear_preset = /datum/equipment_preset/uscm_ship/reporter_uscm
military = TRUE
else
gear_preset = initial(gear_preset)
military = initial(military)
/datum/job/civilian/reporter/generate_entry_message(mob/living/carbon/human/H)
if(military)
. = {"The USCM has assigned you to the [MAIN_SHIP_NAME] to better handle messaging on how things run in the Neroid Sector. Get out there and show the universe that the USCM is doing great things!"}
else
. = {"What a scoop! You've been assigned to the [MAIN_SHIP_NAME] to see what kinda mischief they'd get into and it seems trouble is here!
This could be the story of the sector! 'Brave Marines responding to dangerous distress signal!' It'd surely get Mr. Parkerson to notice you in the office if you brought him a story like this!"}
/obj/effect/landmark/start/reporter
name = JOB_COMBAT_REPORTER
job = /datum/job/civilian/reporter
AddTimelock(/datum/job/civilian/reporter, list(
JOB_HUMAN_ROLES = 10 HOURS,
))