Skip to content

Commit

Permalink
balance: maintenance tunnels access for everyone (#6158)
Browse files Browse the repository at this point in the history
  • Loading branch information
PlayerUnknown14 authored Nov 11, 2024
1 parent f6c757a commit 3df569f
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 43 deletions.
2 changes: 0 additions & 2 deletions code/controllers/configuration/entries/config.dm
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@

/datum/config_entry/number/simultaneous_pm_warning_timeout
default = 100
///Do assistants get maint access?
/datum/config_entry/flag/assistant_maint

///How long the gateway takes before it activates. Default is 10 minutes. Only matters if roundstart_away is enabled.
/datum/config_entry/number/gateway_delay
Expand Down
9 changes: 2 additions & 7 deletions code/game/jobs/job/civilian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#e6e6e6"
access = list() //See /datum/job/assistant/get_access()
minimal_access = list() //See /datum/job/assistant/get_access()
access = list(ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MAINT_TUNNELS)
alt_titles = list("Tourist","Businessman","Trader","Assistant")
outfit = /datum/outfit/job/assistant
insurance_type = INSURANCE_TYPE_BUDGETARY
Expand All @@ -19,11 +19,6 @@
min_start_money = 10
max_start_money = 200

/datum/job/civilian/get_access()
if(CONFIG_GET(flag/assistant_maint))
return list(ACCESS_MAINT_TUNNELS)
else
return list()

/datum/outfit/job/assistant
name = "Civilian"
Expand Down
24 changes: 12 additions & 12 deletions code/game/jobs/job/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
supervisors = "the chief medical officer"
department_head = list(JOB_TITLE_CMO)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_MAINT_TUNNELS)
alt_titles = list("Surgeon","Nurse")
minimal_player_age = 3
exp_requirements = 600
Expand Down Expand Up @@ -145,8 +145,8 @@
supervisors = "the chief medical officer"
department_head = list(JOB_TITLE_CMO)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_MAINT_TUNNELS)
minimal_player_age = 3
exp_requirements = 180
exp_type = EXP_TYPE_CREW
Expand Down Expand Up @@ -211,8 +211,8 @@
supervisors = "the chief medical officer"
department_head = list(JOB_TITLE_CMO)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_MEDICAL, ACCESS_CHEMISTRY, ACCESS_MINERAL_STOREROOM)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_CHEMISTRY, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
alt_titles = list("Pharmacist","Pharmacologist")
minimal_player_age = 7
exp_requirements = 600
Expand Down Expand Up @@ -250,8 +250,8 @@
supervisors = "the chief medical officer and the research director"
department_head = list(JOB_TITLE_CMO, JOB_TITLE_RD)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_GENETICS, ACCESS_RESEARCH)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_GENETICS, ACCESS_RESEARCH, ACCESS_MAINT_TUNNELS)
minimal_player_age = 3
exp_requirements = 900
exp_type = EXP_TYPE_MEDICAL
Expand Down Expand Up @@ -288,8 +288,8 @@
supervisors = "the chief medical officer"
department_head = list(JOB_TITLE_CMO)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_MEDICAL, ACCESS_VIROLOGY, ACCESS_MINERAL_STOREROOM)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_VIROLOGY, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
alt_titles = list("Pathologist","Microbiologist")
minimal_player_age = 7
exp_requirements = 900
Expand Down Expand Up @@ -328,8 +328,8 @@
supervisors = "the chief medical officer"
department_head = list(JOB_TITLE_CMO)
selection_color = "#d1eeff"
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_PSYCHIATRIST)
minimal_access = list(ACCESS_MEDICAL, ACCESS_PSYCHIATRIST)
access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_PSYCHIATRIST, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MEDICAL, ACCESS_PSYCHIATRIST, ACCESS_MAINT_TUNNELS)
alt_titles = list("Psychologist","Therapist")
outfit = /datum/outfit/job/psychiatrist

