Crossfire Server, Trunk  R20513
Data Fields
knowledge_type Struct Reference

One item type that may be known to the player. More...

Collaboration diagram for knowledge_type:
Collaboration graph

Data Fields

knowledge_add_item add
 Add the item to the knowledge store. More...
 
knowledge_attempt attempt_alchemy
 
knowledge_detail detail
 Display the detailed description. More...
 
const char * face
 Face for the type, as a basename. More...
 
knowledge_face item_face
 Face for an item, if not defined the face it used. More...
 
const char * name
 Type name for player, to use with 'list'. More...
 
knowledge_summary summary
 Display the short description. More...
 
const char * type
 Type internal code, musn't have a double dot, must be unique ingame. More...
 
knowledge_can_use_alchemy use_alchemy
 If not null, checks if an item can be used in alchemy. More...
 
knowledge_is_valid_item validate
 Validate the specific value. More...
 

Detailed Description

One item type that may be known to the player.

Definition at line 129 of file knowledge.c.

Field Documentation

knowledge_add_item knowledge_type::add

Add the item to the knowledge store.

Definition at line 134 of file knowledge.c.

Referenced by knowledge_give().

knowledge_attempt knowledge_type::attempt_alchemy

Definition at line 137 of file knowledge.c.

Referenced by knowledge_do_attempt(), and knowledge_send_info().

knowledge_detail knowledge_type::detail

Display the detailed description.

Definition at line 132 of file knowledge.c.

Referenced by knowledge_do_display(), and knowledge_show().

const char* knowledge_type::face

Face for the type, as a basename.

Definition at line 138 of file knowledge.c.

Referenced by knowledge_alchemy_face(), knowledge_process_incremental(), and knowledge_send_info().

knowledge_face knowledge_type::item_face

Face for an item, if not defined the face it used.

Definition at line 139 of file knowledge.c.

Referenced by knowledge_process_incremental().

const char* knowledge_type::name
knowledge_summary knowledge_type::summary

Display the short description.

Definition at line 131 of file knowledge.c.

Referenced by knowledge_do_display(), and knowledge_process_incremental().

const char* knowledge_type::type
knowledge_can_use_alchemy knowledge_type::use_alchemy

If not null, checks if an item can be used in alchemy.

Definition at line 136 of file knowledge.c.

Referenced by knowledge_alchemy_attempt(), and knowledge_item_can_be_used_alchemy().

knowledge_is_valid_item knowledge_type::validate

Validate the specific value.

Definition at line 133 of file knowledge.c.

Referenced by knowledge_give(), and knowledge_read_player_data().


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