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
ID:143863
![]() Jun 20 2007, 9:46 am
|
|
Quest Industries wrote:
If, you could, please use DM tags. Anyways, I think this may work for you: > 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. |
Chris200 wrote:
Quest Industries wrote: > > 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. The quotes aren't being closed, plus you can condense that code even more. turf/Stadiums |
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 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. |
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.