《异星工厂》秘籍大全(lua控制台/代码修改) 您所在的位置:网站首页 机型更改代码大全 《异星工厂》秘籍大全(lua控制台/代码修改)

《异星工厂》秘籍大全(lua控制台/代码修改)

#《异星工厂》秘籍大全(lua控制台/代码修改)| 来源: 网络整理| 查看: 265

添加开采资源 BY fsxvm_blaze +

以玩家角色为中心生成一个5X5的资源

图片 资源 代码 石头 /c local surface = game.local_player.surface;for y=-2,2 dofor x=-2,2 dosurface.create_entity({name="stone", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})endend 铜矿 /c local surface = game.local_player.surface;for y=-2,2 dofor x=-2,2 dosurface.create_entity({name="copper-ore", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})endend 铁矿 /c local surface = game.local_player.surface;for y=-2,2 dofor x=-2,2 dosurface.create_entity({name="iron-ore", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})endend 煤炭 /c local surface = game.local_player.surface;for y=-2,2 dofor x=-2,2 dosurface.create_entity({name="coal", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})endend 原油 /c local surface = game.local_player.surface;for y=-2,2 dofor x=-2,2 dosurface.create_entity({name="crude-oil", amount=25000000, position={game.local_player.position.x+x, game.local_player.position.y+y}})endend

机器人 +

图片 物品 代码 机器人控制塔 /c game.player.insert{name="roboport", count=1000} 物流机器人 /c game.player.insert{name="logistic-robot", count=10} 建设机器人 /c game.player.insert{name="construction-robot", count=10} 蓝图 /c game.player.insert{name="blueprint", count=10} 拆解模拟器 /c game.player.insert{name="deconstruction-planner", count=10}

资源 +

图片 资源 代码 原木 /c game.local_player.insert{name="raw-wood", count=1000} 煤炭 /c game.local_player.insert{name="coal", count=1000} 铁矿 /c game.local_player.insert{name="iron-ore", count=1000} 铜矿 /c game.local_player.insert{name="copper-ore", count=1000} 石头 /c game.local_player.insert{name="stone", count=1000} 生鱼片 /c game.local_player.insert{name="raw-fish", count=1000} 外星神器 /c game.local_player.insert{name="alien-artifact", count=1000}

半成品 +

图片 资源 代码 木头 /c game.local_player.insert{name="wood", count=1000} 铁板 /c game.local_player.insert{name="iron-plate", count=1000} 铜板 /c game.local_player.insert{name="copper-plate", count=1000} 钢板 /c game.local_player.insert{name="steel-plate", count=1000} 砖石 /c game.local_player.insert{name="stone-brick", count=1000} 硫 /c game.local_player.insert{name="sulfur", count=1000} 塑料 /c game.local_player.insert{name="plastic-bar", count=1000} 电池 /c game.local_player.insert{name="battery", count=1000} 铁棍 /c game.local_player.insert{name="iron-stick", count=1000} 齿轮 /c game.local_player.insert{name="iron-gear-wheel", count=1000} 铜线 /c game.local_player.insert{name="copper-wire", count=1000} 电子电路 /c game.local_player.insert{name="electronic-circuit", count=1000} 高级电路 /c game.local_player.insert{name="advanced-circuit", count=1000} 处理单元 /c game.local_player.insert{name="processing-unit", count=1000} 引擎单元 /c game.local_player.insert{name="engine-unit", count=1000} 电动引擎单元 /c game.local_player.insert{name="electric-engine-unit", count=1000} 飞行机器人框架 /c game.local_player.insert{name="flying-robot-frame", count=1000} 科技包 1 /c game.local_player.insert{name="science-pack-1", count=1000} 科技包 2 /c game.local_player.insert{name="science-pack-2", count=1000} 科技包 3 /c game.local_player.insert{name="science-pack-3", count=1000} 外星人科技包 /c game.local_player.insert{name="alien-science-pack", count=1000} 空桶 /c game.local_player.insert{name="empty-barrel", count=1000} 炸药 /c game.local_player.insert{name="explosives", count=1000}

工具 +

图片 物品 代码 铁斧 /c game.local_player.insert{name="iron-axe", count=5} 钢斧 /c game.local_player.insert{name="steel-axe", count=5}

弹药 +

图片 物品 代码 普通弹夹 /c game.local_player.insert{name="basic-bullet-magazine", count=1000} 穿甲弹夹 /c game.local_player.insert{name="piercing-bullet-magazine", count=1000} 散弹枪弹 /c game.local_player.insert{name="shotgun-shell", count=1000} 穿透散弹枪弹 /c game.local_player.insert{name="piercing-shotgun-shell", count=1000} 火箭 /c game.local_player.insert{name="rocket", count=1000} 爆炸火箭 /c game.local_player.insert{name="explosive-rocket", count=1000} 火焰喷射器弹药 /c game.local_player.insert{name="flame-thrower-ammo", count=1000} 加农弹 /c game.local_player.insert{name="cannon-shell", count=1000} 爆破加农弹 /c game.local_player.insert{name="explosive-cannon-shell", count=1000}

