diff --git a/.gitignore b/.gitignore index b23b7166..02f4024c 100644 --- a/.gitignore +++ b/.gitignore @@ -47,6 +47,9 @@ jspm_packages # Thumbnails ._* +# IDE +.vscode/settings.json + # Files that might appear in the root of a volume .DocumentRevisions-V100 .fseventsd @@ -82,4 +85,4 @@ $RECYCLE.BIN/ *.msp # Windows shortcuts -*.lnk \ No newline at end of file +*.lnk diff --git a/locale/en/gui.cfg b/locale/en/gui.cfg index 623fbbbd..41cdd6bc 100644 --- a/locale/en/gui.cfg +++ b/locale/en/gui.cfg @@ -210,4 +210,4 @@ disabled=disabled toggle-msg=Fast decon has been __1__ [vlayer] -main-tooltip=Enable vlayer GUI +main-tooltip=Enable Vlayer GUI diff --git a/locale/zh-CN/gui.cfg b/locale/zh-CN/gui.cfg index dc242759..943cccaa 100644 --- a/locale/zh-CN/gui.cfg +++ b/locale/zh-CN/gui.cfg @@ -210,4 +210,4 @@ disabled=停用 toggle-msg=樹木快速拆除已 __1__ [vlayer] -main-tooltip=Enable vlayer GUI +main-tooltip=Enable Vlayer GUI diff --git a/locale/zh-TW/gui.cfg b/locale/zh-TW/gui.cfg index dc242759..943cccaa 100644 --- a/locale/zh-TW/gui.cfg +++ b/locale/zh-TW/gui.cfg @@ -210,4 +210,4 @@ disabled=停用 toggle-msg=樹木快速拆除已 __1__ [vlayer] -main-tooltip=Enable vlayer GUI +main-tooltip=Enable Vlayer GUI diff --git a/modules/addons/spawn-area.lua b/modules/addons/spawn-area.lua index 84204b57..3d28b4a2 100644 --- a/modules/addons/spawn-area.lua +++ b/modules/addons/spawn-area.lua @@ -83,7 +83,7 @@ local function spawn_belts(surface, position) local set_position = apply_offset(position, belt_set) for _, belt in pairs(belt_details) do local pos = apply_offset(set_position, belt) - local belt_entity = surface.create_entity{name=belt_type, position=pos, force='spawn', direction=belt[3]} + local belt_entity = surface.create_entity{name=belt_type, position=pos, force='neutral', direction=belt[3]} if config.afk_belts.protected then protect_entity(belt_entity) diff --git a/modules/gui/vlayer.lua b/modules/gui/vlayer.lua index 184f2caa..402a0641 100644 --- a/modules/gui/vlayer.lua +++ b/modules/gui/vlayer.lua @@ -93,6 +93,7 @@ local function vlayer_convert_chest_circuit(player) if (pos) then local circuit_o = player.surface.create_entity{name='constant-combinator', position=pos, force='neutral'} + game.print(player.name .. ' built a vlayer circuit on ' .. pos_to_gps_string(pos)) circuit_o.destructible = false circuit_o.minable = false circuit_o.operable = true @@ -112,7 +113,6 @@ local function vlayer_convert_chest_circuit(player) circuit_oc.set_signal(11, {signal={type='item', name='accumulator'}, count=0}) table.insert(vlayer.power.circuit, circuit_o) - game.print(player.name .. ' built a vlayer circuit on ' .. pos_to_gps_string(pos)) end end