ID:143863
 
Code: Stadium1
icon = 'stadium.dmi'
icon_state = "1"
density = 1
Stadium2
icon = 'stadium.dmi'
icon_state = "2"
density = 1
Stadium3
icon = 'stadium.dmi'
icon_state = "3"
density = 1
stadium4
icon = 'stadium.dmi'
icon_state = "4"
density = 1



Problem description:i keep ketting errors no matter how many times i fix this

I get this error

turf.dm:1721: Inconsistent indentation.

Yea so help
If, you could, please use DM tags. Anyways, I think this may work for you:

turf/Stadiums
Stadium1
icon = 'stadium.dmi'
icon_state = "1"
name = ""
density = 1
Stadium2
icon = 'stadium.dmi'
icon_state = "2
name = ""
density = 1
Stadium3
icon = 'stadium.dmi'
icon_state = "3
name = ""
density = 1
Stadium4
icon = 'stadium.dmi'
icon_state = "4
name = ""
density = 1

This, way you'll be a bit more organized and by the way Stadium 1-4 will be assigned under Stadiums itself. Of, course you can mess around with it if so you choose.


In response to Quest Industries
Quest Industries wrote:
If, you could, please use DM tags. Anyways, I think this may work for you:

> 
> turf/Stadiums
> Stadium1
> icon = 'stadium.dmi'
> icon_state = "1"
> name = ""
> density = 1
> Stadium2
> icon = 'stadium.dmi'
> icon_state = "2
> name = ""
> density = 1
> Stadium3
> icon = 'stadium.dmi'
> icon_state = "3
> name = ""
> density = 1
> Stadium4
> icon = 'stadium.dmi'
> icon_state = "4
> name = ""
> density = 1
>

This, way you'll be a bit more organized and by the way Stadium 1-4 will be assigned under Stadiums itself. Of, course you can mess around with it if so you choose.


That helps but i still got a Few Errors
In response to Chris200
Chris200 wrote:
Quest Industries wrote:
If, you could, please use DM tags. Anyways, I think this may work for you:

> > 
> > turf/Stadiums
> > Stadium1
> > icon = 'stadium.dmi'
> > icon_state = "1"
> > name = ""
> > density = 1
> > Stadium2
> > icon = 'stadium.dmi'
> > icon_state = "2
> > name = ""
> > density = 1
> > Stadium3
> > icon = 'stadium.dmi'
> > icon_state = "3
> > name = ""
> > density = 1
> > Stadium4
> > icon = 'stadium.dmi'
> > icon_state = "4
> > name = ""
> > density = 1
> >

This, way you'll be a bit more organized and by the way Stadium 1-4 will be assigned under Stadiums itself. Of, course you can mess around with it if so you choose.


That helps but i still got a Few Errors

The quotes aren't being closed, plus you can condense that code even more.

turf/Stadiums
icon='stadium.dmi'
density=1
_1/icon_state="1"
_2/icon_state="2"
_3/icon_state="3"
_4/icon_state="4"
In response to Mega fart cannon
Now that's just an incredibly obtuse way of doing things. Make it readable.

Now, addressing the actual problem at hand so that the original poster might actually be able to FIX things instead of running to the forum for Voodoo Code every time something crops up:

Inconsistent indentation is when your indentation (that's the whitespace on the left) is... inconsistent. You may have something like:
mob
verb
test()
world << "Whoops!"


Notice how the first indent is one space, then four more spaces, then two more spaces That's what causes inconsistent indentation.

My advice is to always use one tab for indentation. Press control-T in Dream Maker to show the tabs. Never copy-and-paste code given to you, retype it yourself.

And, yeah, you forgot to close the quotes.
In response to Garthor
Ahh!!this gets harder and harder i need some1 to teach me bout Coding
In response to Chris200
did you read the dm guide? if you didn't, you should. it's really boring, but it helps a lot.
In response to Theryster
Theryster wrote:
did you read the dm guide? if you didn't, you should. it's really boring, but it helps a lot.

i have read it its really confusing