武器 +

图片 物品 代码 霰弹枪 /c game.local_player.insert{name="combat-shotgun", count=1} 喷火器 /c game.local_player.insert{name="flame-thrower", count=1} 手枪 /c game.local_player.insert{name="pistol", count=1} 电磁炮 /c game.local_player.insert{name="railgun", count=1} 火箭筒 /c game.local_player.insert{name="rocker-launcher", count=1} 猎枪 /c game.local_player.insert{name="shotgun", count=1} 冲锋枪 /c game.local_player.insert{name="submachine-gun", count=1}

模块 +

图片 物品 代码 速度模块 /c game.local_player.insert{name="speed-module", count=50} 速度模块2 /c game.local_player.insert{name="speed-module-2", count=50} 速度模块3 /c game.local_player.insert{name="speed-module-3", count=50} 生产率模块 /c game.local_player.insert{name="productivity-module", count=50} 生产率模块 2 /c game.local_player.insert{name="productivity-module-2", count=50} 生产率模块 3 /c game.local_player.insert{name="productivity-module-3", count=50} 效率模块 /c game.local_player.insert{name="efficiency-module", count=50} 效率模块2 /c game.local_player.insert{name="efficiency-module-2", count=50} 效率模块3 /c game.local_player.insert{name="efficiency-module-3", count=50}

护甲 +

图片 物品 代码 普通护甲 /c game.local_player.insert{name="basic-armor", count=1} 重甲 /c game.local_player.insert{name="heavy-armor", count=1} 模块护甲 /c game.local_player.insert{name="basic-modular-armor", count=1} 能量护甲 /c game.local_player.insert{name="power-armor", count=1} 能量护甲 MK2 /c game.local_player.insert{name="power-armor-mk2", count=1}

输送带 +

图片 物品 代码 普通输送带 /c game.local_player.insert{name="basic-transport-belt", count=1000} 地下输送带 /c game.local_player.insert{name="basic-transport-belt-to-ground", count=1000} 分离器 /c game.local_player.insert{name="basic-splitter", count=1000} 高速输送带 /c game.local_player.insert{name="fast-transport-belt", count=1000} 高速地下输送带 /c game.local_player.insert{name="fast-transport-belt-to-ground", count=1000} 高速分离器 /c game.local_player.insert{name="fast-splitter", count=1000} 超高速输送带 /c game.local_player.insert{name="express-transport-belt", count=1000} 超高速地下输送带 /c game.local_player.insert{name="express-transport-belt-to-ground", count=1000} 超高速分离器 /c game.local_player.insert{name="express-splitter", count=1000}

运输工具 +

图片 物品 代码 汽车 /c game.local_player.insert{name="car", count=1} 坦克 /c game.local_player.insert{name="tank", count=1} 内燃机车 /c game.local_player.insert{name="diesel-locomotive", count=1} 货车 /c game.local_player.insert{name="cargo-wagon", count=1} 铁路(钩状) /c game.local_player.insert{name="curved-rail", count=50} 铁路(直线) /c game.local_player.insert{name="straight-rail", count=50} 铁路链信号 /c game.local_player.insert{name="rail-chain-signal", count=10} 铁路信号 /c game.local_player.insert{name="rail-signal", count=10} 火车站 /c game.local_player.insert{name="train-stop", count=10}

存储工具 +

图片 物品 代码 木盒子 /c game.local_player.insert{name="wooden-chest", count=1} 铁盒子 /c game.local_player.insert{name="iron-chest", count=1} 钢盒子 /c game.local_player.insert{name="steel-chest", count=1} 物流主动供货箱 /c game.local_player.insert{name="logistic-chest-active-provider", count=50} 物流被动供货箱 /c game.local_player.insert{name="logistic-chest-passive-provider", count=50} 物流集货箱 /c game.local_player.insert{name="logistic-chest-requester", count=50} 物流物流存储箱 /c game.local_player.insert{name="logistic-chest-storage", count=50} 储存罐 /c game.local_player.insert{name="storage-tank", count=50}

机械手 +

图片 物品 代码 加热机械手 /c game.local_player.insert{name="burner-inserter", count=1000} 机械手 /c game.local_player.insert{name="basic-inserter", count=1000} 超长机械手 /c game.local_player.insert{name="long-handed-inserter", count=1000} 高速机械手 /c game.local_player.insert{name="fast-inserter", count=1000} 灵活机械手 /c game.local_player.insert{name="smart-inserter", count=1000}

基础防御设施 +

