mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-10 16:19:59 +00:00
Added support for world maps in mods.
Mods with a <Properties hasWorldMap="1"> tag in their XML definition can now open a native world map like the original game. Fixed an oversight that the world map visited area was updated while the editor was open. Fixed missing field in worldmap.txt saving. Removed the limitation that world map tiles had to be 256x256 - all tile sizes work now. The game does now read _mods/#/data/stringbank.txt from a mod and merges it with the main stringbank.txt, and uses _mods/#/data/worldmap.txt as a full replacement. Load _mods/#/[map|premap]_mapname.lua scripts to properly initialize the Naija map token. Improved the builtin worldmap editor a little.
This commit is contained in:
parent
c78d4d7a11
commit
b20ae992a6
9 changed files with 169 additions and 80 deletions
|
@ -3203,12 +3203,12 @@ void Continuity::reset()
|
|||
|
||||
loadTreasureData();
|
||||
|
||||
stringBank.load("data/stringbank.txt");
|
||||
stringBank.load();
|
||||
|
||||
gems.clear();
|
||||
beacons.clear();
|
||||
|
||||
worldMap.load("data/worldmap.txt");
|
||||
worldMap.load();
|
||||
|
||||
ingredients.clear();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue