ID:294062
 
OK so I'm coding and I go to compile it and an odd error appears. Here's The coding and the problem.

turf
t1
icon = 'menus.dmi'
icon_state = "1"
t2
icon = 'menus.dmi'
icon_state = "2"
t3
icon = 'menus.dmi'
icon_state = "3"
t4
icon = 'menus.dmi'
icon_state = "4"
t5
icon = 'menus.dmi'
icon_state = "5"
t6
icon = 'menus.dmi'
icon_state = "6"
RedCross
icon = 'redcross.dmi'
STARFloor
icon = 'StarKageFloor.dmi'
icon_state = "KageFloor"
muddy
icon = 'turf.dmi'
icon_state = "muddy"
white
icon = 'white.dmi'
//This isn't part of the coding but it goes on


and here is there error:

turf.dm:1:error: turf: missing comma ',' or right-paren ')'

PLEASE HELP ME!!!!

Greetings TerryMason73.

Please do not take this as offence, but as advice.
When you try to program, you need to carefully read and think before taking an action.
Let me give you an example.
Instead of posting in the Developers forum, you posted at BYOND Help and even there in the very wrong subforum, with the description: 'Please post your ideas, suggestions, or issues about the BYOND Help Guild here.'

If you intend to create a game, the first step should be to start here, since this is going to provide you with material to learn the basics of programming (in BYOND).
Try to have a look at the DM guide (and reference), since these will enlighten you past any tutorial you're working on. But don't 'rush through'(browse), like with a comic.
Sometimes you will think that you already know something, when you do not yet know all of the functionality.
Or, you think that something is 'too basic/of no use' for you, but every advanced bit of code is actually built out of these basic (tiresome) parts.

If you still did not manage, your next step would be to use the forum search (of the right forum, in this case Developers), since it is likely that your problem has been discussed before already and there are various replies.

Whenever you are struggling, a developer should use the Developer forum to seek assistance from like-minded community members.

As in your special case, have a look at the dm file that is included before turf.dm as that is where the compiler is struggling.

Thank you in advance.

Yours,
Schnitzelnagler.