It appears as though a list which uses a variable as an index when using list() to create is read as a string instead. (code snippet will be more helpful)
Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Test_List()
var/z = "a"
var/list/l = list(zzzzzzzzz = "?","b" = "?", "c" = "?")//This compiles but should not
for(var/v in l)
src << v
//Outputs: zzzzzzzzz
// b
// c
//Also
mob/verb/Test_List()
var/z = "a"
var/list/l = list(z = "?","b" = "?", "c" = "?")
for(var/v in l)
src << v
//Outputs: z
// b
// c
Expected Results:
A list should be created with the index which is referenced by variable equaling the variables value.
Actual Results:
Dream Maker appears to be reading variable reference as string.
Does the problem occur:
Every time? Or how often? Yes.
In other games? Not sure.
In other user accounts? Not sure.
On other computers? Not sure.
When does the problem NOT occur?
Doesn't occur when using list without values (e.g. list(z,"b","c") and can be worked around by forcing a string using quotations and brackets "[z]"
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.)
Not sure.
Workarounds:
"[z]"