控制台:常用命令/物品名列表
和绝大多数建造类游戏相似,异星工厂也拥有自己的控制台系统。

以下为常用的控制台命令,按 ` 键即可打开控制台面板并输入: 1. 查看虫子进化程度: game.player.print(game.evolutionfactor) 2. 永远开启白昼: game.alwaysday=true 3. 一键消灭所有可移动敌人: game.killallenemies() 4. 给玩家添加指定资源,例如铁板: game.player.insert{name="iron-plate",count=100} 5. 提升手工采矿速度: game.player.force.manualminingspeedmodifier=1000 6. 提升手工制造速度: game.player.force.manualcraftingspeedmodifier=1000 7. 开启和平模式: game.peacefulmode=true 8. 加速科研: game.player.force.laboratoryspeedmodifier=1 9. 取消红图勾选的建筑: for _, entity in ipairs(game.findentities{area={{game.player.position.x-20,game.player.position.y-20},{game.player.position.x+20,game.player.position.y+20}}}) do entity.canceldeconstruction(game.player.force) end 10. 摧毁视野范围内的岩石: for _, entity in ipairs(game.findentitiesfiltered{area={{game.player.position.x-32,game.player.position.y-32},{game.player.position.x+32,game.player.position.y+32}},name="stone-rock"}) do entity.destroy() end 11. 强制重置地图: game.forces.player.chart({lefttop={x=-1024,y=-1024},rightbottom={x=1024,y=1024}}) 12. 查看水位: game.player.print(game.player.selected.getliquid().amount)

物品名列表: repair-pack:修理包 stone:石头 wood:木板 raw-wood:原木 copper-ore:铜矿 iron-ore:铁矿 coal:煤矿 copper-plate:铜板 iron-plate:铁板 steel-plate:钢板 stone-brick:石砖 iron-axe:铁斧镐 steel-axe:钢斧镐 iron-gear-wheel:铁齿轮 iron-stick:铁棒 copper-cable:铜线 pistol:手枪 submachine-gun:冲锋枪 rocket-launcher:火箭筒 flame-thrower:火焰喷射器 flame-thrower-ammo:油料储罐 electronic-circuit:电路板 advanced-circuit:高级电路板 processing-unit:处理器 basic-armor:基础护甲 heavy-armor:重型护甲 power-armor:能量装甲 power-armor-mk2:能量装甲MK2 basic-modular-armor:模块装甲 rocket:制式火箭弹 explosive-rocket:爆炸火箭弹 basic-bullet-magazine:标准弹盒 piercing-bullet-magazine:穿甲弹盒 laser-turret:激光炮塔 solar-panel:太阳能板 fish:鱼 raw-fish:鲜鱼 computer:计算机 lab:研究中心 science-pack-1:科技包I science-pack-2:科技包II science-pack-3:科技包III alien-science-pack:异星科技包 red-wire:红线缆 green-wire:绿线缆 alien-artifact:虫巢核心 speed-module:速度插件I speed-module-2:速度插件II speed-module-3:速度插件III productivity-module:生产力插件I productivity-module-2:生产力插件II productivity-module-3:生产力插件III effectivity-module:节能插件I effectivity-module-2:节能插件II effectivity-module-3:节能插件III shotgun:霰弹枪 combat-shotgun:冲锋霰弹枪 shotgun-shell:制式霰弹 piercing-shotgun-shell:穿甲霰弹 railgun:电磁枪 railgun-dart:电磁弹 defender-capsule:防御机器人(胶囊) distractor-capsule:掩护机器人(胶囊) destroyer-capsule:进攻机器人(胶囊) poison-capsule:剧毒手雷(胶囊) slowdown-capsule:减速手雷(胶囊) basic-grenade:制式手雷 basic-electric-discharge-defense-remote:放电防御模块发射器 blueprint:建造计划(蓝图) deconstruction-planner:拆除计划(红图) sulfur:硫磺 solid-fuel:固体燃料 plastic-bar:塑料 engine-unit:内燃机 electric-engine-unit:电动机 flying-robot-frame:机器人飞行框架 explosives:炸药 battery:电池 empty-barrel:空桶 crude-oil-barrel:原油桶
