Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/fortress.js
Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | |||||
// create fruits | // create fruits | ||||
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, 2, clForest, 0, clPlayer, 6, clHill, 1, clFood, 10) | avoidClasses(clWater, 2, clForest, 0, clPlayer, 6, clHill, 1, clFood, 10) | ||||
); | ); | ||||
RMS.SetProgress(90); | RMS.SetProgress(90); | ||||
log("Creating straggler trees..."); | log("Creating straggler trees..."); | ||||
var types = [oOak, oBeech, oPine]; // some variation | var types = [oOak, oBeech, oPine]; // some variation | ||||
Show All 19 Lines |
Wildfire Games · Phabricator