Rules js Modification
Posted: 31 Aug 2018, 21:19
I was modifying the rules to use const instead of the seperate enablestructures
here it is
is there a mistake i made in the const part?
seperate one i also made
here it is
Code: Select all
const START_STRUCTURES = [
"A0CommandCentre",
"A0LightFactory",
"A0ResourceExtractor",
"A0PowerGenerator",
"A0ResearchFacility",
];
enableStructure(START_STRUCTURES, playnum); // make structures available to build
seperate one i also made
Code: Select all
const RESEARCH_START = [
"R-Sys-Sensor-Turret01",
"R-Wpn-MG1Mk1",
"R-Sys-Engineering01",
];
enableResearch(RESEARCH_START, playnum); // enable clean tech research