Parallax in Darkness (#22136)

* you can now see parallax in darkness

* moved parallax_darkness to toggles2

* uh oh

* one more thing

* total value

* Update code/modules/client/preference/link_processing.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
HMBGERDO
2023-10-01 12:06:08 +01:00
committed by GitHub
co-authored by Contrabang
parent 85d8aeee96
commit 9ecfd05267
6 changed files with 34 additions and 6 deletions
@@ -1086,6 +1086,10 @@
if(parent && parent.mob && parent.mob.hud_used)
parent.mob.hud_used.update_parallax_pref()
if("parallax_darkness")
toggles2 ^= PREFTOGGLE_2_PARALLAX_IN_DARKNESS
parent.mob?.hud_used?.update_parallax_pref()
if("screentip_mode")
var/desired_screentip_mode = clamp(input(user, "Pick a screentip size, pick 0 to disable screentips. (We suggest a number between 8 and 15):", "Screentip Size") as null|num, 0, 20)
if(!isnull(desired_screentip_mode))