Reduce code + Remove github workflow

This commit is contained in:
Jean-Patrick Guerrero
2021-11-29 19:15:14 +01:00
parent 91af3b73d2
commit 27226a0d1b
14 changed files with 46 additions and 82 deletions

View File

@ -1,13 +1,10 @@
local set_fs = i3.set_fs
local hud_notif = i3.hud_notif
local fmt, search, table_merge, array_diff =
i3.get("fmt", "search", "table_merge", "array_diff")
local is_group, extract_groups, item_has_groups, apply_recipe_filters =
i3.get("is_group", "extract_groups", "item_has_groups", "apply_recipe_filters")
local POLL_FREQ = 0.25
IMPORT("fmt", "search", "table_merge", "array_diff")
IMPORT("is_group", "extract_groups", "item_has_groups", "apply_recipe_filters")
local function get_filtered_items(player, data)
local items, known, c = {}, 0, 0