nogive

prop
SYNOPSIS
    mixed P_NOGIVE  "NoGive"

    mixed Set(P_NOGIVE, mixed value)
    mixed Query(P_NOGIVE)
      or
    mixed SetNoGive(mixed value)
    mixed QueryNoGive()

DESCRIPTION
    When set to non-zero, the object can't be given away (from one living
    to another). 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_NOGIVE, "You can't give your quicktyper away.\n");

AVAILABILITY
    Include: <properties.h>

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

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