diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 09:36:59 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-06-22 09:47:02 +0200 |
commit | 9e04bdd234e09e3e2e50c65ec21688a496ae1c4f (patch) | |
tree | 2ea42914d1fe13cab925a00d7e53da292fbb36e3 /src/store_info_type.hpp | |
parent | 6f02ef2e62739efc23d10ae2c7cea69a908b657b (diff) |
Split store_info_type::table into a "kind" and "chance" component
Diffstat (limited to 'src/store_info_type.hpp')
-rw-r--r-- | src/store_info_type.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/store_info_type.hpp b/src/store_info_type.hpp index 030afe91..6a6efd65 100644 --- a/src/store_info_type.hpp +++ b/src/store_info_type.hpp @@ -14,8 +14,10 @@ struct store_info_type { const char *name; /* Name */ - s16b table[STORE_CHOICES][2]; /* Table -- Legal item kinds */ - byte table_num; /* Number of items */ + s16b item_kind[STORE_CHOICES]; /* Table -- Legal item kinds */ + s16b item_chance[STORE_CHOICES]; + byte item_num; /* Number of items */ + s16b max_obj; /* Number of items this store can hold */ u16b owners[4]; /* List of owners(refers to ow_info) */ |