Crossfire Server, Trunk  R21024
struct_equipment Struct Reference
+ Collaboration diagram for struct_equipment:

Data Fields

int calc_power
 
char * diff
 
char * name
 
struct_map_list origin
 
int power
 

Detailed Description

One special item (weapon, shield, ...).

Definition at line 301 of file mapper.c.

Field Documentation

◆ calc_power

int struct_equipment::calc_power

Item power calculated via calc_item_power().

Definition at line 304 of file mapper.c.

Referenced by add_one_item(), and ensure_unique().

◆ diff

char* struct_equipment::diff

Result of get_ob_diff() with the item's clone.

Definition at line 305 of file mapper.c.

Referenced by add_one_item(), ensure_unique(), and free_equipment().

◆ name

char* struct_equipment::name

Item's name.

Definition at line 302 of file mapper.c.

Referenced by add_one_item(), ensure_unique(), free_equipment(), and sort_equipment().

◆ origin

struct_map_list struct_equipment::origin

Map(s) this item is found in.

Definition at line 306 of file mapper.c.

Referenced by add_one_item(), get_equipment(), and write_equipment_index().

◆ power

int struct_equipment::power

Item power as declared by the item itself.

Definition at line 303 of file mapper.c.

Referenced by add_one_item(), ensure_unique(), and sort_equipment().


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