![]() |
Crossfire Server, Trunk
1.75.0
|
treasurelist represents one logical group of items to be generated together. More...
#include <treasure.h>
Data Fields | |
treasure * | items |
Items in this list, linked. More... | |
sstring | name |
Usually monster-name/combination. More... | |
int16_t | total_chance |
If non-zero, only 1 item on this list should be generated. More... | |
treasurelist represents one logical group of items to be generated together.
Definition at line 85 of file treasure.h.
treasure* treasurelist::items |
Items in this list, linked.
Definition at line 92 of file treasure.h.
Referenced by AssetsManager::archetypeUpdated(), asset_destroy(), become_follower(), create_one_treasure(), describe_monster(), determine_holy_arch(), dragon_ability_gain(), dump_monster_treasure_rec(), find_treasure_by_name(), god_intervention(), TreasureLoader::load(), pets_summon_object(), remove_special_prayers(), Treasures::replace(), and resurrect_player().
sstring treasurelist::name |
Usually monster-name/combination.
Definition at line 86 of file treasure.h.
Referenced by add_abilities(), Faces::added(), asset_create(), asset_destroy(), check_treasurelist(), dump_faces(), esrv_send_face(), get_ob_diff(), PngLoader::load(), TreasureLoader::load(), pack_images(), pets_summon_object(), send_image_sums(), send_smooth(), and FaceWriter::write().
int16_t treasurelist::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(), TreasureLoader::load(), Treasures::replace(), and resurrect_player().