diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-05-03 19:19:04 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-05-03 19:46:55 +0200 |
commit | 1c90bd629c16fb58e1b7c3031b97c6e3cecd7662 (patch) | |
tree | 61466416f20d9c56d464b58f154c75ce5b2a26cd /crawl-ref/source/branch.h | |
parent | a81d4e81ce3916299418a3d7c66878907a467c24 (diff) | |
download | crawl-ref-1c90bd629c16fb58e1b7c3031b97c6e3cecd7662.tar.gz crawl-ref-1c90bd629c16fb58e1b7c3031b97c6e3cecd7662.zip |
Replace branch::has_shops by branch::shop_chance.
shop_chance is the chance for a level in that branch to get shops at all.
This commit should result in equivalent placement, giving a flat 20%
for each branch that had has_shops == true.
Diffstat (limited to 'crawl-ref/source/branch.h')
-rw-r--r-- | crawl-ref/source/branch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/branch.h b/crawl-ref/source/branch.h index f4146a10ac..0da76cb891 100644 --- a/crawl-ref/source/branch.h +++ b/crawl-ref/source/branch.h @@ -42,7 +42,7 @@ struct Branch const char* longname; // "The Pits of Slime" const char* abbrevname; // "Slime" const char* entry_message; - bool has_shops; + int shop_chance; // How likely a level is to have shops (percent) bool has_uniques; char floor_colour; // Zot needs special handling. char rock_colour; |