Chanded some filenames
Removed automatic path placement. Started command section.
This commit is contained in:
5
main.js
5
main.js
@@ -3,7 +3,7 @@
|
||||
# Screeps 2022 #
|
||||
######################*/
|
||||
|
||||
const system = require("_system");
|
||||
const system = require("system");
|
||||
|
||||
module.exports.loop = function () {
|
||||
if (global.compiled == undefined) {
|
||||
@@ -27,7 +27,7 @@ const creepClass = require("ClassCreep");
|
||||
const roomClass = require("ClassRoom");
|
||||
const spawnClass = require("ClassSpawn");
|
||||
|
||||
// Overwrite all game defined classes by mine inherited ones.
|
||||
// Overwrite all game defined classes by inherited ones.
|
||||
function setupClasses() {
|
||||
creepClass.setup();
|
||||
roomClass.setup();
|
||||
@@ -44,5 +44,4 @@ function setConstants() {
|
||||
|
||||
// The roles of creeps.
|
||||
global.ROLE_HARVESTER = 0;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user