Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/maps/random/survivalofthefittest.js
Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | if (femaleLocation !== undefined) | ||||
addToClass(floor(femaleLocation[0]), floor(femaleLocation[1]), clWomen); | addToClass(floor(femaleLocation[0]), floor(femaleLocation[1]), clWomen); | ||||
} | } | ||||
} | } | ||||
paintTerrainBasedOnHeight(3.12, 29, 1, tCliff); | paintTerrainBasedOnHeight(3.12, 29, 1, tCliff); | ||||
paintTileClassBasedOnHeight(3.12, 29, 1, clHill); | paintTileClassBasedOnHeight(3.12, 29, 1, clHill); | ||||
for (let triggerPointTreasure of triggerPointTreasures) | for (let triggerPointTreasure of triggerPointTreasures) | ||||
createObjectGroups( | createObjectGroupsDeprecated( | ||||
new SimpleGroup([new SimpleObject(triggerPointTreasure, 1, 1, 0, 0)], true, clWomen), | new SimpleGroup([new SimpleObject(triggerPointTreasure, 1, 1, 0, 0)], true, clWomen), | ||||
0, | 0, | ||||
[avoidClasses(clForest, 5, clPlayer, 5, clHill, 5), stayClasses(clLand, 5)], | [avoidClasses(clForest, 5, clPlayer, 5, clHill, 5), stayClasses(clLand, 5)], | ||||
scaleByMapSize(40, 140), 100 | scaleByMapSize(40, 140), 100 | ||||
); | ); | ||||
createBumps(stayClasses(clLand, 5)); | createBumps(stayClasses(clLand, 5)); | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator