mirror of
https://github.com/Wyrrrd/Autofilter.git
synced 2026-05-12 05:52:59 +02:00
Minor improvements
- Typos - Code style - Better thumbnail
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# Autofilter
|
||||

|
||||
<img src="https://raw.githubusercontent.com/Wyrrrd/Autofilter/master/thumbnail.png" width="128" height="128">
|
||||
|
||||
Description:
|
||||
- When you place a filter inserter, it reads either the inventory contents or inventory filters on the pickup side and sets it's filter to those items.
|
||||
- When you place a filter inserter, it reads either the inventory contents or inventory filters on the pickup side and sets its filter to those items.
|
||||
- Fills the inserter's filter only until it is full (of course).
|
||||
- The mode can be changed or disabled in player mod settings on the fly as needed.
|
||||
- Should work with most modded filter inserters.
|
||||
|
||||
@@ -1,4 +1,12 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.3
|
||||
Date: 23. 2. 2020
|
||||
Changes:
|
||||
- Minor improvements (typos, code style)
|
||||
|
||||
Graphics:
|
||||
- Changed thumbnail to the better
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.2
|
||||
Date: 22. 2. 2020
|
||||
Changes:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
--functions definitions
|
||||
local function get_items_by_content(inserter,inventory)
|
||||
local items = {}
|
||||
for item,count in pairs(inventory.get_contents()) do
|
||||
for item,_ in pairs(inventory.get_contents()) do
|
||||
if #items < inserter.filter_slot_count then
|
||||
items[#items+1] = item
|
||||
end
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Autofilter",
|
||||
"version": "0.18.2",
|
||||
"version": "0.18.3",
|
||||
"title": "Autofilter",
|
||||
"author": "Wyrrrd",
|
||||
"dependencies": ["base >= 0.18.0"],
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 174 KiB |
Reference in New Issue
Block a user