trigbits.cc
./mud++0.26/src/trigbits.cc · 2.3 KB
From the archive mud++0.26f.tar.gz
Download the archive « Back to the archive contents
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project. All
................................................ contributions are welcome.
....Copyright(C).1995.Melvin.Smith.............. Enjoy.
------------------------------------------------------------------------------
Melvin Smith (aka Fusion) msmith@hom.net
MUD++ development mailing list mudpp-list@mailhost.net
------------------------------------------------------------------------------
trigbits.cc
*/
#include "bit.h"
#include "trigs.h"
#include "io.h"
const bitType ctrig_types[] =
{
{0,0},
{"created", CTRIG_CREATED },
{"update", CTRIG_UPDATE },
{"given_gold", CTRIG_GIVEN_GOLD },
{"given_object", CTRIG_GIVEN_OBJECT },
{"told", CTRIG_TOLD },
{"attacked", CTRIG_ATTACKED },
{"hit", CTRIG_HIT },
{"killed", CTRIG_KILLED },
{"socialed", CTRIG_SOCIALED },
{"looked_at", CTRIG_LOOKED_AT },
{0,0}
};
const bitType otrig_types[] =
{
{0,0},
{"created", OTRIG_CREATED },
{"update", OTRIG_UPDATE },
{"timer_out", OTRIG_TIMER_OUT },
{"picked", OTRIG_PICKED },
{"dropped", OTRIG_DROPPED },
{"given", OTRIG_GIVEN },
{"worn", OTRIG_WORN },
{"removed", OTRIG_REMOVED },
{"used", OTRIG_USED },
{"looked_at", OTRIG_LOOKED_AT },
{0,0}
};
const bitType rtrig_types[] =
{
{0,0},
{"update", RTRIG_UPDATE },
{"dropped_item", RTRIG_DROPPED_ITEM },
{"picked_item", RTRIG_PICKED_ITEM },
{"strange_cmd", RTRIG_STRANGE_CMD },
{"said_in", RTRIG_SAID_IN },
{"entered", RTRIG_ENTERED },
{"left", RTRIG_LEFT },
{"socialed_in", RTRIG_SOCIALED_IN },
{0,0}
};