ID:2208288
 
BYOND Version:510
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 55.0.2883.87
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:

It's impossible to set lists of type-paths pointing at datums without an atomic parent_type within the instance editor.

Numbered Steps to Reproduce Problem:

1) Create a type like /MyType with no parent_type.
2) Add an object to your map, edit the instance.
3) Pick a var, any var, doesn't matter, edit it to "list(/MyType)"
4) Close the dialog.
5) Open the dialog again and see that the variable is set to "list()"

Code Snippet (if applicable) to Reproduce Problem:


Expected Results:

The list to be set properly.

Actual Results:

list()

Does the problem occur:
Every time? Or how often? Every time.
In other games? Probably
In other user accounts? Yes
On other computers? Yes

When does the problem NOT occur?

When the datum in question has a parent_type pointing to /atom or any of its children.

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.) Seems to go back to at least 507.

Workarounds:

Set parent_type, giving your simple datums a lot of fun overhead, or store the types as a list of strings and convert them with text2path()
A type /MyType has a parent_type of /datum.

Does this happen with eg /datum/MyType as well?
As noted in the report, it happens to anything that has a parent_type above atom in the hierarchy. This includes things like /datum/MyType. Setting parent_type to /atom or any child of /atom will prevent the issue.