Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/ardennes_forest.js
Show First 20 Lines • Show All 560 Lines • ▼ Show 20 Lines | |||||
// create berry bush | // create berry bush | ||||
log("Creating berry bush..."); | log("Creating berry bush..."); | ||||
group = new SimpleGroup( | group = new SimpleGroup( | ||||
[new SimpleObject(oBerryBush, 5,7, 0,4)], | [new SimpleObject(oBerryBush, 5,7, 0,4)], | ||||
true, clFood | true, clFood | ||||
); | ); | ||||
createObjectGroups(group, 0, | createObjectGroups(group, 0, | ||||
avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 1, clFood, 20), | avoidClasses(clWater, 3, clForest, 0, clPlayer, 20, clHill, 1, clFood, 20), | ||||
randInt(3, 12) * numPlayers + 2, 50 | randIntInclusive(3, 12) * numPlayers + 2, 50 | ||||
); | ); | ||||
log("Creating decorative props..."); | log("Creating decorative props..."); | ||||
group = new SimpleGroup( | group = new SimpleGroup( | ||||
[ | [ | ||||
new SimpleObject(aWoodA, 1,2, 0,1), | new SimpleObject(aWoodA, 1,2, 0,1), | ||||
new SimpleObject(aWoodB, 1,3, 0,1), | new SimpleObject(aWoodB, 1,3, 0,1), | ||||
new SimpleObject(aWheel, 0,2, 0,1), | new SimpleObject(aWheel, 0,2, 0,1), | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator