ID:151005
 
loading TestWorld.dme
TestWorld.dme:54:error: Building: expected end of statement

TestWorld.dmb - 1 error, 0 warnings

thats the errors, here is the code

turf
grass //define a "grass" prototype, which is a kind of turf...
icon = 'grass.dmi' //that has an icon named 'grass.dmi'. In single quotes!
test
icon = 'test.dmi'
KameHouse
icon = 'KameHouse.dmi'
Water
icon = 'Water.dmi'
density = 1
Waterfall
icon = 'Waterfall.dmi'
density = 1
Beach
icon = 'Beach.dmi'
Wall
icon = 'Wall.dmi'
density = 1
bridge
icon = 'bridge.dmi'
Tile
icon = 'Tile.dmi'
BeachWater
icon = 'Beach Water.dmi'
density = 1
SideWater
icon = 'SideWater.dmi'
density = 1
CornerWater
icon = 'cornerwater.dmi'
density = 1
Chain
icon = 'chain.dmi'
Punching Bag
icon = 'PunchingBag.dmi'
density = 1
Building
icon = 'buildingwall.dmi'
density = 1
Floor
icon = 'Floor.dmi'
On 6/6/01 2:34 pm Sariat wrote:
TestWorld.dme:54:error: Building: expected end of statement

...

Punching Bag
icon = 'PunchingBag.dmi'
density = 1
Building
icon = 'buildingwall.dmi'
density = 1
Floor
icon = 'Floor.dmi'

Just a guess, but maybe it's the space in "Punching Bag?" Also, shouldn't this stuff be in a .dm file, not a .dme? That's all I can think of...
It would be helpful if you could point out which line was line 54 for us. (Hit control+G and type in 54, it'll jump up to that line.)

TestWorld.dme:54:error: Building: expected end of statement
In response to Air Mapster
On 6/6/01 2:39 pm Air Mapster wrote:
On 6/6/01 2:34 pm Sariat wrote:
TestWorld.dme:54:error: Building: expected end of statement

...

Punching Bag
icon = 'PunchingBag.dmi'
density = 1
Building
icon = 'buildingwall.dmi'
density = 1
Floor
icon = 'Floor.dmi'

Just a guess, but maybe it's the space in "Punching Bag?" Also, shouldn't this stuff be in a .dm file, not a .dme? That's all I can think of...


Just tested it out, it is because of the space in Punching Bag, change to something like Punching_Bag or PunchingBag.
In response to Ebonshadow
Thanks ebon.