programs for objects

Posted by Harsk on Mon 28 Jan 2002 10:43 AM — 3 posts, 15,138 views.

USA #0
Been trying to get it so that players (both the player themselves, and those in the room) will see a message when something is either worn, or wielded. So far, I've just drawn one big blank, any help would be greatly appreciated.
#1
hum I once experimented with makeing it so that the object reconized the action as an emote and responded that way why don't ya try that I think I used opedit add speech <emoted action> and that MIGHT work.....
USA #2
Actually, showing an echo when an obj is worn or removed is fairly simple. Find the do_wear and do_remove functions in your code, look for the section that actually handles putting the object into a legal wear slot and add a message like send_to_room("$n has worn $o",ch, obj). Granted that exact code may not quite work but you get the idea.