Adds anti job camping for heads + Config patch (#9188)

This commit is contained in:
tacoguy7765093
2024-10-08 09:44:49 -04:00
committed by GitHub
parent 9f5562dd15
commit a7f6236a11
9 changed files with 22 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
/datum/configuration /datum/configuration
var/discord_restriction = FALSE var/discord_restriction = FALSE
var/use_jobwhitelist = FALSE var/use_jobwhitelist = TRUE
var/emojis = FALSE var/emojis = FALSE
var/vorefootstep_volume = 75 //In future see about making a function to adjust volume serverside in config.txt, easy to do with reenable values. - Jack var/vorefootstep_volume = 75 //In future see about making a function to adjust volume serverside in config.txt, easy to do with reenable values. - Jack

View File

@@ -3,7 +3,7 @@
// default = FALSE // default = FALSE
/datum/config_entry/flag/use_jobwhitelist /datum/config_entry/flag/use_jobwhitelist
default = FALSE default = TRUE
// FIXME: Unused // FIXME: Unused
///datum/config_entry/flag/emojis ///datum/config_entry/flag/emojis

View File

@@ -1,3 +1,9 @@
/datum/job/captain
camp_protection = TRUE
/datum/job/hop
camp_protection = TRUE
/datum/alt_title/bridge_officer /datum/alt_title/bridge_officer
title = JOB_ALT_BRIDGE_OFFICER title = JOB_ALT_BRIDGE_OFFICER
title_outfit = /decl/hierarchy/outfit/job/bridge_officer title_outfit = /decl/hierarchy/outfit/job/bridge_officer

View File

@@ -0,0 +1,2 @@
/datum/job/chief_engineer
camp_protection = TRUE

View File

@@ -0,0 +1,2 @@
/datum/job/cmo
camp_protection = TRUE

View File

@@ -0,0 +1,2 @@
/datum/job/rd
camp_protection = TRUE

View File

@@ -1,3 +1,6 @@
/datum/job/hos
camp_protection = TRUE
/datum/job/brigphysician /datum/job/brigphysician
title = JOB_BRIG_PHYSICIAN title = JOB_BRIG_PHYSICIAN
flag = BRIGPHYS flag = BRIGPHYS

View File

@@ -1,3 +1,6 @@
/datum/job/ai
camp_protection = TRUE
/datum/job/ai/is_species_banned(species_name, brain_type) /datum/job/ai/is_species_banned(species_name, brain_type)
// Any species can join as AI, including shadekin. // Any species can join as AI, including shadekin.
return FALSE return FALSE

View File

@@ -4746,7 +4746,9 @@
#include "modular_chomp\code\game\gamemodes\meteor\meteors.dm" #include "modular_chomp\code\game\gamemodes\meteor\meteors.dm"
#include "modular_chomp\code\game\jobs\job\captain.dm" #include "modular_chomp\code\game\jobs\job\captain.dm"
#include "modular_chomp\code\game\jobs\job\department.dm" #include "modular_chomp\code\game\jobs\job\department.dm"
#include "modular_chomp\code\game\jobs\job\engineering.dm"
#include "modular_chomp\code\game\jobs\job\job_goodies.dm" #include "modular_chomp\code\game\jobs\job\job_goodies.dm"
#include "modular_chomp\code\game\jobs\job\medical.dm"
#include "modular_chomp\code\game\jobs\job\noncrew.dm" #include "modular_chomp\code\game\jobs\job\noncrew.dm"
#include "modular_chomp\code\game\jobs\job\security.dm" #include "modular_chomp\code\game\jobs\job\security.dm"
#include "modular_chomp\code\game\jobs\job\silicon.dm" #include "modular_chomp\code\game\jobs\job\silicon.dm"