Search found 3128 matches
- Wed Jan 10, 2024 11:12 am
- Forum: Resolved Requests
- Topic: LuaSurface.solar_power_multiplier equipment not limited
- Replies: 2
- Views: 461
Re: LuaSurface.solar_power_multiplier equipment not limited
Note removed in the next version (1.1.102), thanks for pointing it out.
- Wed Jan 10, 2024 11:11 am
- Forum: Resolved Requests
- Topic: on_player_cursor_stack_changed is not raised immediately
- Replies: 3
- Views: 423
Re: on_player_cursor_stack_changed is not raised immediately
Okay, added for the next release (1.1.102).
- Wed Jan 10, 2024 11:11 am
- Forum: Documentation Improvement Requests
- Topic: Alignments in rendering are unclear
- Replies: 8
- Views: 973
Re: Alignments in rendering are unclear
Thanks for pointing that out, fixed to be "The text is aligned so that the target position is at the given side of the text.".
- Tue Jan 09, 2024 9:43 pm
- Forum: Modding help
- Topic: Mod Tutorial Folder Usage??
- Replies: 1
- Views: 246
Re: Mod Tutorial Folder Usage??
There was no mod that used it. So I made a demo mod: https://github.com/Bilka2/tutorial-demo / https://mods.factorio.com/mod/tutorial-demo The summary is that you just put scenarios into that folder and then reference those in the TutorialDefinition prototype, which then needs a tip and trick to be ...
- Tue Jan 09, 2024 7:41 pm
- Forum: Documentation Improvement Requests
- Topic: Alignments in rendering are unclear
- Replies: 8
- Views: 973
Re: Alignments in rendering are unclear
For https://forums.factorio.com/viewtopic.php?p=600414#p600414 I made separate union types for the alignment and added these descriptions: firefox_LrZqpS5yPb.png I think that should mostly resolve this. But I won't move the thread to resolved for now because I agree that an image would still be good...
- Tue Jan 09, 2024 7:38 pm
- Forum: Resolved Requests
- Topic: Use string unions instead of generic string
- Replies: 3
- Views: 500
Re: Use string unions instead of generic string
Thanks, those are good finds! Fixed for the next release (1.1.102).
I found a few more on LuaRendering (get_type and the rest of the alignment methods) and on LuaSurface, there it was mostly ForceIdentification being listed as only string or Force.
I found a few more on LuaRendering (get_type and the rest of the alignment methods) and on LuaSurface, there it was mostly ForceIdentification being listed as only string or Force.
- Mon Jan 08, 2024 2:10 pm
- Forum: Questions, reviews and ratings
- Topic: Ingredient tree mod?
- Replies: 3
- Views: 442
- Fri Jan 05, 2024 5:27 pm
- Forum: Wiki Talk
- Topic: Wiki username change.
- Replies: 1
- Views: 612
Re: Wiki username change.
Done.DreamOfYesterday wrote: ↑Thu Dec 07, 2023 9:12 pmI want to ask if it is possible to change my wiki username
- Mon Jan 01, 2024 2:46 pm
- Forum: Technical Help
- Topic: [Solved] Stuck on messagebox when starting new game
- Replies: 3
- Views: 401
Re: Stuck on messagebox when starting new game
@Bilka Ooooooooooh, that solved it! So strange that a bug like this was never found. If it's due to a mod, it most likely it was never reported to the author or the author simply hasn't fixed it so far. This kind of message with the confirm key only appears at the very start of the singleplayer fre...
- Mon Jan 01, 2024 2:43 pm
- Forum: Documentation Improvement Requests
- Topic: Documentation for lualib libraries is missing
- Replies: 5
- Views: 645
Re: Documentation for lualib libraries is missing
Documenting the contents of the lualib libraries is in our longterm plan. For now you'll have to make do with the comments in the files/their source code. +1. I've been misled or made faulty assumptions a few times. Prime candidate would be resource_autoplace. Could you expand on specific issues/inf...
- Mon Jan 01, 2024 2:37 pm
- Forum: Resolved Requests
- Topic: Fluid product probability vs item product probability
- Replies: 1
- Views: 351
Re: Fluid product probability vs item product probability
Yep! I copied the probability description to FluidProductPrototype for 1.1.102. Thank you for originally adding the description on ItemProductPrototype on the wiki.
- Mon Jan 01, 2024 2:30 pm
- Forum: Resolved Requests
- Topic: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy
- Replies: 3
- Views: 554
Re: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy
Added to the docs with the next version (1.1.102).
- Mon Jan 01, 2024 2:30 pm
- Forum: Resolved Requests
- Topic: Poor quality of LuaGroup documentation
- Replies: 1
- Views: 323
Re: Poor quality of LuaGroup documentation
Thanks for the note, the documentation of the class has been improved for the next version (1.1.102).
- Mon Jan 01, 2024 2:28 pm
- Forum: Resolved Requests
- Topic: [1.1.100] Return type missing for get_insertable_count
- Replies: 1
- Views: 318
Re: [1.1.100] Return type missing for get_insertable_count
Thanks for the note, added the return type (uint) for the next version (1.1.102).
You may find it useful to compare the output of your doc generator with the output by FMTK. It generates hint files for https://luals.github.io/wiki/annotations/ which is based on EmmyLua (but not exactly the same).
You may find it useful to compare the output of your doc generator with the output by FMTK. It generates hint files for https://luals.github.io/wiki/annotations/ which is based on EmmyLua (but not exactly the same).
- Mon Jan 01, 2024 2:15 pm
- Forum: Technical Help
- Topic: [Solved] Stuck on messagebox when starting new game
- Replies: 3
- Views: 401
Re: Stuck on messagebox when starting new game
Maybe a mod is consuming the tab keypress (meaning the mod processes it and the game never gets it). Try rebinding "Confirm message" to another key in the controls.
- Mon Jan 01, 2024 1:53 pm
- Forum: Resolved Requests
- Topic: on_player_cursor_stack_changed is not raised immediately
- Replies: 3
- Views: 423
Re: on_player_cursor_stack_changed is not raised immediately
Hey, it already says that it is raised in the current_tick (instead of instantly) here: https://lua-api.factorio.com/latest/classes/LuaPlayer.html#clear_cursor I see no other mention of that event in the docs, except for the event itself. Do you mean that it should be mentioned in the event descript...
- Mon Jan 01, 2024 12:52 pm
- Forum: Modding help
- Topic: Wrangling resource autoplace / noise expressions?
- Replies: 5
- Views: 665
Re: Converting resource autoplace settings to tile properties / named expressions?
local initial_expression = util.copy(autoplace_template.probability_expression) local v = "moisture" local condition = noise.less_than(noise.var(v), properties.high_band) * noise.less_or_equal(properties.low_band, noise.var(v)) fissure_prototype.autoplace = properties.autoplace and { prob...
- Sun Dec 31, 2023 1:30 pm
- Forum: Resolved Requests
- Topic: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy
- Replies: 3
- Views: 554
Re: [1.1] on_pre_ghost_deconstructed fires on item-requester-proxy
Moving this to doc requests for the doc improvement. (commit hash of behaviour change: dd69077)
- Sat Dec 30, 2023 5:35 pm
- Forum: Modding help
- Topic: Wrangling resource autoplace / noise expressions?
- Replies: 5
- Views: 665
Re: Converting resource autoplace settings to tile properties / named expressions?
No need for named noise expression shenanigans, this just works: /c game.print(serpent.line(game.player.surface.calculate_tile_properties({"entity:crude-oil:probability", "entity:crude-oil:richness"}, {game.player.position}))) However, I want to illustrate for you or anyone else ...
- Sat Dec 30, 2023 4:01 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.100] Crash entering large max player cap (FloatCast)
- Replies: 3
- Views: 552
Re: [1.1.100] Crash entering large max player cap (FloatCast)
The fix for this was already released in 1.1.101 which is currently experimental.