Mercurial > hg > batmud > maputils
changeset 1890:33dc25dd742b
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 06 Nov 2017 03:07:56 +0200 |
parents | 4641b8cbf1fc |
children | 68b784c7eae2 |
files | www/world.inc.php |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/www/world.inc.php Mon Nov 06 01:49:22 2017 +0200 +++ b/www/world.inc.php Mon Nov 06 03:07:56 2017 +0200 @@ -8,7 +8,8 @@ // Define continents, their coordinates in the "world map", // dimensions and other attributes relevant to us. -$continentList = [ +$continentList = +[ // ID Name Xoffs Yoffs spec hasmap width height <read in regular continent list> "laenor" => ["Laenor", 1 , 1 , FALSE , TRUE , 827 , 781 , TRUE ], "rothikgen" => ["Rothikgen", 1311 , -1255 , FALSE , TRUE , 480 , 480 , TRUE ], @@ -29,7 +30,8 @@ // Here we define the tradelane waypoints. // Coordinates are relative to continent origo, which is 1,1. // -$tradelanePoints = [ +$tradelanePoints = +[ // Name Relative to , x , y "daerwon" => ["laenor" , 300 , 360], "arelium1" => ["laenor" , 311 , 360], @@ -98,7 +100,8 @@ // Tradelanes defined by waypoints -$tradelaneDefs = [ +$tradelaneDefs = +[ // Laenor ["daerwon", "laenor1", "laenor2", "laenor3", "laenor4", "laenor5", "laenor6", "laenor7", "laenor8", "laenor9"], ["daerwon", "arelium1", "arelium2", "arelium3"],