I was woundering if turfs can be placed in lists. See I have a list in my statpanel and I was woundering if I was able to put a turf in it.
Not only if I can but how because I dont know how too thanks.
ID:267070
Nov 19 2002, 1:24 pm
|
|
In response to Jacob
|
|
Jacob wrote:
var/list/fart = list()Objs are alot easyer to add to list. Matter a fact Objs a super simple to add to list. But doing it like above. How would I give the new turf just made a refrence. Like before I had it var/turf/build/B and I would just B.name to change its name. How would I change the name of the above turf type that was just made? *Uhg.. well obj atleast havnt tried turf**But should work.**Maybe..* |
In response to Green Lime
|
|
I was confronted with the same prob today. =-P
|
In response to Jacob
|
|
So does any one know how to do this?
|
In response to Green Lime
|
|
var/obj/fart/b = new/obj/fart
b.name = input("What would you like to name this sheet","Sheet") as text *shrug* |
Green Lime wrote:
I was woundering if turfs can be placed in lists. See I have a list in my statpanel and I was woundering if I was able to put a turf in it. I think a turf has to have an x,y,z location so it has to be on a map, but you can always add turf references into a list. |
obj
fart
icon= 'fart.dmi'
sheet += new/obj/fart//<--Just put that in where you want the turf added to list
*Uhg.. well obj atleast havnt tried turf**But should work.**Maybe..*