Expand Down
8 changes: 4 additions & 4 deletions code/game/jobs/job/science.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
supervisors = "the research director"
department_head = list(JOB_TITLE_RD)
selection_color = "#e6d1f0"
access = list(ACCESS_ROBOTICS, ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_RESEARCH, ACCESS_XENOBIOLOGY, ACCESS_XENOARCH, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_RESEARCH, ACCESS_XENOBIOLOGY, ACCESS_XENOARCH, ACCESS_MINERAL_STOREROOM)
access = list(ACCESS_ROBOTICS, ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_RESEARCH, ACCESS_XENOBIOLOGY, ACCESS_XENOARCH, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_RESEARCH, ACCESS_XENOBIOLOGY, ACCESS_XENOARCH, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
alt_titles = list("Anomalist", "Plasma Researcher", "Xenobiologist", "Chemical Researcher")
minimal_player_age = 3
exp_requirements = 600
Expand Down Expand Up @@ -149,8 +149,8 @@
supervisors = "the research director"
department_head = list(JOB_TITLE_RD)
selection_color = "#e6d1f0"
access = list(ACCESS_ROBOTICS, ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_TECH_STORAGE, ACCESS_MORGUE, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM) //As a job that handles so many corpses, it makes sense for them to have morgue access.
minimal_access = list(ACCESS_ROBOTICS, ACCESS_TECH_STORAGE, ACCESS_MORGUE, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM) //As a job that handles so many corpses, it makes sense for them to have morgue access.
access = list(ACCESS_ROBOTICS, ACCESS_TOX, ACCESS_TOX_STORAGE, ACCESS_TECH_STORAGE, ACCESS_MORGUE, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS) //As a job that handles so many corpses, it makes sense for them to have morgue access.
minimal_access = list(ACCESS_ROBOTICS, ACCESS_TECH_STORAGE, ACCESS_MORGUE, ACCESS_RESEARCH, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS) //As a job that handles so many corpses, it makes sense for them to have morgue access.
alt_titles = list("Biomechanical Engineer","Mechatronic Engineer")
minimal_player_age = 3
exp_requirements = 900
Expand Down
28 changes: 14 additions & 14 deletions code/game/jobs/job/support.dm
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM)
minimal_access = list(ACCESS_BAR, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM)
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_BAR, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM, ACCESS_MAINT_TUNNELS)
alt_titles = list("Barman","Barkeeper","Drink Artist")
outfit = /datum/outfit/job/bartender

Expand Down Expand Up @@ -193,8 +193,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE)
minimal_access = list(ACCESS_KITCHEN)
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_KITCHEN, ACCESS_MAINT_TUNNELS)
alt_titles = list("Cook","Culinary Artist","Butcher")
outfit = /datum/outfit/job/chef

Expand Down Expand Up @@ -245,8 +245,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE)
minimal_access = list(ACCESS_HYDROPONICS, ACCESS_MORGUE)
access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_HYDROPONICS, ACCESS_MORGUE, ACCESS_MAINT_TUNNELS)
alt_titles = list("Hydroponicist", "Botanical Researcher")
exp_requirements = 300
exp_type = EXP_TYPE_CREW
Expand Down Expand Up @@ -284,8 +284,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_CLOWN, ACCESS_THEATRE)
minimal_access = list(ACCESS_CLOWN, ACCESS_THEATRE)
access = list(ACCESS_CLOWN, ACCESS_THEATRE, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_CLOWN, ACCESS_THEATRE, ACCESS_MAINT_TUNNELS)
alt_titles = list("Performance Artist","Comedian","Jester")
outfit = /datum/outfit/job/clown

Expand Down Expand Up @@ -502,8 +502,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_MIME, ACCESS_THEATRE)
minimal_access = list(ACCESS_MIME, ACCESS_THEATRE)
access = list(ACCESS_MIME, ACCESS_THEATRE, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MIME, ACCESS_THEATRE, ACCESS_MAINT_TUNNELS)
alt_titles = list("Panthomimist")
outfit = /datum/outfit/job/mime

Expand Down Expand Up @@ -590,8 +590,8 @@
supervisors = "the head of personnel"
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
access = list(ACCESS_LIBRARY)
minimal_access = list(ACCESS_LIBRARY)
access = list(ACCESS_LIBRARY, ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_LIBRARY, ACCESS_MAINT_TUNNELS)
alt_titles = list("Journalist")
outfit = /datum/outfit/job/librarian

Expand Down Expand Up @@ -624,8 +624,8 @@
department_head = list(JOB_TITLE_HOP)
selection_color = "#d1e8d3"
alt_titles = list("Hair Stylist","Beautician")
access = list()
minimal_access = list()
access = list(ACCESS_MAINT_TUNNELS)
minimal_access = list(ACCESS_MAINT_TUNNELS)
outfit = /datum/outfit/job/barber

salary = 100
Expand Down
5 changes: 1 addition & 4 deletions config/example/config.txt
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,6 @@ SOCKET_TALK 0
## How long the delay is before the Away Mission gate opens. Default is half an hour.
GATEWAY_DELAY 6000

## Remove the # to give assistants maint access.
ASSISTANT_MAINT

## Remove the # to enable assistant limiting.
ASSISTANT_LIMIT

Expand Down Expand Up @@ -714,7 +711,7 @@ CACHE_ASSETS 0

## Enables loading titlescreen only after master has been loaded. Recommended to be used on local server for faster loading.
#ENABLE_TITLESCREEN_LATELOAD

## Disable the loading of "Taipan"
#DISABLE_TAIPAN

Expand Down

0 comments on commit 3df569f

Please sign in to comment.