mob
admin
verb
Create()
var
list/turfs=list(/turf)
usr<<"[turfs]"
There is the verb, but it just displays "/list" how can I change it to display all the possible turfs in the world?
ID:267061
Nov 12 2002, 6:46 am
|
|
I know I'm asking alot of questions, but it has been a long time since I've coded. Ok I have a verb called "Create()"
mob There is the verb, but it just displays "/list" how can I change it to display all the possible turfs in the world? |
Nov 12 2002, 7:10 am
|
|
for(var/V in typesof(/turf/)) usr << V
|
In response to Garthor
|
|
Ran into another problem with this. I got it to display now I'm having troble creating a code that you can select the certain turn and place it on the map.
|
In response to DBZ Kidd
|
|
<code> //... var/list/turfList += V var/TURF = input("What turf do you wish to place?","Turf") in turfList new TURF(usr.loc) </code>
Should work, but I can't test it right now. |
In response to Garthor
|
|
Doesn't work but here is the new code
Create() |
In response to DBZ Kidd
|
|
Has to be outside the for() loop, except the addition to the list.
|