コード例 #1
0
ファイル: dwarf.c プロジェクト: Lundex/gurbalib
void create(void) {
   ::create();

   base_stat_minimum["str"] = 7;
   base_stat_minimum["con"] = 10;

   stat_mod["str"] = 1;
   stat_mod["con"] = 2;
   stat_mod["dex"] = -1;
   stat_mod["cha"] = -2;

   set_race_short_desc("Dwarves are stocky and strong, " +
      "but lack magical talent.");
   set_race_long_desc("Dwarves are natural hard workers. A lifetime of " +
      "mining and smithing\nmake them strong and durable. They make " +
      "excellent warriors, which is a career\nundertaken by many a dwarf. " +
      "Dwarves cannot fully grasp the concept of magic,\ndwarven mages " +
      "are long and far between. Instead most of them can resist magic\n" +
      "to a certain degree. Dwarves get along nice with trolls and orcs, " +
      "and they   \nshare the elves' distrust of one another. ");

   set_language("dwarven");
   set_skill("language/dwarven",100);
   set_skill("value",50);
}
コード例 #2
0
ファイル: human.c プロジェクト: sirdude/baregurba
void create(void) {
   ::create();

   set_race_short_desc("Humans are cursed with being average " +
      "in all aspects.");
   set_race_long_desc("Humans are predominant in the lands. They, as a " +
      "race, have most of\nthe power in the realm. Since they are so, all " +
      "the other races are compared \n to them. They get along with all " +
      "the other races fairly well, and a human has\na wide range of " +
      "adventuring options available to him or her. The downside is \n" +
      "that they do not excel in any particular fields.");
}
コード例 #3
0
void create(void) {
   ::create();

   set_race_short_desc("Catfolk are very agile and sleek. ");
   set_race_long_desc("Catfolk are mysterious and keep too themselves.  " +
      "The other races are not quite sure where they originally came from.  " +
      "They just showed up one day and have been around ever since.  " +
      "Catfolk tend to be smaller that humans but are extremely dexterous.");

   set_language("catfolk");
   set_skill("language/catfolk",100);
}
コード例 #4
0
ファイル: elf.c プロジェクト: sirdude/baregurba
void create(void) {
   ::create();

   set_race_short_desc("Elves are potent in magic and are fairly nimble. " +
      "Not very strong.");
   set_race_long_desc("Elves tend to live with nature. They are a noble " +
      "and proud folk.\nMagic is often their game, but they are commonly " +
      "seen in other fields as well.\nBeing an elf means that you are not " +
      "physically strong, but being as dextrous\nas you are means that you " +
      "can still be a decent warrior. Of some reason long \nforgotten, " +
      "elves do not get along with dwarves, trolls or orcs. They are\n" +
      "considered crude, foul, and smelly.");
}
コード例 #5
0
ファイル: gnome.c プロジェクト: Lundex/gurbalib
void create(void) {
   ::create();

   set_race_short_desc("Gnomes are the brainy brothers of the dwarves..");
   set_race_long_desc("Gnomes are a strange folk. Most humans would call " +
      "them freaks. Always\ntoying with inventions, strange devices, or " +
      "mysterious summonings, rarely \na day goes by in a gnome community " +
      "without some sort of explosion or monster \non the loose. Yet they " +
      "keep continuing. Gnomes seem obsessed with investigating\n" +
      "and finding out of things they come across - often with disastrous " +
      "results.");
   set_language("gnomish");
   set_skill("language/gnomish",100);
}
コード例 #6
0
ファイル: rodent.c プロジェクト: Lundex/gurbalib
void create(void) {
   ::create();

   set_race_short_desc("Rodents are small and foul smelling.");
   set_race_long_desc("Stench! Disease! Germs! Plague!");
}