ID:180189
 
i cant get it to set the turf to grass in ZBT and i did wat it said...here is my code


mob

icon = 'person.dmi'
Login()
icon_state = gender
..()

verb
say(msg as text) //msg as text is so you dont have to tye text
world << "[usr] says: [msg]" //yea and talk and stuf

turf
grass
icon = 'grass.dmi'
world
turf = /turf/grass


error is

loading ZBT.dme
ZBT.dm:20:error:/turf/grass:bad path

ZBT.dmb - 1 error, 0 warnings

whats wrong?



Eponick wrote:
i cant get it to set the turf to grass in ZBT and i did wat it said...here is my code


mob

icon = 'person.dmi'
Login()
icon_state = gender
..()

verb
say(msg as text) //msg as text is so you dont have to tye text
world << "[usr] says: [msg]" //yea and talk and stuf

turf
grass
icon = 'grass.dmi'
world
turf = /turf/grass


error is

loading ZBT.dme
ZBT.dm:20:error:/turf/grass:bad path

ZBT.dmb - 1 error, 0 warnings

whats wrong?




Look at your indentation. You have turf as the offspring of mob. Turf needs to be its own little category.