ed_guide.c

tmi2_fluffos_v2/lib/obj/ed_guide.c · 479 B

From the archive tmi2_fluffos_v2.zip

Download the archive   « Back to the archive contents

/*
// File     :  ed_guide.c
// Purpose  :  Object to edit the guide
// 93-09-17 :  Written by Douglas Reay (Pallando @ TMI-2)
*/
#include <guide.h>

inherit GUIDE_OB;

varargs int valid_write( string arg )
{
    return 1;
}

void extra_create()
{
    set( "id", ({ "master_guide" }) );
    set( "name", "master_guide" );
}

void create()
{
    if( file_name( previous_object() ) != CMD_ED_GUIDE )
    {
        destruct( this_object() );
        return;
    }
    ::create();
}

Site Stats

Snippets: 1791
Codebases: 571