mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
.
This commit is contained in:
@@ -333,6 +333,7 @@ end
|
|||||||
-- @treturn LuaEntity The entity that was created for the interface
|
-- @treturn LuaEntity The entity that was created for the interface
|
||||||
function vlayer.create_input_interface(surface, position, circuit, last_user)
|
function vlayer.create_input_interface(surface, position, circuit, last_user)
|
||||||
local interface = surface.create_entity{ name = "storage-chest", position = position, force = "neutral" }
|
local interface = surface.create_entity{ name = "storage-chest", position = position, force = "neutral" }
|
||||||
|
interface.storage_filter = { name = "deconstruction-planner", quality = "normal" }
|
||||||
table.insert(vlayer_data.entity_interfaces.storage_input, interface)
|
table.insert(vlayer_data.entity_interfaces.storage_input, interface)
|
||||||
|
|
||||||
if last_user then
|
if last_user then
|
||||||
|
|||||||
Reference in New Issue
Block a user