ID:114558
 
Not a bug
BYOND Version:486
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Firefox 4.0.1
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:
When placing multiple turfs on top of each other, all turfs take on the direction of the top turf.

Numbered Steps to Reproduce Problem:
1. Place turf Bottom on a map.
2. Place turf Top on top of Bottom, stacking the turfs on the map.

Code Snippet (if applicable) to Reproduce Problem:
turf
Flooring
icon = 'Test.dmi'
icon_state = "white"
Bottom
icon = 'Test.dmi'
icon_state = "1"
dir = EAST
Top
icon = 'Test.dmi'
icon_state = "test"
dir = WEST


Expected Results:
Turf Bottom to display facing EAST in the game.

Actual Results:
Turf Bottom displays WEST, like turf Top above.

Does the problem occur:
Every time? Or how often?
Every time when running a game.
In other games?
Yes.
In other user accounts?
Not tried.
On other computers?
Not tried.

When does the problem NOT occur?
When no turf is placed on Bottom, leaving it to assume its own coded direction

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
It started appearing in 485, as first noted. Issue remains in 486

Workarounds:
Change the direction of the top turf. (may not always be desired).
The turfs underneath are actually underlays, not real turfs.

I agree it'd be nice to keep the direction, but this is a limitation in the map engine that we've had for some time and changing it would be problematic for existing games.