图片 物品 代码 基础激光防御设施 /c game.local_player.insert{name="basic-laser-defense-equipment", count=10} 炮塔 /c game.local_player.insert{name="gun-turret", count=10} 激光炮塔 /c game.local_player.insert{name="laser-turret", count=10} 基本防雷设施 /c game.local_player.insert{name="basic-electric-discharge-defense-equipment", count=10}

动力 +

图片 物品 代码 锅炉 /c game.local_player.insert{name="boiler", count=10} 蒸汽机 /c game.local_player.insert{name="steam-engine", count=10} 太阳能板 /c game.local_player.insert{name="solar-panel", count=10} 蓄能器 /c game.local_player.insert{name="basic-accumulator", count=10} 管 /c game.local_player.insert{name="pipe", count=10} 管 /c game.local_player.insert{name="pipe-to-ground", count=10} 离岸泵 /c game.local_player.insert{name="offshore-pump", count=10} 小照明灯 /c game.local_player.insert{name="small-lamp", count=10} 普通电线杆 /c game.local_player.insert{name="small-electric-pole", count=10} 中等电线杆 /c game.local_player.insert{name="medium-electric-pole", count=10} 大电线杆 /c game.local_player.insert{name="big-electric-pole", count=10}

喜欢(127) 我来补充

分页导航

1、如何输入 2、代码修改 2.1 - 2.2 - 2.3 -

初始物品 BY justcan +

在 data-base-scenarios-freeplay-control.lua 里面,可以修改初始物品。 例如给一个源能装甲,给一个聚变反应器,给几个建筑机器人,夜视仪

player.insert{name="iron-plate", count=8} player.insert{name="pistol", count=1} player.insert{name="firearm-magazine", count=10} player.insert{name="burner-mining-drill", count = 1} player.insert{name="construction-robot", count = 10} 建筑机器人 player.insert{name="modular-armor", count = 1} 源能装甲1级的 player.insert{name="fusion-reactor-equipment", count = 1}聚变器 player.insert{name="night-vision-equipment", count = 1} 夜视 player.insert{name="personal-roboport-equipment", count = 1} 机器人控制器 player.insert{name="stone-furnace", count = 1}

常用修改 BY justcan +

描述 属性 行数 文件位置:entity\demo-entities.lua 背包 inventory_size = 60 294 走路 running_speed = 0.15 304 血量 max_health = 100 287 每秒恢复血量 healing_per_tick = 0.01 289 采集速度 mining_speed = 0.01 527 初级熔炉速度 crafting_speed = 1 566 初级传送带速度 speed = 0.03125 666 木箱子容量 inventory_size = 16 847 电线杆距离 maximum_wire_distance = 7.5 887 电线杆范围 supply_area_distance = 2.5 888 初级工厂速度 crafting_speed = 0.5 2302 墙壁血量 max_health = 350 2450 地下传送管道距离 max_underground_distance = 10 2226 黄臂速度配套修改 extension_speed = 0.03 1790 黄臂速度 rotation_speed = 0.014 1791 文件位置:entity\demo-mining-drill.lua 电力采集速度 mining_speed = 0.5 75 电力采集范围 resource_searching_radius = 10 85 初级采集速度 mining_speed = 0.35 110 文件位置: entity\entities.lua 初级地下传送带速度 speed = 0.03125 218 初级地下距离 max_distance = 5 189 初级分离器速度 speed = 0.03125 572 2级工厂制造速度 crafting_speed = 0.75 941 3级工厂速度 crafting_speed = 1.25 1024 铁箱子容量 inventory_size = 32 1581 长臂速度10.02 rotation_speed = 0.06 1674 长臂速度2 extension_speed = 0.1371 1675 太阳能板 production = "60kW" 2274 火车车厢容量 inventory_size = 40 2515 研究速度 researching_speed = 1 3666 运输机器人移速 speed = 0.05 3694 运输机器人容量 max_energy = "1.5MJ" 3696 运输机器人充能速度 energy_per_tick = "0.05kJ" 3697 运输机器人移动耗能 energy_per_move = "5kJ" 3699 必须修改小 min_to_charge = 0.2 3700 必须修改小 max_to_charge = 0.95 3701 建筑机器人移速 speed = 0.06 3810 必须修改小 max_energy = "1.5MJ" 3812 必须修改小 energy_per_tick = "0.05kJ" 3813 必须修改小 energy_per_move = "5kJ" 3815 必须修改小 min_to_charge = 0.2 3816 必须修改小 max_to_charge = 0.95 3817 物流红箱容量 inventory_size = 48 3981 紫色 inventory_size = 48 4021 黄 inventory_size = 48 4061 绿色 inventory_size = 48 4101 储油罐容量 base_area = 250 4842 蓄电池容量 buffer_capacity = "5MJ" 5471 充电 input_flow_limit = "300kW" 5473 放电 output_flow_limit = "300kW" 5474 电炉速度 crafting_speed = 2 5680 插件塔距离 supply_area_distance = 3 5795 炼油塔速度 crafting_speed = 1 6315 化工厂速度 crafting_speed = 1.25 6541 文件位置:entity\mining-drill.lua 采油机速度 mining_speed = 1 36 采集强度 mining_power = 2 37 文件位置:entity\turrets.lua 激光塔攻击距离 range = 125 341 文件位置:equipment\equipment.lua 源能太阳能板发电量 power = "50MW" 159 一级护盾量 max_shield_value = 50 48 源能电池量 buffer_capacity = "20GJ" 105 充电 input_flow_limit = "200GW" 106 放电 output_flow_limit = "200GW" 107 源能机器人控制塔数量 robot_limit = 10 362 文件位置:item\demo-item.lua 煤炭燃烧值 fuel_value = "8MJ" 34 木头燃烧值 fuel_value = "4MJ" 23 文件位置:recipe\recipe.lua 建筑机器人修改材料 {"iron-plate", 1} 573 建筑机器人修改材料 {"copper-plate", 2} 574 初级源能装甲材料 ingredients = {{ "copper-plate", 100}, {"steel-plate", 50}} 183 文件位置:recipe\equipment.lua 源能控制塔材料 {"iron-plate", 10} 134 源能控制塔材料 {"copper-plate", 40} 135 源能控制塔材料 {"iron-gear-wheel", 20} 136 源能控制塔材料 {"copper-cable", 45} 137 文件位置:technology\technology.lua 源能塔升级瓶子改为空格 {"science-pack-3", 1} 3472 高级石油处理数量改为1 count = 75 3903 高级石油蓝瓶改为 iron-plate {"science-pack-3", 1}} 3906 文件位置:equipment\equipment-grid.lua 源能装甲尺寸 width = 10 6 源能装甲尺寸 height = 10 7 文件位置:entity\demo-resources.lua 资源量 richness_multiplier = 1500 5 资源量 richness_base = 500 7 文件位置:item\capsule.lua 剧毒炸弹材料 iron-plate {"steel-plate", 3} 11 copper-cable {"electronic-circuit", 3} 12 copper-plate {"coal", 10} 13

