diff --git a/code/controllers/subsystem/job.dm b/code/controllers/subsystem/job.dm index 077f23d1e6..16de064a12 100644 --- a/code/controllers/subsystem/job.dm +++ b/code/controllers/subsystem/job.dm @@ -19,6 +19,8 @@ SUBSYSTEM_DEF(job) var/list/level_order = list(JP_HIGH,JP_MEDIUM,JP_LOW) + var/force_customer = TRUE + /datum/controller/subsystem/job/Initialize(timeofday) SSmapping.HACK_LoadMapConfig() if(!occupations.len) diff --git a/code/modules/holiday/party_time.dm b/code/modules/holiday/party_time.dm index 7f851a45df..369da345b1 100644 --- a/code/modules/holiday/party_time.dm +++ b/code/modules/holiday/party_time.dm @@ -6,8 +6,11 @@ /datum/holiday/weekly /// Which day(s) of the week this holiday is celebrated on var/list/weekdays = list() + var/enabled = TRUE /datum/holiday/weekly/shouldCelebrate(dd, mm, yy, ww, ddd) + if(!enabled) + return FALSE var/adjustedDDD = time2text(world.realtime, "DDD", -6) //Fenny doesn't wanna use UTC, but instead Central Standard Time return (adjustedDDD in weekdays) // ez @@ -23,6 +26,7 @@ var/sparkling var/pizza_time = 5 MINUTES var/pillar_johned + enabled = FALSE /datum/holiday/weekly/potluck/celebrate() . = ..() diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 1eac123b15..ccccd43d89 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -68,7 +68,10 @@ output += "

(Fit Viewport)

" else // output += "

View Character Directory

" - output += "

Join in!

" + if(SSjob.force_customer) + output += "

Join in!

" + else + output += "

Join in!

" //output += "

[LINKIFY_READY("Observe", PLAYER_READY_TO_OBSERVE)]

" output += "

(Fix Chat Window)

" output += "

(Fit Viewport)

" diff --git a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm index b63b60f4c6..64f73bc31c 100644 --- a/code/modules/reagents/chemistry/reagents/medicine_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/medicine_reagents.dm @@ -1662,7 +1662,7 @@ M.confused = max(0, M.confused-6*REM) M.disgust = max(0, M.disgust-6*REM) var/datum/component/mood/mood = M.GetComponent(/datum/component/mood) - if(mood.sanity <= SANITY_NEUTRAL) // only take effect if in negative sanity and then... + if(mood && mood.sanity <= SANITY_NEUTRAL) // only take effect if in negative sanity and then... mood.setSanity(min((mood.sanity+5)*REM, SANITY_NEUTRAL)) // set minimum to prevent unwanted spiking over neutral ..() . = 1