There are two types over overlays - those that inherit
dirfrom their parent, and those that don't. Usually, they can be distinguished by the fact that when the dir isn inherited, dir is 0. However, those two snippets produce overlays that are *completely identical* when looking at their vars, but one of them inherits dir, and the other one doesnt
icon = 'some_icon.dmi'
// This overlay inherits dir
overlays += "some_icon_state"
// this overlay doesn't inherit dir
overlays += image('some_icon.dmi', "some_icon_state", dir=2)
// both overlays have identical vars
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
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.)
Avoid using the
+= "some_icon_state"syntax when adding overlays