mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -541,6 +541,12 @@ function vlayer.get_circuits()
|
|||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local vlayer_circuits_string = ""
|
||||||
|
|
||||||
|
for key, value in pairs(vlayer.get_circuits()) do
|
||||||
|
vlayer_circuits_string = vlayer_circuits_string .. value .. " = " .. key .. "\n"
|
||||||
|
end
|
||||||
|
|
||||||
--- Create a new circuit interface
|
--- Create a new circuit interface
|
||||||
-- @tparam LuaSurface surface The surface to place the interface onto
|
-- @tparam LuaSurface surface The surface to place the interface onto
|
||||||
-- @tparam MapPosition position The position on the surface to place the interface at
|
-- @tparam MapPosition position The position on the surface to place the interface at
|
||||||
@@ -610,6 +616,8 @@ local function handle_circuit_interfaces()
|
|||||||
|
|
||||||
circuit_oc.clear_slot(clear_index)
|
circuit_oc.clear_slot(clear_index)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
circuit_oc.combinator_description = vlayer_circuits_string
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user