#Awesome Research Queue Manager
1 messages ยท Page 1 of 1 (latest)
Oh hell yes, installing this tonight! Will give any feedback I have, where do you prefer it, here or the mod portal or somewhere else?
If it crashes please open a bug report in the portal, that makes it easier for me to track
How do you determine what category a tech should go into?
Other feedback and suggestions can go either in this thread or as a report in thr mod portal
๐ ๐ ๐
It's based on the prototype data:
https://github.com/Subject-314159/awesome-rqm/blob/main/lib%2Fconst.lua#L4
For technology that unlock recipes or items I look into items first, then for each item I look at the place result entity's type
For example technology logistics 2 unlocks recipe fast belt, that recipe produces item fast belt, which places the entity fast belt, which has the prototype belt
huh
It starts with getting the effect of the technology: https://lua-api.factorio.com/latest/classes/LuaTechnologyPrototype.html#effects
If that is a recipe, I retrieve the recipe data: https://lua-api.factorio.com/latest/classes/LuaPrototypes.html#recipe
For that recipe you can get the items it produces: https://lua-api.factorio.com/latest/classes/LuaRecipePrototype.html#products
That item prototype has a place result: https://lua-api.factorio.com/latest/classes/LuaItemPrototype.html#place_result
The last step is to get the prototype type of that entity: https://lua-api.factorio.com/latest/prototypes.html