Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/cantabrian_highlands.js
Show First 20 Lines • Show All 315 Lines • ▼ Show 20 Lines | |||||
RMS.SetProgress(80); | RMS.SetProgress(80); | ||||
createFood | createFood | ||||
( | ( | ||||
[ | [ | ||||
[new SimpleObject(oBerryBush, 5,7, 0,4)] | [new SimpleObject(oBerryBush, 5,7, 0,4)] | ||||
], | ], | ||||
[ | [ | ||||
randInt(1, 4) * numPlayers + 2 | randIntInclusive(1, 4) * numPlayers + 2 | ||||
], | ], | ||||
avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 1, clFood, 10) | avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 1, clFood, 10) | ||||
); | ); | ||||
RMS.SetProgress(85); | RMS.SetProgress(85); | ||||
log("Creating metal mines..."); | log("Creating metal mines..."); | ||||
var types = [oOak, oOakLarge, oPine, oApple]; // some variation | var types = [oOak, oOakLarge, oPine, oApple]; // some variation | ||||
createStragglerTrees(types, avoidClasses(clWater, 1, clForest, 1, clHill, 1, clPlayer, 1, clMetal, 6, clRock, 6)); | createStragglerTrees(types, avoidClasses(clWater, 1, clForest, 1, clHill, 1, clPlayer, 1, clMetal, 6, clRock, 6)); | ||||
Show All 18 Lines |
Wildfire Games · Phabricator