Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/globalscripts/Templates.js
/** | /** | ||||
* Loads history and gameplay data of all civs. | * Loads history and gameplay data of all civs. | ||||
* Can be used from GUI and rmgen (because the simulation functions differ currently). | |||||
* | * | ||||
* @param selectableOnly {boolean} - Only load civs that can be selected | * @param selectableOnly {boolean} - Only load civs that can be selected | ||||
* in the gamesetup. Scenario maps might set non-selectable civs. | * in the gamesetup. Scenario maps might set non-selectable civs. | ||||
*/ | */ | ||||
function loadCivFiles(selectableOnly) | function loadCivFiles(selectableOnly) | ||||
{ | { | ||||
let propertyNames = [ | let propertyNames = [ | ||||
"Code", "Culture", "Name", "Emblem", "History", "Music", "Factions", "CivBonuses", "TeamBonuses", | "Code", "Culture", "Name", "Emblem", "History", "Music", "Factions", "CivBonuses", "TeamBonuses", | ||||
▲ Show 20 Lines • Show All 507 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator