ID:109188
 
Not a bug
BYOND Version:479
Operating System:Windows 7 Home Premium
Web Browser:Chrome 8.0.552.237
Applies to:Dream Maker
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 trying to put a turf on top of another turf, the bottom turf takes some vars from the top turf. Eg if bottom turf is dense and top turf is non-dense, the result ingame will be non dense. The same thing happens for dir and opacity (don't know about any others).

Numbered Steps to Reproduce Problem:
1. make a turf with opacity, density and dir = 8
2. put a turf on top of that with no opacity, no density and dir = 1
3. result: both turfs on top of eachother, but both no opacity, no density and dir = 1

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:
Variation. lower turf facing one direction while upper turf faces another.

Actual Results:
same values.

Does the problem occur:
Every time? Or how often?
Always.
In other games?
Don't know, but I suspect so.
In other user accounts?
Yes.
On other computers?
Yes.

When does the problem NOT occur?
Always occurs.

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.)
No idea, but it's been here for at least a year. Since we had it since we started the game.

Workarounds:
Hard code it in or, for simple matters, either split the icon dirs into separate states. Another fix is making all vars like density the same. Unfortunately, this does not work in all cases.

I think that's intended behavior since you can't actually have 2 turfs in one place so in actuality the only turf there is the topmost one.
That's not a bug, it's intended behavior. When there are two turfs stacked on top of each other they just merge into a single turf with all the other ones becoming underlays.

You could try requesting something like this to have a little more control over the process.