I'm very new to coding as I just started about 30 minutes ago :). Anyways I was reading and doing the tutorial ZBT.
I got all the way to "Implementing Graphics" with no problems at all. Once I typed in exactly what it said, then compiled it showed
loading Testworld.dme
Testworld.dm:8: Inconsistent indentation.
Testworld.dm:10: Inconsistent indentation.
Testworld.dm:17: Inconsistent indentation.
Testworld.dmb - 4 errors, 0 warnings
in the bottom window, not sure what Inconsistend indentation is someone plz help me so i can continue to learn how to code this DM! =)
Thanx for anyones help in advance.
ID:151053
![]() May 26 2001, 6:35 pm
|
|
Thanx a ton for the help, I got all the errors out of it! =). I have one more question though. I have it to where my little stick guy can walk around and talk, but the screen is black instead of green(for the grass). I typed in exactly how it showed to type it to make the green the default turf.
world turf = /turf/grass The default turf is still black after i typed this in. Anything I missed? |
world It may be that you don't have an icon defined for /turf/grass. It may also be that you created the map before adding the default turf declaration, in which case the map would have been created with all turfs being of type /turf, which probably doesn't have its own icon in your code. |
Inconsistent indentation means that the spacing in front of a line is messed up somehow. It usually means that you've gotten spaces and tabs mixed in together, often by cutting and pasting code like you do when following the tutorial.
Go to the lines indicated (press Ctrl-G and enter the line number) then go to the beginning of the line. Delete all the whitespace up to the first character on the line, then tab it back out to where it should be.