Skip to content
Luxembourg edited this page Mar 20, 2013 · 4 revisions

@dfail

command: @dfail <object> = <message> attribute: dfail

sets the message that a player sees when he tries to drop the object but fails because he didn't pass the object's drop lock.

function references and %-substitutions are allowed in drop failure messages, and are evaluated when someone drops the object. in function references, 'me' refers to the object being dropped, while %-substitutions that refer to the enactor (such as %n, %#, %p, etc) refer to the dropper.

this attribute is only meaningful for players and things, and will never be automatically triggered on other object types.

example: @dfail sword = the sword has welded itself to your hand.

related topics: drop, @adfail, @odfail, @lock.

Clone this wiki locally