Crossfire Server, Trunk
|
#include <treasure.h>
Data Fields | |
struct treasurestruct * | items |
sstring | name |
int16_t | total_chance |
treasureliststruct represents one logical group of items to be generated together.
Definition at line 85 of file treasure.h.
struct treasurestruct* treasureliststruct::items |
Items in this list, linked
Definition at line 92 of file treasure.h.
Referenced by become_follower(), cast_raise_dead_spell(), TreasureListWrapper::child(), TreasureListWrapper::childIndex(), create_one_treasure(), determine_holy_arch(), do_artifact(), do_magic(), dragon_ability_gain(), dump_monster_treasure(), dump_monster_treasure_rec(), equal(), find_treasure_by_name(), TreasureListWrapper::fixTotalChance(), god_intervention(), TreasureLoader::load(), pets_summon_object(), remove_special_prayers(), Treasures::replace(), resurrect_player(), and TreasureListWrapper::setSingleItem().
sstring treasureliststruct::name |
Usually monster-name/combination
Definition at line 86 of file treasure.h.
Referenced by asset_create(), check_treasurelist(), TreasureListWrapper::displayName(), TreasureWrapper::doAddChild(), TreasureListWrapper::drag(), equal(), TreasureLoader::load(), pets_summon_object(), TreasureWrapper::setList(), TreasureListComboBox::TreasureListComboBox(), and TreasureWrapper::uses().
int16_t treasureliststruct::total_chance |
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 87 of file treasure.h.
Referenced by create_one_treasure(), TreasureListWrapper::displayIcon(), do_artifact(), do_magic(), TreasureListWrapper::drop(), equal(), TreasureListWrapper::fixTotalChance(), TreasureListWrapper::isSingleItem(), TreasureLoader::load(), TreasureListWrapper::removeChild(), Treasures::replace(), resurrect_player(), TreasureListWrapper::setSingleItem(), TreasureListWrapper::totalChance(), TreasureListComboBox::TreasureListComboBox(), and TreasureListWrapper::wasModified().