1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
var lastHitTime = 0;
var cheatmode = false;
var mainReticule = false;
var oilDrumData = {
delay: 0, // time delay to prevent multiple drums from spawning on the same frame
lastSpawn: 0, // time of the last successful drum added to the map
maxOilDrums: 0 // maximum amount of random oil drums allowed on the map
};
const TICK_TIME = 100;
const CREATE_LIKE_EVENT = 0;
const DESTROY_LIKE_EVENT = 1;
const TRANSFER_LIKE_EVENT = 2;
const cleanTech = 1;
const timeBaseTech = 3*60; // after Half-tracked Propulsion and Light Cannon
const timeAdvancedBaseTech = 6.4*60; // after Factory Module and HEAT Cannon Shells Mk2
const timeT2 = 17*60;
const timeT3 = 26*60; // after Needle Gun and Scourge Missile
|