ID:148064
 
for ease of reading/testing just copy/paste to DM directly
error is on the word claymore
sry, you'll have to make the var's,
but thanks for your time



obj
items
weapons
swords
Long Sword
name = "Long Sword"
icon = 'swords.dmi'
icon_state = "longsword"
thrust = 10
slash = 15
weight = 2
defense = 10
onehanded = 1
desc = "a long, thin-bladed sword with a olive-colored hilt."

Claymore
name = "Claymore"
icon = 'swords.dmi'
icon_state = "claymore"
thrust = 5
slash = 35
weight = 4
defense = 20
twohanded = 1
desc = "a large, heavy sword that requires two hands"
You can't have spaces in type paths; use underscores instead. Change Long Sword to Long_Sword and it should work.

You often have to look around a bit for compiler errors; the error isn't necessarily where DM thinks it is.