ID:143391
 
Code:
proc/save_items()
var/items[0]
for(var/obj/Items/I in world)
I.lastx=I.x
I.lasty=I.y
I.lastz=I.z
items.Add(I)
var/savefile/F=new("houses/items/items.sav")
F["items"]<<items
proc/load_items()
if(fexists("houses/items/items.sav"))
var/savefile/F=new("houses/items/items.sav")
var/items[0]
F["items"]>>items
for(var/obj/Items/I in items)
I.loc=locate(I.lastx,I.lasty,I.lastz)

obj/var
lastx = ""
lasty = ""
lastz = ""


Problem description:
It saves the items and it won't load them
btw of course I made verbs to run these procs
Maybe because you make a new items var in the loading proc, which is 0, and there is nothing to load from an empty list.
Your problem appears to be with the save proc. Take a look and you'll see that you're saving the items list each time through the loop, rather than just once after the list has been filled.

Lummox JR