mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
woops forgot those
This commit is contained in:
@@ -208,15 +208,15 @@
|
||||
switch(sanity)
|
||||
if(SANITY_INSANE to SANITY_CRAZY)
|
||||
setInsanityEffect(MAJOR_INSANITY_PEN)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/insane, override = TRUE)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/insane)
|
||||
sanity_level = 6
|
||||
if(SANITY_CRAZY to SANITY_UNSTABLE)
|
||||
setInsanityEffect(MINOR_INSANITY_PEN)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/crazy, override = TRUE)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/crazy)
|
||||
sanity_level = 5
|
||||
if(SANITY_UNSTABLE to SANITY_DISTURBED)
|
||||
setInsanityEffect(0)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/disturbed, override = TRUE)
|
||||
master.add_movespeed_modifier(/datum/movespeed_modifier/sanity/disturbed)
|
||||
sanity_level = 4
|
||||
if(SANITY_DISTURBED to SANITY_NEUTRAL)
|
||||
setInsanityEffect(0)
|
||||
@@ -232,19 +232,6 @@
|
||||
sanity_level = 1
|
||||
update_mood_icon()
|
||||
|
||||
/datum/movespeed_modifier/sanity
|
||||
id = MOVESPEED_ID_SANITY
|
||||
movetypes = (~FLYING)
|
||||
|
||||
/datum/movespeed_modifier/sanity/insane
|
||||
multiplicative_slowdown = 1
|
||||
|
||||
/datum/movespeed_modifier/sanity/crazy
|
||||
multiplicative_slowdown = 0.5
|
||||
|
||||
/datum/movespeed_modifier/sanity/disturbed
|
||||
multiplicative_slowdown = 0.25
|
||||
|
||||
/datum/component/mood/proc/setInsanityEffect(newval)
|
||||
if(newval == insanity_effect)
|
||||
return
|
||||
|
||||
@@ -176,8 +176,3 @@
|
||||
sleep(duration)
|
||||
victim.remove_movespeed_modifier(/datum/movespeed_modifier/yellow_orb)
|
||||
to_chat(victim, "<span class='notice'>You slow down.</span>")
|
||||
|
||||
/datum/movespeed_modifier/yellow_orb
|
||||
id = MOVESPEED_ID_YELLOW_ORB
|
||||
multiplicative_slowdown = -2
|
||||
blacklisted_movetypes = (FLYING|FLOATING)
|
||||
|
||||
@@ -501,10 +501,6 @@
|
||||
else
|
||||
remove_movespeed_modifier(/datum/movespeed_modifier/carbon_crawling)
|
||||
|
||||
/datum/movespeed_modifier/carbon_crawling
|
||||
id = MOVESPEED_ID_CARBON_CRAWLING
|
||||
multiplicative_slowdown = CRAWLING_ADD_SLOWDOWN
|
||||
|
||||
//Updates the mob's health from bodyparts and mob damage variables
|
||||
/mob/living/carbon/updatehealth()
|
||||
if(status_flags & GODMODE)
|
||||
|
||||
@@ -7,3 +7,16 @@
|
||||
id = MOVESPEED_ID_SNAIL_CRAWL
|
||||
multiplicative_slowdown = -7
|
||||
movetypes = GROUND
|
||||
|
||||
/datum/movespeed_modifier/sanity
|
||||
id = MOVESPEED_ID_SANITY
|
||||
movetypes = (~FLYING)
|
||||
|
||||
/datum/movespeed_modifier/sanity/insane
|
||||
multiplicative_slowdown = 1
|
||||
|
||||
/datum/movespeed_modifier/sanity/crazy
|
||||
multiplicative_slowdown = 0.5
|
||||
|
||||
/datum/movespeed_modifier/sanity/disturbed
|
||||
multiplicative_slowdown = 0.25
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
/datum/movespeed_modifier/admin_varedit
|
||||
variable = TRUE
|
||||
id = MOVESPEED_ID_ADMIN_VAREDIT
|
||||
|
||||
/datum/movespeed_modifier/yellow_orb
|
||||
id = MOVESPEED_ID_YELLOW_ORB
|
||||
multiplicative_slowdown = -2
|
||||
blacklisted_movetypes = (FLYING|FLOATING)
|
||||
|
||||
@@ -118,3 +118,7 @@
|
||||
/datum/movespeed_modifier/slime_tempmod
|
||||
id = MOVESPEED_ID_SLIME_TEMPMOD
|
||||
variable = TRUE
|
||||
|
||||
/datum/movespeed_modifier/carbon_crawling
|
||||
id = MOVESPEED_ID_CARBON_CRAWLING
|
||||
multiplicative_slowdown = CRAWLING_ADD_SLOWDOWN
|
||||
|
||||
Reference in New Issue
Block a user