int CanReceive(object ob) {
    if(ob && !ob->GetProperty("STAY_ZONE")){
        return 1;
    }
    else
        return 0;
}
Beispiel #2
0
mixed do_bump_liv(object ob) {
    int Strength, TargetStrength;
    string *Exits;
    string NewLocation, OldLocation;
    mixed var;
    object env;

    if( !ob ) return 0;
    if( !(env = environment(ob)) ) return 0;
    if( ob->GetProperty("no bump") ) {
        message("my_action", "You try to bump "+
                ob->GetCapName()+".",
                this_player() );
        message("other_action", this_player()->GetCapName()+" tries "
                "to bump "+ob->GetCapName()+".",
                environment(ob), ({ ob, this_player() }) );