What is it used for?


Inspects an item and tells you exactly what recipes it is used in.

Utilities
8 years ago
0.14
70

g Error Control 54

8 years ago

Error while running event on_gui_click (ID 1)
what-is-it-used-for/control.lua:54: bad argument #1 to 'pairs' (table expected, got nil)

Mods with resources I think are Yuoki, Uranium Power, and Angel's infinite + Angel's Refining

8 years ago
(updated 8 years ago)

Hmm, I can't create the same error. I also can't find a version of uranium power for factorio 0.14. Have you edited mods outside of the mod portal?

Anyway, I can see where the error could arise so I inserted some extra checks in version 1.0.3 that hopefully clear away these problems.

8 years ago

Your update resolved it.

For any mod not on .14 portal i had updated just be changing the version number in the info.json. If a mod does not work with that I don't fix it further.

I also had creative mode and ore eraser -- can't really think of anything else that would be resource category and lead to a nil mine-able. Rest are unlikely, but if you want all of them:

{
"mods": [
{
"name": "base",
"enabled": "true"
},
{
"name": "PasteFix",
"enabled": "true"
},
{
"name": "rso-mod",
"enabled": "true"
},
{
"name": "TheFatController",
"enabled": "true"
},
{
"name": "what-is-it-used-for",
"enabled": "true"
},
{
"name": "advanced-logistics-system",
"enabled": "true"
},
{
"name": "Aircraft",
"enabled": "true"
},
{
"name": "auto-research",
"enabled": "true"
},
{
"name": "AutoDeconstruct",
"enabled": "true"
},
{
"name": "AutoTrash",
"enabled": "true"
},
{
"name": "Bergius_Process",
"enabled": "true"
},
{
"name": "BetterFluidColors",
"enabled": "true"
},
{
"name": "Bottleneck",
"enabled": "true"
},
{
"name": "color-coding",
"enabled": "true"
},
{
"name": "Crafting_Speed_Research",
"enabled": "true"
},
{
"name": "creative-mode",
"enabled": "true"
},
{
"name": "EvenMoreLight",
"enabled": "true"
},
{
"name": "Explosive Termites",
"enabled": "true"
},
{
"name": "FARL",
"enabled": "true"
},
{
"name": "filtered-deconstruction-planner",
"enabled": "true"
},
{
"name": "HandyHands",
"enabled": "true"
},
{
"name": "InitialScan",
"enabled": "true"
},
{
"name": "KBlueprints",
"enabled": "true"
},
{
"name": "LogisticsMining",
"enabled": "true"
},
{
"name": "longer-belts-redux",
"enabled": "true"
},
{
"name": "MoreLogisticsSlots",
"enabled": "true"
},
{
"name": "ore-eraser",
"enabled": "true"
},
{
"name": "Orphan Finder",
"enabled": "true"
},
{
"name": "PeppeBotStart",
"enabled": "true"
},
{
"name": "personal-roboport-switch",
"enabled": "true"
},
{
"name": "radarplus for rso",
"enabled": "true"
},
{
"name": "RailTanker",
"enabled": "true"
},
{
"name": "Robo-Charge-1x1",
"enabled": "true"
},
{
"name": "Sane-Concrete",
"enabled": "true"
},
{
"name": "Screenshot_Tool",
"enabled": "true"
},
{
"name": "Skip Burner Stage",
"enabled": "true"
},
{
"name": "Squeak Through",
"enabled": "true"
},
{
"name": "Train-Tech-Fix",
"enabled": "true"
},
{
"name": "tree_collision",
"enabled": "true"
},
{
"name": "Turtle_Speed",
"enabled": "true"
},
{
"name": "upgrade-planner",
"enabled": "true"
},
{
"name": "UPS-up",
"enabled": "true"
},
{
"name": "UraniumPower",
"enabled": "true"
},
{
"name": "VehicleSnap",
"enabled": "true"
},
{
"name": "Warehousing",
"enabled": "true"
},
{
"name": "Yuoki",
"enabled": "true"
},
{
"name": "angelsrefining",
"enabled": "true"
},
{
"name": "RailTankerAltTexture",
"enabled": "true"
},
{
"name": "yi_engines",
"enabled": "true"
},
{
"name": "angelsinfiniteores",
"enabled": "true"
},
{
"name": "Yi_Tech_Tree",
"enabled": "true"
},
{
"name": "Modpack_Yi_Angel",
"enabled": "true"
}
]
}

8 years ago

Well, if it is fixed then I'd consider it done.

New response