mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2025-12-27 11:05:22 +09:00
.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
---------------------------------------------------------------------------------------------------
|
||||||
|
Version: 3.0.130
|
||||||
|
Date: 2025-10-26
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
- [GM] Changed super combinator logic.
|
||||||
|
|
||||||
---------------------------------------------------------------------------------------------------
|
---------------------------------------------------------------------------------------------------
|
||||||
Version: 3.0.129
|
Version: 3.0.129
|
||||||
Date: 2025-10-19
|
Date: 2025-10-19
|
||||||
|
|||||||
@@ -51,12 +51,10 @@ local function gui_create(player)
|
|||||||
local read_type_table = table.add({type = 'table', name = 'read_type_table', column_count = 2, style = 'table'})
|
local read_type_table = table.add({type = 'table', name = 'read_type_table', column_count = 2, style = 'table'})
|
||||||
read_type_table.add({type = 'label', name = 'read_type_technology', caption = {'gui-technology-queue.title'}, style = 'heading_2_label'})
|
read_type_table.add({type = 'label', name = 'read_type_technology', caption = {'gui-technology-queue.title'}, style = 'heading_2_label'})
|
||||||
read_type_table.add({type = 'drop-down', name = 'read_type_technology_dropdown', items = {'[virtual-signal=signal-deny]', '[virtual-signal=signal-check]'}, selected_index = 1})
|
read_type_table.add({type = 'drop-down', name = 'read_type_technology_dropdown', items = {'[virtual-signal=signal-deny]', '[virtual-signal=signal-check]'}, selected_index = 1})
|
||||||
--[[
|
|
||||||
table.add({type = 'label', name = 'set_type', caption = {'gui-control-behavior-modes.set-filter'}, style = 'heading_2_label'})
|
table.add({type = 'label', name = 'set_type', caption = {'gui-control-behavior-modes.set-filter'}, style = 'heading_2_label'})
|
||||||
local set_type_table = table.add({type = 'table', name = 'set_type_table', column_count = 2, style = 'table'})
|
local set_type_table = table.add({type = 'table', name = 'set_type_table', column_count = 2, style = 'table'})
|
||||||
set_type_table.add({type = 'label', name = 'set_type_technology', caption = {'gui-technology-queue.title'}, style = 'heading_2_label'})
|
set_type_table.add({type = 'label', name = 'set_type_technology', caption = {'gui-technology-queue.title'}, style = 'heading_2_label'})
|
||||||
set_type_table.add({type = 'drop-down', name = 'set_type_technology_dropdown', items = {'[virtual-signal=signal-deny]', '[virtual-signal=signal-check]'}, selected_index = 1})
|
set_type_table.add({type = 'drop-down', name = 'set_type_technology_dropdown', items = {'[virtual-signal=signal-deny]', '[virtual-signal=signal-check]'}, selected_index = 1})
|
||||||
]]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -81,8 +79,8 @@ local function gui_update(player, entity)
|
|||||||
circuit_oc = circuit_oc.sections[1]
|
circuit_oc = circuit_oc.sections[1]
|
||||||
local val = circuit_oc.get_slot(1).min or 0
|
local val = circuit_oc.get_slot(1).min or 0
|
||||||
|
|
||||||
player.gui.relative.phi_cl_combinator_config['default']['read_type_table']['read_type_technology_dropdown'].selected_index = ((val % 2) >= 1 and 2) or 1
|
player.gui.relative.phi_cl_combinator_config['default']['read_type_table']['read_type_technology_dropdown'].selected_index = ((val == 1 or val == 3) and 2) or 1
|
||||||
-- player.gui.relative.phi_cl_combinator_config['default']['set_type_table']['set_type_technology_dropdown'].selected_index = ((val % 4) >= 2 and 2) or 1
|
player.gui.relative.phi_cl_combinator_config['default']['set_type_table']['set_type_technology_dropdown'].selected_index = ((val == 2 or val == 3) and 2) or 1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "PHI-CL",
|
"name": "PHI-CL",
|
||||||
"version": "3.0.129",
|
"version": "3.0.130",
|
||||||
"factorio_version": "2.0",
|
"factorio_version": "2.0",
|
||||||
"date": "2025-10-19",
|
"date": "2025-10-26",
|
||||||
"title": "Phidias Collection",
|
"title": "Phidias Collection",
|
||||||
"author": "PHIDIAS0303",
|
"author": "PHIDIAS0303",
|
||||||
"contributers": "",
|
"contributers": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user