# 异星工厂蓝图 **Repository Path**: okey_akkkk/factorio ## Basic Information - **Project Name**: 异星工厂蓝图 - **Description**: 异星工厂蓝图 - **Primary Language**: Java - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-04-07 - **Last Updated**: 2024-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 异星工厂蓝图 #### 介绍 异星工厂蓝图 #### 软件架构 软件架构说明 #### 在线量化 https://kirkmcdonald.github.io/calc.html#data=1-1-19&items=advanced-circuit:f:1 #### MOD ##### F4菜单,勾选show time usage看mod运行的资源 >Bottleneck_0.6.2 >>生产瓶颈红绿灯 >Even Distribution >>Ctrl+点击,均匀分配 >Big Brother >>升级雷达 >Quality of Life research >>如手撸速度等人物能力提升 >Death Markers >>死亡标记 >Factory Planner >>量化计算 >Mining Drones >>机器人采矿 >Bluebuild_1.0.3 >>蓝图建造 >Recursive Blueprints >>蓝图递归,电路识别自动铺设 >Moon_logic >>可使用lua编程的电路 >Lua API global Variable Viewer (gvv) >>LUA API查看(/ gvv或按CTRL + SHIFT + V) >Lua API Event Trace >>Lua API事件跟踪(SHIFT + F3) >Transport Drones >>汽车运输 >Modular Chests >>连体箱子 >miniloader >>装载机 >Rampant Arsenal >>武器增强 >Power Armor MK3 >>MK3护甲 >Aircraft >>飞机 #### lua开发 >lua5.3下载地址:https://udomain.dl.sourceforge.net/project/luabinaries/5.3.5/Tools%20Executables/lua-5.3.5_Win64_bin.zip > >idea插件:EmmyLua,Factorio api #### 矿物命令 ```lua local surface = game.player.surface; for y = -9, 9 do for x = -9, 9 do surface.create_entity({ name = "coal", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -9, 9 do for x = -28, -10 do surface.create_entity({ name = "iron-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -9, 9 do for x = 10, 28 do surface.create_entity({ name = "copper-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -28, -10 do for x = -9, 9 do surface.create_entity({ name = "stone", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = 10, 28 do for x = -9, 9 do surface.create_entity({ name = "uranium-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end ``` >local surface = game.player.surface; for y = -9, 9 do for x = -9, 9 do surface.create_entity({ name = "coal", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -9, 9 do for x = -28, -10 do surface.create_entity({ name = "iron-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -9, 9 do for x = 9, 18 do surface.create_entity({ name = "copper-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = -18, -9 do for x = -9, 9 do surface.create_entity({ name = "stone", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end for y = 9, 18 do for x = -9, 9 do surface.create_entity({ name = "uranium-ore", amount = 9999999, position = { game.player.position.x + x, game.player.position.y + y } }) end end ####[item-name] >给玩家物品 /c game.player.insert{name="", count=40000} * coal=煤矿 * copper-ore=铜矿 * crude-oil-barrel=原油桶 * electric-energy-interface=电力接口 * filled-barrel=__1__桶 * heat-interface=热力接口 * infinity-chest=永续箱 * infinity-pipe=永续管 * iron-ore=铁矿 * linked-chest=关联箱 * pollution=污染 * stone=石矿 * uranium-ore=铀矿 * wood=木材