Changes the default ghost lighting, makes it a preference (#65352)

* Changes the default ghost lighting, makes it a preference

I think the way ghost lighting looks right now is really crummy.
It's dark enough you can see where the shadows should be, but it's just
bright enough for everything to look like dog poo

A lot of what makes the game look nice is the depth of the lighting
and if we just hide that for observers we're shooting ourselves in the
foot.

I'm also making it a game preference, so if someone wants to have bad
opinions they can easily.
This commit is contained in:
LemonInTheDark
2022-03-10 23:11:28 -08:00
committed by GitHub
parent 33e893e113
commit dc20fa1c8c
9 changed files with 58 additions and 8 deletions
+2 -6
View File
@@ -390,9 +390,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
for (var/datum/atom_hud/alternate_appearance/basic/antagonist_hud/antag_hud in GLOB.active_alternate_appearances)
antag_hud.add_hud_to(mob)
if (prefs.toggles & COMBOHUD_LIGHTING)
mob.lighting_alpha = LIGHTING_PLANE_ALPHA_INVISIBLE
mob.lighting_alpha = mob.default_lighting_alpha()
mob.update_sight()
/client/proc/disable_combo_hud()
@@ -408,9 +406,7 @@ Traitors and the like can also be revived with the previous role mostly intact.
for (var/datum/atom_hud/alternate_appearance/basic/antagonist_hud/antag_hud in GLOB.active_alternate_appearances)
antag_hud.remove_hud_from(mob)
if (prefs.toggles & COMBOHUD_LIGHTING)
mob.lighting_alpha = initial(mob.lighting_alpha)
mob.lighting_alpha = mob.default_lighting_alpha()
mob.update_sight()
/datum/admins/proc/show_traitor_panel(mob/target_mob in GLOB.mob_list)