ID:261536
 
I keep on getting these errors:
Turfs.dm:16:error: turf: expected end of statement
Turfs.dm:21:error: turf: expected end of statement
Turfs.dm:26:warning: /turf/wall: value changed

Turfs.dm:26:error: turf: expected end of statement


for this code:
turf/grass
icon = 'Turfs.dmi'
icon_state = "grass"

turf/Water
icon = 'Turfs.dmi'
icon_state = "water"
density = 1

turf/stone floor
icon = 'Turfs.dmi'
icon_state = "stone floor"

turf/wall bottom
icon = 'Turfs.dmi'
icon_state = "wall bottom"
density = 1

turf/wall top
icon = 'Turfs.dmi'
icon_state = "wall top"
density = 1

turf/wall
icon = 'Turfs.dmi'
icon_state = "wall"
density = 1

turf/column1
icon = 'Turfs.dmi'
icon_state = "column1"

turf/column2
icon = 'Turfs.dmi'
icon_state = "column2"
density = 1

turf/column3
icon = 'Turfs.dmi'
icon_state = "column3"

turf/snape picture
icon = 'Turfs.dmi'
icon_state = "snape picture"

what am I doing wrong?
Eagle Madigan wrote:
what am I doing wrong?

You're trying to use spaces in the names of your turf types. This won't work because once a space is reached, DM assumes you're done naming the type. You'll have to do it with underscores instead--or better yet, make these subtypes.

With underscores, it'd look like this:
turf/stone_floor
...

And with subtypes, like this:
turf/wall/bottom
...

turf/wall/top
...

Lummox JR
In response to Lummox JR
noticed how to fix it right when you replied.