diff options
Diffstat (limited to 'unified_inventory')
52 files changed, 1 insertions, 3 deletions
diff --git a/unified_inventory/internal.lua b/unified_inventory/internal.lua index aa7ce66..0f7fa34 100644 --- a/unified_inventory/internal.lua +++ b/unified_inventory/internal.lua @@ -297,15 +297,13 @@ function unified_inventory.apply_filter(player, filter, search_dir) return string.find(lname, lfilter, 1, true) or string.find(ldesc, lfilter, 1, true) end end - local is_creative = unified_inventory.is_creative(player_name) unified_inventory.filtered_items_list[player_name]={} for name, def in pairs(minetest.registered_items) do if (not def.groups.not_in_creative_inventory or def.groups.not_in_creative_inventory == 0) and def.description and def.description ~= "" - and ffilter(name, def) - and (is_creative or unified_inventory.crafts_for.recipe[def.name]) then + and ffilter(name, def) then table.insert(unified_inventory.filtered_items_list[player_name], name) end end diff --git a/unified_inventory/textures/bags_large.png b/unified_inventory/textures/bags_large.png Binary files differindex 6d56299..187021c 100644 --- a/unified_inventory/textures/bags_large.png +++ b/unified_inventory/textures/bags_large.png diff --git a/unified_inventory/textures/bags_medium.png b/unified_inventory/textures/bags_medium.png Binary files differindex 59ba11d..d908883 100644 --- a/unified_inventory/textures/bags_medium.png +++ b/unified_inventory/textures/bags_medium.png diff --git a/unified_inventory/textures/bags_small.png b/unified_inventory/textures/bags_small.png Binary files differindex d48ffcb..9e4f4f6 100644 --- a/unified_inventory/textures/bags_small.png +++ b/unified_inventory/textures/bags_small.png diff --git a/unified_inventory/textures/ui_1_icon.png b/unified_inventory/textures/ui_1_icon.png Binary files differindex f4e85a0..ed4ceb9 100644 --- a/unified_inventory/textures/ui_1_icon.png +++ b/unified_inventory/textures/ui_1_icon.png diff --git a/unified_inventory/textures/ui_2_icon.png b/unified_inventory/textures/ui_2_icon.png Binary files differindex 96175a6..f4566d8 100644 --- a/unified_inventory/textures/ui_2_icon.png +++ b/unified_inventory/textures/ui_2_icon.png diff --git a/unified_inventory/textures/ui_3_icon.png b/unified_inventory/textures/ui_3_icon.png Binary files differindex 1db2916..ff6ebbb 100644 --- a/unified_inventory/textures/ui_3_icon.png +++ b/unified_inventory/textures/ui_3_icon.png diff --git a/unified_inventory/textures/ui_4_icon.png b/unified_inventory/textures/ui_4_icon.png Binary files differindex f344af4..3a12bfd 100644 --- a/unified_inventory/textures/ui_4_icon.png +++ b/unified_inventory/textures/ui_4_icon.png diff --git a/unified_inventory/textures/ui_5_icon.png b/unified_inventory/textures/ui_5_icon.png Binary files differindex e5dc4b0..c389152 100644 --- a/unified_inventory/textures/ui_5_icon.png +++ b/unified_inventory/textures/ui_5_icon.png diff --git a/unified_inventory/textures/ui_bags_icon.png b/unified_inventory/textures/ui_bags_icon.png Binary files differindex 6d56299..2882a23 100644 --- a/unified_inventory/textures/ui_bags_icon.png +++ b/unified_inventory/textures/ui_bags_icon.png diff --git a/unified_inventory/textures/ui_bags_lg_form.png b/unified_inventory/textures/ui_bags_lg_form.png Binary files differindex 713cacc..24dab30 100644 --- a/unified_inventory/textures/ui_bags_lg_form.png +++ b/unified_inventory/textures/ui_bags_lg_form.png diff --git a/unified_inventory/textures/ui_bags_main_form.png b/unified_inventory/textures/ui_bags_main_form.png Binary files differindex 37450f3..8c168d2 100644 --- a/unified_inventory/textures/ui_bags_main_form.png +++ b/unified_inventory/textures/ui_bags_main_form.png diff --git a/unified_inventory/textures/ui_bags_med_form.png b/unified_inventory/textures/ui_bags_med_form.png Binary files differindex 33e922e..27a1591 100644 --- a/unified_inventory/textures/ui_bags_med_form.png +++ b/unified_inventory/textures/ui_bags_med_form.png diff --git a/unified_inventory/textures/ui_bags_sm_form.png b/unified_inventory/textures/ui_bags_sm_form.png Binary files differindex b3b66bb..6234eb8 100644 --- a/unified_inventory/textures/ui_bags_sm_form.png +++ b/unified_inventory/textures/ui_bags_sm_form.png diff --git a/unified_inventory/textures/ui_bags_trash.png b/unified_inventory/textures/ui_bags_trash.png Binary files differindex 6338999..0bc11c5 100644 --- a/unified_inventory/textures/ui_bags_trash.png +++ b/unified_inventory/textures/ui_bags_trash.png diff --git a/unified_inventory/textures/ui_blank_image.png b/unified_inventory/textures/ui_blank_image.png Binary files differindex a8735b8..83d9d1a 100644 --- a/unified_inventory/textures/ui_blank_image.png +++ b/unified_inventory/textures/ui_blank_image.png diff --git a/unified_inventory/textures/ui_blue_icon_background.png b/unified_inventory/textures/ui_blue_icon_background.png Binary files differindex 9434217..2f872a4 100644 --- a/unified_inventory/textures/ui_blue_icon_background.png +++ b/unified_inventory/textures/ui_blue_icon_background.png diff --git a/unified_inventory/textures/ui_circular_arrows_icon.png b/unified_inventory/textures/ui_circular_arrows_icon.png Binary files differindex d687bbf..c6846e6 100644 --- a/unified_inventory/textures/ui_circular_arrows_icon.png +++ b/unified_inventory/textures/ui_circular_arrows_icon.png diff --git a/unified_inventory/textures/ui_craft_icon.png b/unified_inventory/textures/ui_craft_icon.png Binary files differindex fbe4cc7..a2283e3 100644 --- a/unified_inventory/textures/ui_craft_icon.png +++ b/unified_inventory/textures/ui_craft_icon.png diff --git a/unified_inventory/textures/ui_craftgrid_icon.png b/unified_inventory/textures/ui_craftgrid_icon.png Binary files differindex 6731327..5111f1e 100644 --- a/unified_inventory/textures/ui_craftgrid_icon.png +++ b/unified_inventory/textures/ui_craftgrid_icon.png diff --git a/unified_inventory/textures/ui_craftguide_form.png b/unified_inventory/textures/ui_craftguide_form.png Binary files differindex 3cd8643..d9be53f 100644 --- a/unified_inventory/textures/ui_craftguide_form.png +++ b/unified_inventory/textures/ui_craftguide_form.png diff --git a/unified_inventory/textures/ui_craftguide_icon.png b/unified_inventory/textures/ui_craftguide_icon.png Binary files differindex 5866b7b..d6c89e6 100644 --- a/unified_inventory/textures/ui_craftguide_icon.png +++ b/unified_inventory/textures/ui_craftguide_icon.png diff --git a/unified_inventory/textures/ui_crafting_form.png b/unified_inventory/textures/ui_crafting_form.png Binary files differindex 8c980ac..9043287 100644 --- a/unified_inventory/textures/ui_crafting_form.png +++ b/unified_inventory/textures/ui_crafting_form.png diff --git a/unified_inventory/textures/ui_doubleleft_icon.png b/unified_inventory/textures/ui_doubleleft_icon.png Binary files differindex 587bb25..64d50c0 100644 --- a/unified_inventory/textures/ui_doubleleft_icon.png +++ b/unified_inventory/textures/ui_doubleleft_icon.png diff --git a/unified_inventory/textures/ui_doubleright_icon.png b/unified_inventory/textures/ui_doubleright_icon.png Binary files differindex f552acc..af20930 100644 --- a/unified_inventory/textures/ui_doubleright_icon.png +++ b/unified_inventory/textures/ui_doubleright_icon.png diff --git a/unified_inventory/textures/ui_form_bg.png b/unified_inventory/textures/ui_form_bg.png Binary files differindex 74a6a3b..d973b34 100644 --- a/unified_inventory/textures/ui_form_bg.png +++ b/unified_inventory/textures/ui_form_bg.png diff --git a/unified_inventory/textures/ui_gohome_icon.png b/unified_inventory/textures/ui_gohome_icon.png Binary files differindex b3397ef..c5126ae 100644 --- a/unified_inventory/textures/ui_gohome_icon.png +++ b/unified_inventory/textures/ui_gohome_icon.png diff --git a/unified_inventory/textures/ui_green_icon_background.png b/unified_inventory/textures/ui_green_icon_background.png Binary files differindex b06c29c..ea28c82 100644 --- a/unified_inventory/textures/ui_green_icon_background.png +++ b/unified_inventory/textures/ui_green_icon_background.png diff --git a/unified_inventory/textures/ui_group.png b/unified_inventory/textures/ui_group.png Binary files differindex 2e4714a..b6b8d28 100644 --- a/unified_inventory/textures/ui_group.png +++ b/unified_inventory/textures/ui_group.png diff --git a/unified_inventory/textures/ui_home_icon.png b/unified_inventory/textures/ui_home_icon.png Binary files differindex e44419d..b9ce4f3 100644 --- a/unified_inventory/textures/ui_home_icon.png +++ b/unified_inventory/textures/ui_home_icon.png diff --git a/unified_inventory/textures/ui_left_icon.png b/unified_inventory/textures/ui_left_icon.png Binary files differindex 68cffb8..373b71e 100644 --- a/unified_inventory/textures/ui_left_icon.png +++ b/unified_inventory/textures/ui_left_icon.png diff --git a/unified_inventory/textures/ui_main_inventory.png b/unified_inventory/textures/ui_main_inventory.png Binary files differindex 3d380de..b7860ca 100644 --- a/unified_inventory/textures/ui_main_inventory.png +++ b/unified_inventory/textures/ui_main_inventory.png diff --git a/unified_inventory/textures/ui_misc_form.png b/unified_inventory/textures/ui_misc_form.png Binary files differindex e74a605..2d6ad01 100644 --- a/unified_inventory/textures/ui_misc_form.png +++ b/unified_inventory/textures/ui_misc_form.png diff --git a/unified_inventory/textures/ui_moon_icon.png b/unified_inventory/textures/ui_moon_icon.png Binary files differindex b2d7b44..cec7009 100644 --- a/unified_inventory/textures/ui_moon_icon.png +++ b/unified_inventory/textures/ui_moon_icon.png diff --git a/unified_inventory/textures/ui_off_icon.png b/unified_inventory/textures/ui_off_icon.png Binary files differindex 319fc6e..187e59a 100644 --- a/unified_inventory/textures/ui_off_icon.png +++ b/unified_inventory/textures/ui_off_icon.png diff --git a/unified_inventory/textures/ui_ok_icon.png b/unified_inventory/textures/ui_ok_icon.png Binary files differindex dcbda1d..4073899 100644 --- a/unified_inventory/textures/ui_ok_icon.png +++ b/unified_inventory/textures/ui_ok_icon.png diff --git a/unified_inventory/textures/ui_on_icon.png b/unified_inventory/textures/ui_on_icon.png Binary files differindex a9884cf..0f5c48f 100644 --- a/unified_inventory/textures/ui_on_icon.png +++ b/unified_inventory/textures/ui_on_icon.png diff --git a/unified_inventory/textures/ui_pencil_icon.png b/unified_inventory/textures/ui_pencil_icon.png Binary files differindex a73b740..dfcc19b 100644 --- a/unified_inventory/textures/ui_pencil_icon.png +++ b/unified_inventory/textures/ui_pencil_icon.png diff --git a/unified_inventory/textures/ui_red_icon_background.png b/unified_inventory/textures/ui_red_icon_background.png Binary files differindex 67f5dcc..8d4d807 100644 --- a/unified_inventory/textures/ui_red_icon_background.png +++ b/unified_inventory/textures/ui_red_icon_background.png diff --git a/unified_inventory/textures/ui_reset_icon.png b/unified_inventory/textures/ui_reset_icon.png Binary files differindex ec9ef62..e966685 100644 --- a/unified_inventory/textures/ui_reset_icon.png +++ b/unified_inventory/textures/ui_reset_icon.png diff --git a/unified_inventory/textures/ui_right_icon.png b/unified_inventory/textures/ui_right_icon.png Binary files differindex 1f11868..cbdab76 100644 --- a/unified_inventory/textures/ui_right_icon.png +++ b/unified_inventory/textures/ui_right_icon.png diff --git a/unified_inventory/textures/ui_search_icon.png b/unified_inventory/textures/ui_search_icon.png Binary files differindex b529e43..2934bdc 100644 --- a/unified_inventory/textures/ui_search_icon.png +++ b/unified_inventory/textures/ui_search_icon.png diff --git a/unified_inventory/textures/ui_sethome_icon.png b/unified_inventory/textures/ui_sethome_icon.png Binary files differindex 5c56d64..4c0f6e5 100644 --- a/unified_inventory/textures/ui_sethome_icon.png +++ b/unified_inventory/textures/ui_sethome_icon.png diff --git a/unified_inventory/textures/ui_single_slot.png b/unified_inventory/textures/ui_single_slot.png Binary files differindex ef2a246..63da98d 100644 --- a/unified_inventory/textures/ui_single_slot.png +++ b/unified_inventory/textures/ui_single_slot.png diff --git a/unified_inventory/textures/ui_skip_backward_icon.png b/unified_inventory/textures/ui_skip_backward_icon.png Binary files differindex fde4fea..eac6e4c 100644 --- a/unified_inventory/textures/ui_skip_backward_icon.png +++ b/unified_inventory/textures/ui_skip_backward_icon.png diff --git a/unified_inventory/textures/ui_skip_forward_icon.png b/unified_inventory/textures/ui_skip_forward_icon.png Binary files differindex 182e7ed..3f85a9f 100644 --- a/unified_inventory/textures/ui_skip_forward_icon.png +++ b/unified_inventory/textures/ui_skip_forward_icon.png diff --git a/unified_inventory/textures/ui_sun_icon.png b/unified_inventory/textures/ui_sun_icon.png Binary files differindex 262b1f3..11c7eef 100644 --- a/unified_inventory/textures/ui_sun_icon.png +++ b/unified_inventory/textures/ui_sun_icon.png diff --git a/unified_inventory/textures/ui_trash_icon.png b/unified_inventory/textures/ui_trash_icon.png Binary files differindex 081bac7..c5ac97c 100644 --- a/unified_inventory/textures/ui_trash_icon.png +++ b/unified_inventory/textures/ui_trash_icon.png diff --git a/unified_inventory/textures/ui_waypoint_set_icon.png b/unified_inventory/textures/ui_waypoint_set_icon.png Binary files differindex 6eb9d19..4649a4d 100644 --- a/unified_inventory/textures/ui_waypoint_set_icon.png +++ b/unified_inventory/textures/ui_waypoint_set_icon.png diff --git a/unified_inventory/textures/ui_waypoints_icon.png b/unified_inventory/textures/ui_waypoints_icon.png Binary files differindex 530c1d7..91d6e3b 100644 --- a/unified_inventory/textures/ui_waypoints_icon.png +++ b/unified_inventory/textures/ui_waypoints_icon.png diff --git a/unified_inventory/textures/ui_xyz_icon.png b/unified_inventory/textures/ui_xyz_icon.png Binary files differindex 9b48acb..003ea63 100644 --- a/unified_inventory/textures/ui_xyz_icon.png +++ b/unified_inventory/textures/ui_xyz_icon.png diff --git a/unified_inventory/textures/ui_xyz_on_icon.png b/unified_inventory/textures/ui_xyz_on_icon.png Binary files differindex 9b48acb..003ea63 100644 --- a/unified_inventory/textures/ui_xyz_on_icon.png +++ b/unified_inventory/textures/ui_xyz_on_icon.png |