Code:
obj/Sword
icon='sword.dmi'
name="Slasher"
verb
Wield()
usr << "You wield [src]."
suffix =" (Wielded)"
usr.wielded = "scr"
Remove()
usr << "You remove [src]."
suffix = null
usr.wielded = null
proc
move_to_ground()
suffix = null
usr.wielded = null
Errors:
Code.dm:87:error:usr.wielded:bad var
Code.dm:92:error:usr.wielded:bad var
Code.dm:97:error:usr.wielded:bad var
Please help me please.
Thanx shane
Copyright © 2025 BYOND Software.
All rights reserved.
have you defined the vars under the mob in question?
like so:
var
wielded
or is it the obj that should have the var?
the put the above under obj instead.