SOURCE

var config = {
    role: {
        level1: {
            harvester: {
                body: [WORK, CARRY, MOVE],
                num: 2,
            },
            upgrader: {
                body: [WORK, CARRY, MOVE],
                num: 4,
            },
            builder: {
                body: [WORK, CARRY, MOVE],
                num: 6,
            },
        },
    },
    roleConfig: function(level) {  
        return this.role[level];
    }
}

module.exports = config;
console 命令行工具 X clear

                    
>
console