ID:179064
 
mob
icon = 'person.dmi'
var
hp = 10
cp = 0

turf
grass
icon = 'grass.dmi'
icon_state = "grass"
density = 0

world
name = "academy."
turf = turf/grass

I get a bad var error on the turf line. the turf I want it to use is in a file called grass.dmi with the icon state named grass I also tried this

world
name = "academy."
turf = grass/gras

but that gave me the same error can anyone give me a hint at what im doing wrong. there are other icon states under grass.dmi file i.e. sand

thanks for the help
You need an extra / in front of turf.
In response to Nadrew
thank you. of course that brings up a new problem for me.

mob
Login()
..()
usr.icon_state = input("Choose your carrer path.") in list ("command","medical","security")
usr.Move locate(4,4,4)


my problem is with the last line it doesnt give me an error just three warnings which im assumeing are the lacate corordanents since my player starts out at 1,1,1 no matter what I put in. ive tried it using src like last time but still same problem

please help
In response to Treasurecat
When using locate() it's best to set loc with it:

src.loc = locate(4,4,4)
In response to Nadrew
ok I did that and now it sends my view way off to the side so im just seeing black again. so I set my view = 5 under world thinking this would do it but it did not


world
name = "academy."
turf = /turf/grass
view = 5

mob
Login()
..()
src.icon_state = input("Choose your carrer path.") in list ("command","medical","security")
src.loc = locate(4,4,4)

am I missing a capital or period or something I cant seem to get this part rigth but im not giving up yet

thanks