area/New()
density = 1
..()
But, ofcourse that wouldn't work because that would make all of the areas dense regardless of which one. Is there a way to distinguish between an occupied area and one that's not or, is there some way to do this?
ID:165698
Nov 12 2006, 5:34 pm
|
|
Hello dream makers. The question is, how do you make the default area dense without making ALL of the areas dense. What I mean by the default area is the black areas in the map that are not occupied with any turf, obj, or mob. I was thinking of something along the lines of this:
area/New() But, ofcourse that wouldn't work because that would make all of the areas dense regardless of which one. Is there a way to distinguish between an occupied area and one that's not or, is there some way to do this? |
While i wait for someone to answer my question I'm gonna help you with yours..Um not that I know of What i would do is outside certain areas that you dont want to have people cross is make a certain turf that is black make it dense and outline an area with it.
turf And add indents to that |
In response to SS10trunks
|
|
You didn't even indent -_-.
|
In response to Pyro_dragons
|
|
So? Easy code to fix.
|
However, what you can do is set the default turf to a dense object (look up world/turf), and just make all the 'black' area to that type of turf.