Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/african_plains.js
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | createPatches( | ||||
avoidClasses(clWater, 3, clForest, 0, clHill, 0, clDirt, 5, clPlayer, 12), | avoidClasses(clWater, 3, clForest, 0, clHill, 0, clDirt, 5, clPlayer, 12), | ||||
scaleByMapSize(15, 45), | scaleByMapSize(15, 45), | ||||
clDirt); | clDirt); | ||||
Engine.SetProgress(60); | Engine.SetProgress(60); | ||||
g_Map.log("Creating stone mines"); | g_Map.log("Creating stone mines"); | ||||
createMines( | createMines( | ||||
[ | [ | ||||
[new SimpleObject(oStoneSmall, 0,2, 0,4)], | [new SimpleObject(oStoneSmall, 0, 2, 0, 4)], | ||||
[new SimpleObject(oStoneSmall, 2,5, 1,3)] | [new SimpleObject(oStoneSmall, 2, 5, 1, 3)] | ||||
], | ], | ||||
avoidClasses(clWater, 4, clForest, 4, clPlayer, 20, clRock, 10, clHill, 4), | avoidClasses(clWater, 4, clForest, 4, clPlayer, 20, clRock, 10, clHill, 4), | ||||
clRock); | clRock); | ||||
g_Map.log("Creating metal mines"); | g_Map.log("Creating metal mines"); | ||||
createMines( | createMines( | ||||
[ | [ | ||||
[new SimpleObject(oMetalLarge, 1,1, 0,4)] | [new SimpleObject(oMetalLarge, 1,1, 0,4)] | ||||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator