Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/cycladic_archipelago.js
Show First 20 Lines • Show All 200 Lines • ▼ Show 20 Lines | createAreasInAreas( | ||||
], | ], | ||||
avoidClasses(clCity, 1, clWater, 3, clForest, 3, clHill, 1, clBaseResource, 4), | avoidClasses(clCity, 1, clWater, 3, clForest, 3, clHill, 1, clBaseResource, 4), | ||||
scaleByMapSize(10, 64), | scaleByMapSize(10, 64), | ||||
20, | 20, | ||||
areas); | areas); | ||||
Engine.SetProgress(42); | Engine.SetProgress(42); | ||||
g_Map.log("Creating stone mines"); | g_Map.log("Creating stone mines"); | ||||
var group = new SimpleGroup([new SimpleObject(oStoneSmall, 0,2, 0,4), new SimpleObject(oStoneLarge, 1,1, 0,4)], true, clRock); | var group = new SimpleGroup([new SimpleObject(oStoneSmall, 0, 2, 0, 4, 0, 2 * Math.PI, 1), new SimpleObject(oStoneLarge, 1, 1, 0, 4, 0, 2 * Math.PI, 4)], true, clRock); | ||||
createObjectGroupsByAreasDeprecated(group, 0, | createObjectGroupsByAreasDeprecated(group, 0, | ||||
[avoidClasses(clWater, 1, clForest, 1, clHill, 1, clPlayer, 5, clRock, 6)], | [avoidClasses(clWater, 1, clForest, 1, clHill, 1, clPlayer, 5, clRock, 6)], | ||||
scaleByMapSize(4,16), 200, areas | scaleByMapSize(4,16), 200, areas | ||||
); | ); | ||||
Engine.SetProgress(46); | Engine.SetProgress(46); | ||||
g_Map.log("Creating small stone mines"); | g_Map.log("Creating small stone mines"); | ||||
var group = new SimpleGroup([new SimpleObject(oStoneSmall, 2,5, 1,3)], true, clRock); | var group = new SimpleGroup([new SimpleObject(oStoneSmall, 2,5, 1,3)], true, clRock); | ||||
▲ Show 20 Lines • Show All 146 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator