mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
sanity fix
This commit is contained in:
@@ -185,13 +185,13 @@
|
||||
if(7)
|
||||
setSanity(sanity+0.3, SANITY_UNSTABLE)
|
||||
if(8)
|
||||
setSanity(sanity+0.4, SANITY_NEUTRAL, SANITY_MAXIMUM)
|
||||
setSanity(sanity+0.4, SANITY_NEUTRAL)
|
||||
if(9)
|
||||
setSanity(sanity+0.6, SANITY_NEUTRAL, SANITY_MAXIMUM)
|
||||
setSanity(sanity+0.6, SANITY_NEUTRAL)
|
||||
HandleNutrition()
|
||||
|
||||
///Sets sanity to the specified amount and applies effects.
|
||||
/datum/component/mood/proc/setSanity(amount, minimum=SANITY_INSANE, maximum=SANITY_GREAT, override = FALSE)
|
||||
/datum/component/mood/proc/setSanity(amount, minimum=SANITY_INSANE, maximum=SANITY_MAXIMUM, override = FALSE)
|
||||
// If we're out of the acceptable minimum-maximum range move back towards it in steps of 0.5
|
||||
// If the new amount would move towards the acceptable range faster then use it instead
|
||||
if(amount < minimum)
|
||||
|
||||
Reference in New Issue
Block a user