ID:171091
 
Do turfs NEED a loc? I get a "bad loc" runtime error when trying to make a new one without a loc
Well I am guessing they do, because if you make a turf, and give it no loc, where will it be!?
Sgeo wrote:
Do turfs NEED a loc? I get a "bad loc" runtime error when trying to make a new one without a loc

Yep, turfs are a bit special. They are bound to the map, and need a location to be when you create one, where it will replace the previous one. And if you delete a turf, it will be replaced by the type you have specified in world.turf.


/Gazoot