ID:2565346
 
BYOND Version:513.1517
Operating System:Windows 10 Home
Web Browser:Chrome 81.0.4044.122
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
Instances that would share the same icon state, regardless of icon file, result in being skipped.

Generating Instances from Icon-states checks currently generated instances to avoid duplicate results. However, it doesn't check for the icon file. So if you have 2 separate icons but the same icon state name, then one of those icon states wouldn't be generated.

Example:

House.dmi has icon states: "floor", "wall", "door"
Church.dmi has icon states: "floor", "wall", "pillar"

Generating Instances from Icon-states would result in only 4 of these being generated since House.dmi and Church.dmi share the icon state names of "floor" and "wall".

Numbered Steps to Reproduce Problem:
1) Have icons that share icon state names.
2) Generating Instances from Icon-states on one of them.
3) Generating Instances from Icon-states on the other.
4) Notice not everything has been generated.

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:
All icon-states to have been generated properly.

Actual Results:
Instances that would share the same icon state, regardless of icon file, result in being skipped.

Does the problem occur:
Every time? Or how often? yes.
In other games? other projects, yes.
In other user accounts? yes.
On other computers? unsure.

When does the problem NOT occur?
Never.

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.)

Workarounds:
Create a second map file and use that to generate your instances. Map the generated instances out, then copy/paste it to first map. Delete the instances from the second map, make sure the first map is unchecked, re-compile. Repeat these steps until you're finished with instancing.

Or, just have unique icon state names in each .dmi file.