Crossfire Server, Branch 1.12  R12190
Data Fields
treasureliststruct Struct Reference

treasureliststruct represents one logical group of items to be generated together. More...

#include <treasure.h>

Collaboration diagram for treasureliststruct:
Collaboration graph
[legend]

Data Fields

struct treasurestructitems
 Items in this list, linked.
const char * name
 Usually monster-name/combination.
struct treasureliststructnext
 Next treasure-item in linked list.
sint16 total_chance
 If non-zero, only 1 item on this list should be generated.

Detailed Description

treasureliststruct represents one logical group of items to be generated together.

Definition at line 111 of file treasure.h.


Field Documentation

If non-zero, only 1 item on this list should be generated.

The total_chance contains the sum of the chance for this list.

Definition at line 113 of file treasure.h.

Referenced by create_one_treasure(), create_treasure(), CREResourcesWindow::fillTreasures(), load_treasures(), resurrect_player(), and CREUtils::treasureNode().


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