[MIRROR] Changes the default ghost lighting, makes it a preference [MDB IGNORE] (#12003)

* 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.

* Changes the default ghost lighting, makes it a preference

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-03-11 12:23:26 -05:00
committed by GitHub
co-authored by LemonInTheDark
parent 95c8a80146
commit e13638774a
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)