Skip to content

Commit

Permalink
Water alpha fixes (#12877)
Browse files Browse the repository at this point in the history
* Visor fix

* fix HUD stuff

* particles
  • Loading branch information
Lumipharon authored May 4, 2023
1 parent c8718cd commit ee86204
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/game/atoms.dm
Original file line number Diff line number Diff line change
Expand Up @@ -936,12 +936,12 @@ Proc for attack log creation, because really why not
/atom/proc/specialclick(mob/living/carbon/user)
return


//Consolidating HUD infrastructure
/atom/proc/prepare_huds()
hud_list = new
for(var/hud in hud_possible) //Providing huds.
hud_list[hud] = image('icons/mob/hud.dmi', src, "")
var/image/new_hud = image('icons/mob/hud.dmi', src, "")
new_hud.appearance_flags = KEEP_APART
hud_list[hud] = new_hud

/**
* If this object has lights, turn it on/off.
Expand Down
1 change: 1 addition & 0 deletions code/game/objects/effects/particle_holder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
layer = ABOVE_ALL_MOB_LAYER
vis_flags = VIS_INHERIT_PLANE
appearance_flags = KEEP_APART|TILE_BOUND
///typepath of the last location we're in, if it's different when moved then we need to update vis contents
var/last_attached_location_type
///the main item we're attached to at the moment, particle holders hold particles for something
Expand Down
2 changes: 2 additions & 0 deletions code/modules/clothing/modular_armor/attachments/visors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
greyscale_config = /datum/greyscale_config/visors
greyscale_colors = COLOR_VERY_LIGHT_GRAY
secondary_color = TRUE
appearance_flags = KEEP_APART|TILE_BOUND

///whether this helmet should be using its emissive overlay or not
var/visor_emissive_on = TRUE
///Whether or not the helmet is allowed to turn its emissive on or off.
Expand Down

0 comments on commit ee86204

Please sign in to comment.