Search found 232 matches
- Wed May 04, 2022 10:01 am
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20004
Re: New API Docs website
On the main page (https://lua-api.factorio.com/latest/index.html) the Classes header isn't clickable, but the Events header further down the page is. Capture.PNG There is the Classes page that I assume the header should link to: https://lua-api.factorio.com/latest/Classes.html You are absolutely ri...
- Sun Jan 23, 2022 10:36 am
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 83095
Re: Small documentation improvement requests
I just wanted to make a quick note on all the Position conversation: I agree that it's all a pretty big mess at the moment. The fundamental issue is that read and write have to have the same type in the docs, even when they don't behave the same, so you end up with confusing concepts that try to en...
- Wed Nov 03, 2021 7:49 pm
- Forum: Resolved Problems and Bugs
- Topic: [Genhis] [1.1.45] Crash when visiting locomotive page in prototype explorer
- Replies: 7
- Views: 3668
Re: [1.1.45] Crash when visiting locomotive page in prototype explorer
Can confirm, crashes for me too, macos log attached.
- Fri Oct 22, 2021 7:22 am
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 83095
Re: Small documentation improvement requests
Silari is right in this case, I actually put that x/y line there myself pretty recently. The whole situation isn't great, it's on my list to come up with a better solution to it, but the underlying issue is that it's just inconsistently implemented in the APIs, sometimes it's one way, sometimes the ...
- Wed Sep 15, 2021 9:44 am
- Forum: Mods
- Topic: [MOD 0.10.x] Trailer Mod
- Replies: 15
- Views: 19899
Re: [MOD 0.10.x] Trailer Mod
I attached the mod to this message for those that are interested. The script likely won't run though since it uses some non-release API calls. But the map should be able to be migrated step by step to a recent release.
- Wed Sep 08, 2021 7:43 am
- Forum: Mods
- Topic: [MOD 0.17+] Factory Planner
- Replies: 2
- Views: 1680
Re: [MOD 0.17+] Factory Planner
Hi, thanks for the very detailed report, appreciate it! I‘ll try to have a look soon.
Edit: I fixed this bug, more info on the mod portal.
Edit: I fixed this bug, more info on the mod portal.
- Sat Aug 21, 2021 6:26 pm
- Forum: Implemented mod requests
- Topic: [Doc] JSON version of lua-api documentation
- Replies: 12
- Views: 4123
Re: [Doc] JSON version of lua-api documentation
That is great! Unfortunately not retroactive, but awesome fo the future. Can we have such a json output for prototype definitions as well (even though they are only in the wiki and mostly manually updated)? I'd have liked to make it work retroactively, but unfortunately getting this to work well re...
- Fri Aug 20, 2021 1:05 pm
- Forum: Implemented mod requests
- Topic: [Doc] JSON version of lua-api documentation
- Replies: 12
- Views: 4123
Re: [Doc] JSON version of lua-api documentation
This is a thing now!
- Mon Jul 05, 2021 11:01 am
- Forum: Modding discussion
- Topic: LuaSurface.request_path documentation
- Replies: 7
- Views: 1847
Re: LuaSurface.request_path documentation
Appreciate all the feedback, I'll change the method description to lay out these nuances.
- Wed Jun 16, 2021 4:56 pm
- Forum: Releases
- Topic: Version 1.1.35
- Replies: 13
- Views: 22758
Re: Version 1.1.35
Added a machine-readable JSON format of the runtime documentation, which can be used by developer tools to provide code completion and related functionality. is this json schema and where can I find it so I can use it as a linter! Information about it can be found here , and support for code comple...
- Fri Jun 04, 2021 6:44 am
- Forum: Modding discussion
- Topic: LuaEntity::get_recipe() subclasses
- Replies: 6
- Views: 2024
Re: LuaEntity::get_recipe() subclasses
You're right, probably best to be explicit. Fixed for the next release.
The whole 'Can only be used if' system is kind of bad in general though, it's due for a re-do at some point I feel like.
The whole 'Can only be used if' system is kind of bad in general though, it's due for a re-do at some point I feel like.
- Fri Jun 04, 2021 6:28 am
- Forum: Modding discussion
- Topic: LuaEntity::get_recipe() subclasses
- Replies: 6
- Views: 2024
Re: LuaEntity::get_recipe() subclasses
Doesn't CraftingMachine already imply that?
- Fri Jun 04, 2021 6:01 am
- Forum: Modding discussion
- Topic: LuaEntity::get_recipe() subclasses
- Replies: 6
- Views: 2024
LuaEntity::get_recipe() subclasses
https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.get_recipe Works on a ghost of a crafting machine. Not sure if it is intentional or not (there is no other obvious way to check the recipe on a ghost), but it works. get_recipe() and previous_recipe don't do anything on a blueprint of a f...
- Fri May 21, 2021 12:29 pm
- Forum: Modding help
- Topic: What is the difference between discrete_slider and discrete_values in a LuaGuiElement slider?
- Replies: 4
- Views: 1340
- Fri May 21, 2021 11:46 am
- Forum: Modding help
- Topic: What is the difference between discrete_slider and discrete_values in a LuaGuiElement slider?
- Replies: 4
- Views: 1340
Re: What is the difference between discrete_slider and discrete_values in a LuaGuiElement slider?
From my testing, discrete_slider does not do anything at all, only the value of discrete_values matters. The solution is to remove it from the API, but as that's a breaking change, it's a bit more of a delicate affair. I'll see about that though. I noticed this a while ago, but documenting it as 'th...
- Wed Apr 28, 2021 10:06 am
- Forum: Already exists
- Topic: LuaGuiElement{type="camera",entity=<follow this>}
- Replies: 6
- Views: 2717
Re: LuaGuiElement{type="camera",entity=<follow this>}
I added a note hinting at this functionality to the docs for the next release.
- Sun Apr 25, 2021 8:20 pm
- Forum: Implemented mod requests
- Topic: Ability to bring window to the front
- Replies: 8
- Views: 3212
Re: Ability to bring window to the front
This was added with 1.1.0
- Fri Apr 23, 2021 9:51 am
- Forum: Resolved Problems and Bugs
- Topic: [Therenas][1.1.32] Documentation inconsistency: Is `player.gui.screen` a flow or empty-widget?
- Replies: 1
- Views: 1052
Re: [Therenas][1.1.32] Documentation inconsistency: Is `player.gui.screen` a flow or empty-widget?
Thank you for the report. top, left, center and goal are indeed flows, while screen and relative are empty-widgets. The docs have been updated to reflect this for the next release.
- Thu Apr 22, 2021 8:13 am
- Forum: Implemented mod requests
- Topic: [1.1.27] update can_place_entity to clarify newer defines in API pages
- Replies: 1
- Views: 1119
Re: [1.1.27] update can_place_entity to clarify newer defines in API pages
Thanks for the report, this has been corrected for the next release.
- Wed Apr 21, 2021 11:53 am
- Forum: Resolved Problems and Bugs
- Topic: [Therenas] Documentation error in LuaEntity.get_logistic_point
- Replies: 1
- Views: 939
Re: [Therenas]Documentation error in LuaEntity.get_logistic_point
Thanks for the report, this has been rectified for the next release.