equal
deleted
inserted
replaced
5 end |
5 end |
6 |
6 |
7 function onGameInit() |
7 function onGameInit() |
8 MapGen = mgDrawn |
8 MapGen = mgDrawn |
9 TemplateFilter = 0 |
9 TemplateFilter = 0 |
|
10 local mapComplexity = MapFeatureSize |
|
11 -- reset feature size after use, to disable scaling |
|
12 MapFeatureSize = 12 |
10 fillMap(false) |
13 fillMap(false) |
11 side = 0 |
14 side = 0 |
12 for i = 0,1+MapFeatureSize*2 do |
15 for i = 0,1+mapComplexity*2 do |
13 if side > 3 then |
16 if side > 3 then |
14 size = GetRandom(4)+4 |
17 size = GetRandom(4)+4 |
15 else |
18 else |
16 size = GetRandom(12)+4 |
19 size = GetRandom(12)+4 |
17 end |
20 end |