Here is the code:
obj/weapons/Dagger
icon = 'Weapons.dmi'
icon_state = "1"
density = 1
power = rand(1,10)
obj/weapons/BowArrow
icon = 'Weapons.dmi'
icon_state = "20"
density = 1
power = rand(1,10)
obj/weapons/Nun-Chuck
icon = 'Weapons.dmi'
icon_state = "31"
density = 1
power = rand(1,10)
obj/weapons/Lance
icon = 'Weapons.dmi'
icon_state = "12"
density = 1
power = rand(1,10)
The Line that reads: obj/weapons/Lance is the line in question in the error.
And here is where I have the weapons defined if that is a possible problem:
obj/weapons
usr.contents
verb/Get()
set src in oview(1)
view(7) << "\white [usr] gets [src.name]."
src.Move(usr)
verb/Destroy()
set src in usr
view(7) << "\white [usr] destroys a [src]"
del(src)
verb/Drop()
src.loc = usr.loc
view(7) << "\white [usr] drops a [src]"
verb/equip()
set src in usr
set category = null
if(!usr.equiped)
usr.str += src.power
src.verbs += /obj/weapons/proc/unequip
src.verbs -= /obj/weapons/verb/equip
src.suffix += "Equiped"
usr.equiped = 1
else
usr << "You already have something equiped!"
proc/unequip()
set src in usr
if(!usr.equiped)
usr << "You don't have anything equiped!"
else
usr.str -= src.power
src.verbs -= /obj/weapons/proc/unequip
src.verbs += /obj/weapons/verb/equip
src.suffix = ""
usr.equiped = 0
Lummox JR