Esempio n. 1
0
BEGIN_NCBI_SCOPE

BEGIN_objects_SCOPE // namespace ncbi::objects::

// constructor
CWord_substitution::CWord_substitution(string word, string synonym) : CWord_substitution_Base()
{
    SetWord(word);
    SetSynonyms().push_back(synonym);
}
Esempio n. 2
0
static void create() {
    verb::create();
    SetVerb("kneel");
    SetRules("down","");
    //SetRules("down", "in OBJ", "down in OBJ", "on OBJ", "down on OBJ");
    SetErrorMessage("Kneel down?");
    SetSynonyms("genuflect");
    SetHelp("Syntax: <kneel down>\n"
      "Allows you to kneel down on the ground.  "
      "See also: sit, stand, lie");
}
Esempio n. 3
0
File: sleep.c Progetto: Elohim/FGmud
static void create() {
    verb::create();
    SetVerb("sleep");
    SetRules("");
    SetErrorMessage("Sleep?");
    SetSynonyms("go to sleep");
    SetHelp("Syntax: sleep\n"
            "If lying down, you fall asleep. If not, you collapse "
            "asleep. Being attacked will usually wake you up, "
            "otherwise you will awaken after a few minutes, stronger "
            "and more refreshed.");
}
Esempio n. 4
0
File: move.c Progetto: Elohim/FGmud
static void create() {
    verb::create();
    SetVerb("move");
    SetRules("OBJ", "STR on OBJ");
    SetSynonyms("shove");
    SetErrorMessage("Move what? Or move what on what?");
    SetHelp("Syntax: <move OBJECT>\n"
            "        <move THING on OBJECT>\n\n"
            "Allows you to move an object, or perhaps a thing on the "
            "object.  For example, you might want to "
            "\"move the painting on the wall\", or simply \"move carpet\".\n\n"
            "Synonyms: shove");
}
Esempio n. 5
0
static void create() {
    verb::create();
    SetVerb("drink");
    SetRules("OBJ", "from OBJ");
    SetErrorMessage("Drink what?");
    SetHelp("Syntax: <drink LIQUID>\n"
      "        <drink from THING>\n\n"
      "Allows you to drink a liquid substance.   Often these "
      "substances come in the form of caffeine, alcohol, and just "
      "regular drinks.  Different types of drinks have different "
      "effects on you which you will learn through experimentation.\n\n"
      "See also: bait, cast, eat, fish");
    SetSynonyms("quaff");
}
Esempio n. 6
0
static void create() {
    verb::create();
    SetVerb("throw");
    SetSynonyms("toss");
    SetRules("OBJ", "OBJ at OBJ", "OBJ into OBJ");
    SetErrorMessage("Throw what?");
    SetHelp("Syntax: <throw OBJ>\n"
      "        <throw OBJ at OBJ>\n"
      "        <throw OBJ into OBJ>\n\n"
      "Allows you to throw an object.  Some object you may also "
      "use offensively by throwing them.  Other places may simply "
      "allow you to throw objects into them, say like throwing "
      "equipment down to a friend in a chasm.\n"
      "Note that throwing a weapon at someone will initiate "
      "combat.\n\n"
      "Synonyms: toss");
}
Esempio n. 7
0
static void create() {
    verb::create();
    SetVerb("jump");
    SetRules("in OBJ", "into OBJ", "off OBJ", "off of OBJ", "from OBJ",
             "through OBJ", "across OBJ", "over OBJ", "onto OBJ", "on OBJ");
    SetSynonyms("leap");
    SetErrorMessage("Jump from, into, over, on, or through something?");
    SetHelp("Syntax: jump into <PLACE>\n"
            "        jump off <PLACE>\n"
            "        jump through <THING>\n"
            "        jump over <THING>\n"
            "        jump on <THING>\n\n"
            "These six different syntaxes actually represent three very "
            "different types of motion.  They are thus often used in very "
            "different circumstances.  All of them do, however, allow you "
            "to jump.\n"
            "Synonyms: leap\n"
            "See also: enter, go");
}
Esempio n. 8
0
void DummyAnime::Initialize() {
  SetSource(sync::kMyAnimeList);
  SetId(L"4224", sync::kTaiga);
  SetId(L"4224", sync::kMyAnimeList);
  SetId(L"3532", sync::kHummingbird);
  SetSlug(L"toradora");
  SetTitle(L"Toradora!");
  SetSynonyms(L"Tiger X Dragon");
  SetType(anime::kTv);
  SetEpisodeCount(25);
  SetEpisodeLength(24);
  SetAiringStatus(anime::kFinishedAiring);
  SetDateStart(Date(2008, 10, 01));
  SetDateEnd(Date(2009, 03, 25));
  SetImageUrl(L"http://cdn.myanimelist.net/images/anime/5/22125.jpg");
  AddtoUserList();
  SetMyLastWatchedEpisode(25);
  SetMyScore(10);
  SetMyStatus(anime::kCompleted);
  SetMyTags(L"comedy, romance, drama");
}