special.h
src/special.h · 5.4 KB
From the archive cyhawk_mud.tar.gz
Download the archive « Back to the archive contents
/* File - special.h
* Description - This file contains all header information
* for random mobs. Condition of use of
* this file is as follows:
* 1. All Diku/Merc/Rom licences must be followed
* 2. A help file with the keyword 'RMOB'
* containing my AIM/ICQ number and credit for
* this code.
* 3. An email/AIM telling me you are using this code.
* Please do not use this code if you cannot follow these simple
* steps. I have put in alot of work on this, and i would like credit
* where credit is due.
*
* -Thri
* AIM: CalibanL
* ICQ: 5335308
* Email: cyhawk@comcast.net
*/
#define MAX_RMOB_ORC_NAME 10 // Max Names in Table
#define MAX_RMOB_ORC_LONG 5 // Max Long_descr's in table
#define MAX_RMOB_OTHER 2 // Max 'other' stats
#define MAX_RMOB_GOBLIN_NAME 10 // Max Names in Table
#define MAX_RMOB_GOBLIN_LONG 5 // Max Long_descr's in table
#define MAX_RMOB_GOBLIN_OTHER 2 // Max 'other' stats
#define MAX_RMOB_FISH_NAME 16 // Max Fish Names
#define MAX_RMOB_FISH_OTHER 2 // Max fix other stuff
#define MAX_RANDOM_MOB_DUNGEON 19 // Max Big Dungeon Mobs
#define MAX_RANDOM_MOB_CRYPT 5
struct rmob_cryptmob_type
{
char * name_d;
char * shor_d;
char * long_d;
};
struct rmob_thri_dungeon_type
{
char * name_d;
char * shor_d;
char * long_d;
sh_int hitroll;
sh_int damroll;
};
struct rmob_orc_name_type
{
char * name; // Possible names of Mob
};
struct rmob_orc_long_type
{
char * long_descr; // Possible long descriptions
}; // End note: Good to have alot of these, 1.5x names is good.
struct rmob_orc_other_type
{
sh_int low_level_range; // Lowest number to subtract from level
sh_int hig_level_range; // Highest number to add to level
sh_int l_hitroll; // Lowest Hitroll
sh_int h_hitroll; // Highest Hitroll
sh_int l_damroll; // Lowest Damroll
sh_int h_damroll; // Highest Damroll
sh_int hit_dice; // Size of Hitdice. dice(level, hit_dice)
long affect_flags; // Affect flags to set on the mob
};
struct rmob_goblin_name_type
{
char * name; // Possible names of Mob
};
struct rmob_goblin_long_type
{
char * long_descr; // Possible long descriptions
}; // End note: Good to have alot of these, 1.5x names is good.
struct rmob_goblin_other_type
{
sh_int low_level_range; // Lowest number to subtract from level
sh_int hig_level_range; // Highest number to add to level
sh_int l_hitroll; // Lowest Hitroll
sh_int h_hitroll; // Highest Hitroll
sh_int l_damroll; // Lowest Damroll
sh_int h_damroll; // Highest Damroll
sh_int hit_dice; // Size of Hitdice. dice(level, hit_dice)
long affect_flags; // Affect flags to set on the mob
};
struct rmob_fish_name_type
{
char * name; // Possible names of Mob
char * long_descr;
};
struct rmob_fish_other_type
{
sh_int low_level_range; // Lowest number to subtract from level
sh_int hig_level_range; // Highest number to add to level
sh_int l_hitroll; // Lowest Hitroll
sh_int h_hitroll; // Highest Hitroll
sh_int l_damroll; // Lowest Damroll
sh_int h_damroll; // Highest Damroll
sh_int hit_dice; // Size of Hitdice. dice(level, hit_dice)
long affect_flags; // Affect flags to set on the mob
};
extern const struct rmob_orc_name_type rmob_orc_name_table [];
extern const struct rmob_orc_long_type rmob_orc_long_table [];
extern const struct rmob_orc_other_type rmob_orc_other_table [];
extern const struct rmob_goblin_name_type rmob_goblin_name_table [];
extern const struct rmob_goblin_long_type rmob_goblin_long_table [];
extern const struct rmob_goblin_other_type rmob_goblin_other_table [];
extern const struct rmob_fish_name_type rmob_fish_name_table [];
extern const struct rmob_fish_other_type rmob_fish_other_table [];
extern const struct rmob_thri_dungeon_type rmob_thri_dungeon_table [];
extern const struct rmob_cryptmob_type rmob_cryptmob_table[];