mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Filterrific! (#55246)
Filter refactor + In Game Filter Editor Accessed via VV in the dropdown of atoms. "Edit Filters. Makes filters actually usable. Co-authored-by: ghgh <hghgh>
This commit is contained in:
@@ -610,8 +610,8 @@
|
||||
if(mob_mask.Height() > world.icon_size || mob_mask.Width() > world.icon_size)
|
||||
var/health_doll_icon_state = health_doll_icon ? health_doll_icon : "megasprite"
|
||||
mob_mask = icon('icons/hud/screen_gen.dmi', health_doll_icon_state) //swap to something generic if they have no special doll
|
||||
livingdoll.filters += filter(type="alpha", icon = mob_mask)
|
||||
livingdoll.filters += filter(type="drop_shadow", size = -1)
|
||||
livingdoll.add_filter("mob_shape_mask", 1, alpha_mask_filter(icon = mob_mask))
|
||||
livingdoll.add_filter("inset_drop_shadow", 2, drop_shadow_filter(size = -1))
|
||||
if(severity > 0)
|
||||
overlay_fullscreen("brute", /atom/movable/screen/fullscreen/brute, severity)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user