mirror of
https://git.somenet.org/factorio/some-autoresearch.git
synced 2025-12-06 03:10:11 +00:00
RELEASE 2.0.6 - Search should no longer show anything with zero ingredients
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.6
|
||||
Date: 2024-11-02
|
||||
|
||||
Changed:
|
||||
- Search should no longer show anything with zero ingredients.
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.0.5
|
||||
Date: 2024-10-26
|
||||
|
||||
@@ -582,7 +582,7 @@ gui = {
|
||||
text = string.lower(text)
|
||||
-- NOTICE: localised name matching does not work at present, pending unlikely changes to Factorio API
|
||||
for name, tech in pairs(player.force.technologies) do
|
||||
if not tech.researched and tech.enabled then
|
||||
if not tech.researched and tech.enabled and #tech.research_unit_ingredients > 0 then
|
||||
local showtech = false
|
||||
if string.find(string.lower(name), text, 1, true) then
|
||||
-- show techs that match by name
|
||||
|
||||
Reference in New Issue
Block a user