diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 17:26:00 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-27 17:26:00 +0000 |
commit | 9b909453a2e070df3ac33277d0a7f07deb6e9132 (patch) | |
tree | 531e033aec96fd1e97e797659a3d8790daad5eae /crawl-ref/source/mapdef.cc | |
parent | e3698852a27d5565ba1381bd600776f5080ab9c9 (diff) | |
download | crawl-ref-9b909453a2e070df3ac33277d0a7f07deb6e9132.tar.gz crawl-ref-9b909453a2e070df3ac33277d0a7f07deb6e9132.zip |
Reworked Bazaars as a special case of portal vaults. The level-type is now
called portal vault. The dungeon builder bases its behaviour on the
level_type_name, which must be set as the "dst" property on the portal
leading to the bazaar/portal vault.
Added WELCOME: directive to .des files to allow maps to specify a welcome
message when the player enters the level (only relevant to encompass maps).
Readjusted kenku flight speed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1941 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index 6e5e5c7c8d..e5049c71cf 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -1023,9 +1023,9 @@ dlua_set_map::~dlua_set_map() map_def::map_def() : name(), tags(), place(), depths(), orient(), chance(), - map(), mons(), items(), keyspecs(), prelude("dlprelude"), - main("dlmain"), validate("dlvalidate"), veto("dlveto"), - index_only(false), cache_offset(0L) + welcome_messages(), map(), mons(), items(), keyspecs(), + prelude("dlprelude"), main("dlmain"), validate("dlvalidate"), + veto("dlveto"), index_only(false), cache_offset(0L) { init(); } @@ -1049,6 +1049,7 @@ void map_def::reinit() { items.clear(); keyspecs.clear(); + welcome_messages.clear(); // Base chance; this is not a percentage. chance = 10; |