Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/caledonian_meadows.js
Show All 33 Lines | g_Map.placeEntityPassable( | ||||
0, | 0, | ||||
Vector2D.add(point, new Vector2D(randFloat(2, 5), 0).rotate(-dAngle * randFloat(i, i + 1))), | Vector2D.add(point, new Vector2D(randFloat(2, 5), 0).rotate(-dAngle * randFloat(i, i + 1))), | ||||
randomAngle()); | randomAngle()); | ||||
} | } | ||||
// Food, fences with domestic animals | // Food, fences with domestic animals | ||||
g_WallStyles.other = { | g_WallStyles.other = { | ||||
"overlap": 0, | "overlap": 0, | ||||
"fence": readyWallElement("other/fence_long", "gaia"), | "fence": readyWallElement("structures/fence_long", "gaia"), | ||||
"fence_short": readyWallElement("other/fence_short", "gaia"), | "fence_short": readyWallElement("structures/fence_short", "gaia"), | ||||
"bench": { "angle": Math.PI / 2, "length": 1.5, "indent": 0, "bend": 0, "templateName": "other/bench" }, | "bench": { "angle": Math.PI / 2, "length": 1.5, "indent": 0, "bend": 0, "templateName": "structures/bench" }, | ||||
"sheep": { "angle": 0, "length": 0, "indent": 0.75, "bend": 0, "templateName": "gaia/fauna_sheep" }, | "sheep": { "angle": 0, "length": 0, "indent": 0.75, "bend": 0, "templateName": "gaia/fauna_sheep" }, | ||||
"foodBin": { "angle": Math.PI / 2, "length": 1.5, "indent": 0, "bend": 0, "templateName": "gaia/treasure/food_bin" }, | "foodBin": { "angle": Math.PI / 2, "length": 1.5, "indent": 0, "bend": 0, "templateName": "gaia/treasure/food_bin" }, | ||||
"farmstead": { "angle": Math.PI, "length": 0, "indent": -3, "bend": 0, "templateName": "structures/brit_farmstead" } | "farmstead": { "angle": Math.PI, "length": 0, "indent": -3, "bend": 0, "templateName": "structures/brit_farmstead" } | ||||
}; | }; | ||||
let fences = [ | let fences = [ | ||||
new Fortress("fence", [ | new Fortress("fence", [ | ||||
"foodBin", "farmstead", "bench", | "foodBin", "farmstead", "bench", | ||||
▲ Show 20 Lines • Show All 378 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator