异星工厂控制台指令大全
在《异星工厂》中,玩家需要搭建工厂流水线,并在虫子威胁下维护工厂安全。该游戏整体挑战性偏高,对初学者而言较为困难。不过,借助控制台指令,我们可以降低游戏难度,尽情体验乐趣。 以下为异星工厂控制台指令大全,供大家参考。

控制台命令
解锁所有科技: /c for name,technology in pairs(game.local_player.force.technologies) do technology.researched=technology.enabled end (简写:/c for n,t in pairs(game.player.force.technologies) do t.researched=true end) 获取 100 块铁板: /c game.player.character.insert{name="iron-plate",count=100} 移除地图上所有敌人: /c local surface = game.local_player.surface for c in surface.get_chunks() do for key, entity in pairs(surface.find_entities_filtered({area={{c.x * 32, c.y * 32}, {c.x * 32 + 32, c.y * 32 + 32}}, force= "enemy"})) do entity.destroy() end end 实用计算器(括号内为算式): /c game.local_player.print(1234 * 5678) 检测虫子进化几率: /c game.local_player.print(game.evolution_factor) 始终白天(锁定时间为 12 点,改为 false 关闭): /c game.always_day=true 最大视野(滚轮无法到达的大小): /c game.local_player.zoom = 0.1 杀死所有虫子(虫巢无效且不算击杀): /c game.forces["enemy"].kill_all_units() 加速采掘(具体效果未知): /c game.local_player.force.manual_mining_speed_modifier=1000 加速生产: /c game.local_player.force.manual_crafting_speed_modifier=1000 加速研究: /c game.local_player.force.laboratory_speed_modifier = 1 (1 为正常速度,2 为双速,3 为三速,最大值 100 均可) 将岩石变为可开采(可自行调整范围): /c for _,entity in pairs(game.local_player.surface.find_entities_filtered{ area={{game.local_player.position.x-32, game.local_player.position.y-32}, {game.local_player.position.x+32, game.local_player.position.y+32}}, name="stone-rock"}) do entity.destroy() end
常见物品名称
- stone-brick (石砖) - raw-wood (原木) - coal (煤) - stone (石头) - iron-ore (铁矿) - copper-ore (铜矿) - wood (木材) - iron-plate (铁板) - copper-plate (铜板) - iron-stick (铁棍) - iron-gear-wheel (铁齿轮) - copper-cable (铜线) - electronic-circuit (电路板) - wooden-chest (木箱) - stone-furnace (石炉) - burner-mining-drill (热能采掘机) - basic-mining-drill (电能采掘机) - basic-transport-belt (基础传送带) - burner-inserter (热能机械臂) - basic-inserter (电能机械臂) - offshore-pump (抽水泵) - pipe (管子) - boiler (锅炉) - steam-engine (蒸汽机) - small-electric-pole (小电线杆) - radar (雷达) - biter-spawner (虫族产卵者) - computer (电脑) - small-plane (小型飞机) - small-lamp (小灯) - alien-artifact (外星造物) - pipe-to-ground (地下管道) - assembling-machine-1 (组装机1型) - red-wire (红色铜线) - green-wire (绿色铜线) - raw-fish (鱼)
