ID:268958
 
Okay, ermm, how do I make it when the verb Open_Airlock() is pushed, all the places with the area SuckableNorth it will build the object obj/SuckNorth , and the same goes with all the other directions scept NE,NW,SE,SW.
You need to use images for that. Look them up in the DM Reference. :P
In response to Foomer
Yar I fixed that.... I change the topic and post to another question i had....
In response to Skye Reaver
I thought maybe since their are posts here people might think that the question has already been answered... it hasnt :/
Skye Reaver wrote:
Okay, ermm, how do I make it when the verb Open_Airlock() is pushed, all the places with the area SuckableNorth it will build the object obj/SuckNorth , and the same goes with all the other directions scept NE,NW,SE,SW.

Instead of having seperate areas for each direction, you should make one object and one area, using the atom.dir var to configure the sucking proc.


Anyway, the system you have is pretty inneficient, but as you have it, you would do:

mob/verb/Open_Airlock()

for(var/area/SuckableNorth/N in world)//For more information, look up for() list in the DM Ref
new/obj/SuckNorth(N)

for(var/area/SuckableSouth/S in world)
new/obj/SuckSouth(S)

for(var/area/SuckableEast/E in world)
new/obj/SuckEast(E)

for(var/area/SuckableWest/W in world)
new/obj/SuckWest(W)