nodrop

prop
SYNOPSIS
    mixed P_NODROP  "NoDrop"

    mixed Set(P_NODROP, mixed value)
    mixed Query(P_NODROP)
      or
    mixed SetNoDrop(mixed value)
    mixed QueryNoDrop()

DESCRIPTION
    When set to non-zero, the object can't be dropped.
    If the value is a string, it is printed as failure message on attempt,
    else a default message is used.
    If the value is a closure, it is called with the object as argument.
    If the result of the call is a string, it is printed as failure message,
    else the default message is used again.                                     

    Default value is 0.

EXAMPLE
    Set(P_NODROP, "It sticks to your fingers.\n");

AVAILABILITY
    Include: <properties.h>

    Availability: /std/thing(/moving) and descendants

SEE ALSO
    thing(S), nogive(P), noget(P), noquitdrop(P)