物品名称 +

物品 对应 transport-belt 基础传送带 fast-transport 快速 express-transport 急速 underground-belt 地下传送带 splitter 基础分离器 iron-chest 铁箱 steel-chest 钢箱 storage-tank 储油罐 inserter 黄臂 long-handed-inserter 红臂 fast-inserter 蓝笔 filter-inserter 筛选 stack-inserter 集中臂 stack-filter-inserter 集中筛选 small-electric-pole 电线杆 pipe 水管 pipe-to-ground 地下水管 pump 抽水机 rail-chain-signal 连锁信号塔 loconmotive 火车头 cargo-wagon 火车车厢 logistics-robot 物流机器人 construction-robot 建设机器人 roboport 机器人控制塔 lamp 灯 fluid-wagon 火车油罐车厢 boiler 烧水机 steam-engine 发电机 solar-panel 太阳能板 accumulator 储电池 burner-mining-drill 挖掘机 electric-mining-drill 电动挖掘机 offshore-pump 抽水机 pumpjack 采油机 stone-furnace 石头熔炉 steel-furnace 铁熔炉 electric-furnace 钢铁熔炉 assembling-machine-1 初级工厂 assembling-machine-2 2级工厂 oil-refinery 石油处理工厂 chemical-plant 化工厂 lab 研究所 beacon 插件塔 speed-module 速度插件 productivity-module 产能 efficiency-module 节能 sulfuric-acid 硫酸 iron-plate 铁板 copper-plate 铜板 steel-plate 钢板 sulfuric 硫磺 plastic-bar 塑料 electronic-circuit 绿板 advanced-circuit 红版 processing-unit 蓝板 engine-unit 初级发动机 electric-engine-unit 二级发动机 battery 电池 flying-robot-frame 飞行模块 firearm-magazine 初级子弹 poison-capsule 毒气弹 grenade 手雷 light-armor 一级装甲 heavy-armor 二级装甲 modular-armor 源能一级 power-armor 源能二级 power-armor-MK2 源能3级 portable-solar-panel 源能太阳能板 portable-fusion-reactor 聚变器 energy-shield 源能护甲1 battery 电池 exoskeleton 外骨骼 personal-roboport 源能机器人控制器 nightvision 夜视模块 gun-turret 机枪塔 laser-turret 激光塔 radar 雷达 nuclear-reactor 核反应堆 centrifuge 离心机 uranium-processing 铀浓缩处理 uranium-fuel-cell 铀燃料棒 heat-exchanger 换热器 heat-pipe 热管 steam-turbine 汽轮机 nuclear-power 核能

喜欢(127) 我来补充 返回搜狐,查看更多



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有