首页 游戏教程 异星工厂控制台代码大全

异星工厂控制台代码大全

2024-12-11 10:48:34 来源:互联网 作者:AZ

  在异星工厂这款游戏中,不少玩家对控制台代码感到好奇,因为这些代码可以帮助降低游戏的难度。下面是小编给大家整理的异星工厂控制台代码大全,希望可以帮助到大家!

异星工厂控制台代码大全

  异星工厂控制台指令大全

  按“·”(就是1左边Tab上边的按键)打开控制台。

  控制台命令

  解锁所有科技:/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也可

  (用完视加载MOD数量可能会卡一段时间,属正常现象)

  获得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点,把true改为false关闭):/c game.always_day=true

  最大视野(正常滚轮无法达到的大小):/c game.local_player.zoom = 0.1

  杀死所有虫子(虫巢无效且不算击杀):/c game.forces[“enemy”].kill_all_units()

  Mine faster(不清楚加快了什么。。): /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

  一些常见物品名称,用于获得物品

  name = “stone-brick”,(石砖)

  name = “raw-wood”,(原木)

  name = “coal”,(煤)

  name = “stone”,(石头)

  name = “iron-ore”,(铁矿)

  name = “copper-ore”,(铜矿)

  name = “wood”,(木材)

  name = “iron-plate”,(铁板)

  name = “copper-plate”,(铜板)

  name = “iron-stick”,(铁棍)

  name = “iron-gear-wheel”,(铁齿轮)

  name = “copper-cable”,(铜线)

  name = “electronic-circuit”,(电路板)

  name = “wooden-chest”,(木箱)

  name = “stone-furnace”,(石炉)

  name = “burner-mining-drill”,(热能采掘机)

  name = “basic-mining-drill”,(电能采掘机)

  name = “basic-transport-belt”,(基础传送带)

  name = “burner-inserter”,(热能机械臂)

  name = “basic-inserter”,(电能机械臂)

  name = “offshore-pump”,(抽水泵)

  name = “pipe”,(管子)

  name = “boiler”,(锅炉)

  name = “steam-engine”,(蒸汽机)

  name = “small-electric-pole”,(小电线杆)

  name = “radar”,(雷达)

  name = “biter-spawner”,(虫族产卵者)

  name = “computer”,(电脑)

  name = “small-plane”,(小型飞机)

  name = “small-lamp”,(小灯)

  name = “alien-artifact”,(外星造物)

  name = “pipe-to-ground”,(地下管道)

  name = “assembling-machine-1”,(组装机1型)

  name = “red-wire”,(红色铜线)

  name = “green-wire”,(绿色铜线)

  name = “raw-fish”,(鱼)

  name = “repair-pack”,(修理包)

  以上是关于异星工厂控制台代码大全的全部内容,希望可以帮助到大家!

精品游戏

换一批