Night Proc() in Design Philosophy
|
|
I have to do it. For my night procedure I have to loop through all obj and all turfs and turn their icon_states to "night". But this obviously causes massive lag because my map is quite large. My first question is, would I be better off looping through all atoms in the world and have it only affect turfs and objs, or have two loops, one for objs, one for turfs? My second question is, does anyone have any ideas how I can cut down on the lag that the world is going to experience during these changes. Thanks for your help in advance.
|