proc
Find_Path(turf/start,turf/end)
var/list/large = list(start)
var/list/short = list(start)
var/list/final = list()
var/found = 1
for(var/turf/t in orange(1,start))
large["[found]"] = t
t.parent = start
world << "Found: [found]"
found ++
for(var/num = 0, num < found, num++)
var/turf/y = large["[num]"]
world << large["[num]"]
world << y // Even though this line works,
y.icon_state = "r" // this line gives me an error, 'cannot edit null.icon_state'
mob/verb/test()
Find_Path(loc,get_step(src,NORTH))
Problem description:
Look at the comments.
How can I edit variables of an object located within a list?
Of course, you don't need associative lists for this anyway.
Lummox JR