Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/globalscripts/Templates.js
Show First 20 Lines • Show All 458 Lines • ▼ Show 20 Lines | ret.wallSet = { | ||||
"fort": template.WallSet.Templates.Fort || "structures/" + template.Identity.Civ + "_fortress", | "fort": template.WallSet.Templates.Fort || "structures/" + template.Identity.Civ + "_fortress", | ||||
"long": template.WallSet.Templates.WallLong, | "long": template.WallSet.Templates.WallLong, | ||||
"medium": template.WallSet.Templates.WallMedium, | "medium": template.WallSet.Templates.WallMedium, | ||||
"short": template.WallSet.Templates.WallShort | "short": template.WallSet.Templates.WallShort | ||||
}, | }, | ||||
"maxTowerOverlap": +template.WallSet.MaxTowerOverlap, | "maxTowerOverlap": +template.WallSet.MaxTowerOverlap, | ||||
"minTowerOverlap": +template.WallSet.MinTowerOverlap | "minTowerOverlap": +template.WallSet.MinTowerOverlap | ||||
}; | }; | ||||
if (template.WallSet.Templates.TowerSlot) | |||||
ret.wallSet.templates.towerSlot = template.WallSet.Templates.TowerSlot; | |||||
if (template.WallSet.Templates.WallEnd) | if (template.WallSet.Templates.WallEnd) | ||||
ret.wallSet.templates.end = template.WallSet.Templates.WallEnd; | ret.wallSet.templates.end = template.WallSet.Templates.WallEnd; | ||||
if (template.WallSet.Templates.WallCurves) | if (template.WallSet.Templates.WallCurves) | ||||
ret.wallSet.templates.curves = template.WallSet.Templates.WallCurves.split(" "); | ret.wallSet.templates.curves = template.WallSet.Templates.WallCurves.split(" "); | ||||
} | } | ||||
if (template.WallPiece) | if (template.WallPiece) | ||||
ret.wallPiece = { | ret.wallPiece = { | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator