Angband
Data Fields
pit_profile Struct Reference

Profile for choosing monsters for pits, nests or other themed areas. More...

#include <generate.h>

Data Fields

struct pit_profilenext
 
int pit_idx
 Index in pit_info. More...
 
const char * name
 
int room_type
 Is this a pit or a nest? More...
 
int ave
 Level where this pit is most common. More...
 
int rarity
 How unusual this pit is. More...
 
int obj_rarity
 How rare objects are in this pit. More...
 
bitflag flags [RF_SIZE]
 Required flags. More...
 
bitflag forbidden_flags [RF_SIZE]
 Forbidden flags. More...
 
bitflag spell_flags [RSF_SIZE]
 Required spell flags. More...
 
bitflag forbidden_spell_flags [RSF_SIZE]
 Forbidden spell flags. More...
 
struct pit_monster_profilebases
 List of vaild monster bases. More...
 
struct pit_color_profilecolors
 List of valid monster colors. More...
 
struct pit_forbidden_monsterforbidden_monsters
 Forbidden monsters. More...
 

Detailed Description

Profile for choosing monsters for pits, nests or other themed areas.

Field Documentation

◆ ave

int ave

Level where this pit is most common.

Referenced by build_nest(), build_pit(), parse_pit_alloc(), and set_pit_type().

◆ bases

struct pit_monster_profile* bases

List of vaild monster bases.

Referenced by cleanup_pits(), mon_pit_hook(), and parse_pit_mon_base().

◆ colors

struct pit_color_profile* colors

List of valid monster colors.

Referenced by cleanup_pits(), mon_pit_hook(), parse_pit_color(), and parse_pit_name().

◆ flags

bitflag flags[RF_SIZE]

Required flags.

Referenced by mon_pit_hook(), and parse_pit_flags_req().

◆ forbidden_flags

bitflag forbidden_flags[RF_SIZE]

Forbidden flags.

Referenced by mon_pit_hook(), and parse_pit_flags_ban().

◆ forbidden_monsters

struct pit_forbidden_monster* forbidden_monsters

Forbidden monsters.

Referenced by cleanup_pits(), mon_pit_hook(), parse_pit_mon_ban(), and parse_pit_name().

◆ forbidden_spell_flags

bitflag forbidden_spell_flags[RSF_SIZE]

Forbidden spell flags.

Referenced by mon_pit_hook(), and parse_pit_spell_ban().

◆ name

const char* name

◆ next

struct pit_profile* next

Pointer to next pit profile

Referenced by finish_parse_pit(), lookup_pit_profile(), and parse_pit_name().

◆ obj_rarity

int obj_rarity

How rare objects are in this pit.

Referenced by build_nest(), build_pit(), and parse_pit_obj_rarity().

◆ pit_idx

int pit_idx

Index in pit_info.

Referenced by finish_parse_pit(), and set_pit_type().

◆ rarity

int rarity

How unusual this pit is.

Referenced by mon_restrict(), parse_pit_alloc(), and set_pit_type().

◆ room_type

int room_type

Is this a pit or a nest?

Referenced by parse_pit_room(), and set_pit_type().

◆ spell_flags

bitflag spell_flags[RSF_SIZE]

Required spell flags.

Referenced by mon_pit_hook(), and parse_pit_spell_req().


The documentation for this struct was generated from the following file: