Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/atlas_mountains.js
Show First 20 Lines • Show All 267 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(3, 12) * numPlayers + 2 | randIntInclusive(3, 12) * numPlayers + 2 | ||||
], | ], | ||||
avoidClasses(clForest, 0, clPlayer, 20, clHill, 1, clFood, 10) | avoidClasses(clForest, 0, clPlayer, 20, clHill, 1, clFood, 10) | ||||
); | ); | ||||
// create food treasures | // create food treasures | ||||
log("Creating food treasures..."); | log("Creating food treasures..."); | ||||
group = new SimpleGroup( | group = new SimpleGroup( | ||||
[new SimpleObject(oFood, 2,3, 0,2)], | [new SimpleObject(oFood, 2,3, 0,2)], | ||||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator