Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Quezler committed Jan 20, 2025
1 parent b348565 commit 5dc3d03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 2.0.7
Date: 2025. 01. 20
Info:
- Require 2.0.32 for https://forums.factorio.com/124617
---------------------------------------------------------------------------------------------------
Version: 2.0.6
Date: 2025. 01. 18
Info:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local function serialize_requests(requester_chest)
local manual_filters = {}
-- local manual_sections = 0

for _, section in ipairs(requester_chest.get_logistic_point(defines.logistic_member_index.logistic_container).sections) do
for _, section in ipairs(requester_chest.get_logistic_sections().sections) do
if section.type == defines.logistic_section_type.manual then
-- manual_sections = manual_sections + 1
for _, filter in ipairs(section.filters) do
Expand Down Expand Up @@ -82,7 +82,7 @@ script.on_event(defines.events.on_entity_settings_pasted, function(event)
if matches and table_size(new_requests) > 0 then
-- game.print(serpent.block(old_requests))
-- game.print(serpent.block(new_requests))
for _, section in ipairs(requester_chest.get_logistic_point(defines.logistic_member_index.logistic_container).sections) do
for _, section in ipairs(requester_chest.get_logistic_sections().sections) do
if section.type == defines.logistic_section_type.manual then
section.multiplier = old_requests[1].section_multiplier + 1
set_multiplier = section.multiplier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"title": "Assembling machine request chest paste multiplier",
"description": "Copy entity settings onto a logistic chest several times to +1 the multiplier.",

"version": "2.0.6",
"version": "2.0.7",
"author": "Quezler",
"factorio_version": "2.0",

"dependencies": [
"? newsletter-for-mods-made-by-quezler",

"? base >= 2.0.29"
"? base >= 2.0.32"
]
}

0 comments on commit 5dc3d03

Please sign in to comment.