Numbered Steps to Reproduce Problem:
1. Have turf on plane
2. Have object on higher plane
3. Put turf into object's vis_contents. Ensure object has KEEP_TOGETHER.
4. Turf ignores KEEP_TOGETHER and alpha masking
Code Snippet (if applicable) to Reproduce Problem:
/turf/b
plane = 2
/obj/portal
appearance_flags = KEEP_TOGETHER|TILE_BOUND|PIXEL_SCALE
icon = 'stuff.dmi'
icon_state = "portal"
/obj/portal/New()
..()
vis_contents += locate(/turf/b) in world
filters += filter(type="alpha", icon = icon('stuff.dmi', "portal_mask"))
Expected Results:
Turf in vis_contents stays within the alpha mask
Actual Results:
Turf in vis_contents ignores alpha mask
Does the problem occur:
Every time? Or how often? Yes
In other games? Reproduced in a demo
When does the problem NOT occur?
When planes are unmodified and left to their defaults
Workarounds:
Don't edit planes