Search found 3116 matches
- Mon Dec 11, 2023 3:49 pm
- Forum: Resolved Requests
- Topic: LuaGuiElement.select() uses a reserved keyword
- Replies: 2
- Views: 408
Re: LuaGuiElement.select() uses a reserved keyword
Thanks for noting this, the parameters have been renamed to start_index and end_index for the next version.
- Mon Dec 11, 2023 3:14 pm
- Forum: Resolved Requests
- Topic: Change dictionaries to tables (when applicable)
- Replies: 2
- Views: 442
Re: Change dictionaries to tables (when applicable)
Thanks for pointing this out, done for LuaEntity::belt_neighbours, LuaTrain::locomotives, LuaLogisticNetwork::get_supply_counts() and LuaLogisticNetwork::get_supply_points(). LuaEntity::neighbours was also a candidate, but I think the table type would be a mess so I left it as is. All other string d...
- Mon Dec 11, 2023 2:12 pm
- Forum: Resolved Requests
- Topic: Specify meaning of alternative numbered key "tuple"s for struct types
- Replies: 4
- Views: 649
Re: Specify meaning of alternative numbered key "tuple"s for struct types
I understand the order answer for the second example, but not for the first. Do you mean that a tuple that takes one string and one number will always be the first string and first number in the sorted fields? The only tuples that take an ItemID and an uint16 are the ItemIngredientPrototype and Ite...
- Mon Dec 11, 2023 1:47 pm
- Forum: Modding help
- Topic: Fire Armor now working after being crafted
- Replies: 5
- Views: 529
Re: Fire Armor now working after being crafted
Hey, the tutorial is up to date for the latest version. I assume that by "working" you mean it doesn't spawn the fire after you put on the armor? In that case, the issue will be with the control.lua. For example, maybe you forgot to save the file, or it has the wrong name. Or you're subscr...
- Tue Dec 05, 2023 6:45 pm
- Forum: Resolved Requests
- Topic: Types/LocalisedString missing number variant
- Replies: 1
- Views: 352
Re: Types/LocalisedString missing number variant
They indeed allow numbers. Added to the docs for the next version, thanks for pointing it out.
Note that in 2.0, they do not allow any number or bool - you need to call tostring() on them first if you want to use those types.
Note that in 2.0, they do not allow any number or bool - you need to call tostring() on them first if you want to use those types.
- Tue Dec 05, 2023 6:41 pm
- Forum: Resolved Requests
- Topic: Specify meaning of alternative numbered key "tuple"s for struct types
- Replies: 4
- Views: 649
Re: Specify meaning of alternative numbered key "tuple"s for struct types
It's always in the order of the struct with the default sort. But I still added textual descriptions to all prototype stage tuples in the next version.
- Tue Dec 05, 2023 4:55 pm
- Forum: Resolved Requests
- Topic: EquipmentPrototype states energy_source as ElectricEnergySource but it can be different - No, just confusing
- Replies: 3
- Views: 456
Re: EquipmentPrototype states energy_source as ElectricEnergySource but it can be different - No, just confusing
I'll consider this post an indication to improve https://lua-api.factorio.com/latest/typ ... .html#type to mention that not only it's not mandatory, is completely ignored when the energy source is loaded directly as a ElectricEnergySource. Done for the next version for BurnerEnergySource and Electr...
- Tue Dec 05, 2023 4:53 pm
- Forum: Resolved Requests
- Topic: The grammar for description of selection_box has a little weirdness
- Replies: 2
- Views: 358
Re: The grammar for description of selection_box has a little weirdness
That looks like a comma splice. The comma has been replaced with a period for the next version.
- Sat Dec 02, 2023 5:13 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.99] Pumpjacks drain oil fields below expected yield
- Replies: 6
- Views: 2855
Re: [1.1.99] Pumpjacks drain oil fields below expected yield
I apologize, I was testing on 1.1.94.... It is indeed broken in 1.1.99. (I'm also on Linux).
- Sat Dec 02, 2023 3:47 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.99] Pumpjacks drain oil fields below expected yield
- Replies: 6
- Views: 2855
Re: [1.1.99] Pumpjacks drain oil fields below expected yield
I can't reproduce this, a pumpjack on a 200% patch stops at 4 oil/s as expected. Could you provide a save file that can be run at a high game speed where the yield of a pumpjack will drop down to 20% (2/s)?
- Fri Dec 01, 2023 5:24 pm
- Forum: Wiki Talk
- Topic: Delete archived wiki items
- Replies: 7
- Views: 822
Re: Delete archived wiki items
For now I think the namespace is the best solution. It has little overhead and a large effect regarding the search, without outright removing anything. So I'll get started on the backend changes for that. Moving the pages will need to leave a redirect, for now, to not break too many links. The inter...
- Mon Nov 27, 2023 2:57 pm
- Forum: Duplicates
- Topic: [1.1.88] Mod changelog gets invalidated when sub-lines are matching
- Replies: 2
- Views: 543
Re: [1.1.88] Mod changelog gets invalidated when sub-lines are matching
Duplicate: https://forums.factorio.com/81480 Reason for disallowing duplicate lines (including sublines) is that changelog lines sometimes accidentally get duplicated during git merge. This is not wanted, so the parser errors when it happens. As Pi-C says, the game already outputs the changelog issu...
- Mon Nov 27, 2023 2:50 pm
- Forum: Implemented Suggestions
- Topic: Switch - Option to Change Free Cursor Speed
- Replies: 1
- Views: 797
Re: Switch - Option to Change Free Cursor Speed
This was added in 1.1.87, as "stick sensitivity" in the controls settings.
- Mon Nov 27, 2023 2:45 pm
- Forum: Implemented for 2.0
- Topic: Recipe keys or key or normal.key or normal.keys or ...
- Replies: 5
- Views: 1687
Re: Recipe keys or key or normal.key or normal.keys or ...
Please unify recipes to recipe.normal{ ingredients{}, results{} } and recipe.expensive{ ingredients{}, results{} } Currently, if i want to get the results of a recipe i have to check for recipe.result, recipe results or normal.result, normal.results or expensive.result, expensive.results and if the...
- Mon Nov 27, 2023 2:34 pm
- Forum: Modding interface requests
- Topic: Explicit errors for removed Lua features
- Replies: 1
- Views: 672
Re: Explicit errors for removed Lua features
The docs are better now (https://lua-api.factorio.com/latest/aux ... aries.html) but I agree that erroring more clearly would be nice.
- Mon Nov 27, 2023 2:32 pm
- Forum: Implemented Suggestions
- Topic: Let us restrict the number of trains a train stop can accept
- Replies: 13
- Views: 5214
Re: Let us restrict the number of trains a train stop can accept
This was added in 1.1.
- Mon Nov 27, 2023 2:30 pm
- Forum: Implemented in 2.0
- Topic: Add discharge defense remote and artillery targeting remote to shortcut bar
- Replies: 4
- Views: 1107
Re: Add discharge defense remote and artillery targeting remote to shortcut bar
See https://factorio.com/blog/post/fff-379, this is implemented for 2.0.
- Mon Nov 27, 2023 2:18 pm
- Forum: Implemented in 2.0
- Topic: [0.17.32] Can't copy error text from "Error loading mods" dialogue box.
- Replies: 2
- Views: 919
Re: [0.17.32] Can't copy error text from "Error loading mods" dialogue box.
See 103769, this was implemented for 2.0.
- Fri Nov 24, 2023 4:09 pm
- Forum: Wiki Talk
- Topic: Suggestion to edit/add info on wiki page about Application Directory
- Replies: 2
- Views: 628
Re: Suggestion to edit/add info on wiki page about Application Directory
Hey, as far as I can tell and as Tertius says, that is not a standard directory where save files are stored.
- Tue Nov 21, 2023 8:40 pm
- Forum: Resolved Requests
- Topic: EquipmentPrototype states energy_source as ElectricEnergySource but it can be different - No, just confusing
- Replies: 3
- Views: 456
Re: EquipmentPrototype states energy_source as ElectricEnergySource but it can be different
It's getting loaded as an electric energy source. When the energy source is directly loaded as one of the subtypes (NOT via EnergySource or another union type), the "type" is ignored, regardless of whether it is correct or incorrect. I'll consider this post an indication to improve https:/...