chair.c

ds2.1.1/lib/lib/std/chair.c · 511 B

From the archive ds2.1.1.zip

Download the archive   « Back to the archive contents

/*    /lib/chair.c
 *    From the Dead Souls Object Library
 *    A thing you can sit in
 *    Created by Descartes of Borg 961221
 *    Version: @(#) chair.c 1.1@(#)
 *    Last modified: 96/12/21
 */

#include <lib.h>

inherit LIB_ITEM;
inherit LIB_SIT;
inherit LIB_SURFACE;

void create(){
    ::create();
    SetMaxSitters(1);
    SetMaxCarry(100);
    SetMass(500);
}

int CanGet(object who){
    if(sit::CanGet(who))
	return item::CanGet(who);
    else return 0;
}

/* Nothing else needs to happen here */

Site Stats

Snippets: 1791
Codebases: 571