Entity References are numerical. in Off Topic
|
|
I made it a lot easier to instance terrain tonight by referring them to their 2-d global array ID. Also, I will be implementing procs that instance these entities with ease.
client/New()
var/some_room = list()
for (var/i = 1; i <= 10; i++) for (var/j = 1; j <= 10; j++) some_room += Instance_Terrain(i,j,1, 1,rand(1,2)) if (prob(50)) some_room += Instance_Terrain(i,j,1, 1,3) spawn(20) for (var/terrain/T in some_room) del T
mob = new
|
This is pretty straightforward. It creates terrain where it is needed. I can use this in the save files of Edreoll.

|