ID:261628
 
WEAPONS.DM:1: Inconsistent indentation or missing '}'.


obj
weapons
icon = 'weapons.dmi'
Flash_war wrote:
WEAPONS.DM:1: Inconsistent indentation or missing '}'.

It's probably your indentation. Make sure that you have each indentation done the same way, and not, for example, using a tab for one, and a few spaces for another.
In response to Foomer
Foomer wrote:
It's probably your indentation. Make sure that you have each indentation done the same way, and not, for example, using a tab for one, and a few spaces for another.

I put the piece of code up there...it is perfectly fine with the indentions and stuff. I have no idea what could be wrong and I flipped out and screwed up some other coding so I might as well start over >:D
Flash_war wrote:
WEAPONS.DM:1: Inconsistent indentation or missing '}'.

obj
weapons
icon = 'weapons.dmi'

The code you posted is indeed fine, but it isn't the source of your error. Usually with "missing xxxx" errors, you see the error reported on the line after it happens.

Since your error is appearing on line 1 of weapons.dm, what that really means is that in the file before weapons.dm, the very end of it is messed up.

Open your .dme file (double-click on it) and see which file is #included just before weapons.dm. Then, double-click on that file and skip to the end. That file's the culprit.

Lummox JR