Search found 325 matches
- Tue Feb 01, 2022 12:21 am
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
https://wiki.factorio.com/Prototype/Tile#transitions - says that to_tiles is a string when in fact it's a table (or maybe an array) of strings. And the (lack of) formatting of the additional properties is pretty awful, if I'm honest. All of them in a single line like that looks like a mess. -> Fixed.
- Mon Jan 31, 2022 11:14 pm
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
https://lua-api.factorio.com/latest/LuaSurface.html#LuaSurface.find_tiles_filtered - area.right_bottom is treated as exclusive by this function (area.left_top is properly inclusive), which is not what you'd expect from something called "bounding box". Fixed for 1.1.54 - right bottom corne...
- Mon Jan 31, 2022 5:24 pm
- Forum: Won't implement
- Topic: .neighbours on ghost electric poles
- Replies: 8
- Views: 2679
Re: .neighbours on ghost electric poles
Note that electric networks don't propagate through ghosts, so it doesn't make sense for you to visit them either way. To be clear, I'm all for this request, but your logic looks flawed.
- Sat Jan 29, 2022 11:07 am
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
https://lua-api.factorio.com/latest/Global.html - doesn't say that LuaObjects can't be stored as keys. -> Noted for the next release, thanks. Actually, this is not quite right. LuaObjects can be used as keys, it just doesn't really make sense since you won't be able to index them after save/load wi...
- Fri Jan 28, 2022 1:39 pm
- Forum: Modding interface requests
- Topic: A setting on recipes to only output 1 item.
- Replies: 13
- Views: 3165
Re: A setting on recipes to only output 1 item.
A check on startup can ensure the sum of probabilities is equal to 1 (or possibly allow less than 1 for the remainder to be considered no resulting item). A problem that can be conveniently avoided by bypassing the concept of probability altogether in favor of distribution weight, especially consid...
- Fri Jan 28, 2022 1:35 pm
- Forum: Implemented mod requests
- Topic: Add fluid system number read to LuaFluidBox
- Replies: 6
- Views: 2427
Re: Add fluid system number read to LuaFluidBox
But a method to tell if two fluid boxes are connected won't?
- Wed Jan 26, 2022 5:20 pm
- Forum: Modding interface requests
- Topic: A setting on recipes to only output 1 item.
- Replies: 13
- Views: 3165
Re: A setting on recipes to only output 1 item.
BTW, fun fact: you can get both U-235 and U-238 at the same time from the uranium processing recipe.
- Wed Jan 26, 2022 3:38 pm
- Forum: Modding interface requests
- Topic: A setting on recipes to only output 1 item.
- Replies: 13
- Views: 3165
Re: A setting on recipes to only output 1 item.
Both proposal are related, because they both want a more reliable mechanism for fractions of items instead of the quite random probability/chance mechanism. The first proposal is a special case, that all fractions are add up to 100% with predictable yield (covered by my proposal) and that you want ...
- Tue Jan 25, 2022 11:25 pm
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
It seems like someone goes manually over every method/property and re-adds these notes manually. There's a lot of them missing (but, notably, there are some for the topmost methods) on LuaEntity despite my earlier report being crossed out. There is still a lot missing even on the LuaGuiElement, the...
- Tue Jan 25, 2022 11:14 pm
- Forum: Modding interface requests
- Topic: A setting on recipes to only output 1 item.
- Replies: 13
- Views: 3165
Re: A setting on recipes to only output 1 item.
I would also like to have a recipe, which outputs a secured fraction, not a chance f.e: 50% would mean, that it outputs 1 every 2 cycles. 70% would mean, that it outputs as soon, as it reaches at least 1 and the remainder is taken over: 1: 0.7 = 0.7 2: 0.7 + 0.7 = 1.4 = 0.4 + 1 (yield) 3: 0.4 + 0.7...
- Sun Jan 23, 2022 10:39 pm
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
https://lua-api.factorio.com/latest/LuaTrain.html#LuaTrain.carriages - are these listed in the order they occur in-game, in some other order or in no particular order? -> I added an explanation for the next release. The front of the train is the one most locomotives are pointing to. If it's a tie, ...
- Fri Jan 21, 2022 5:22 pm
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20231
Re: New API Docs website
Does for me.
- Fri Jan 21, 2022 3:07 pm
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20231
Re: New API Docs website
Good to know. Would have been good for this if it also didn't download the link.coderpatsy wrote: ↑Sat Jan 15, 2022 7:40 amAlso, holding alt will allow you to select text without following links (or sending JS events for that click at all I think).
- Fri Jan 14, 2022 10:38 pm
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20231
Re: New API Docs website
I was having a problem with it, often you want to copy-paste exact names of variables and events, and when it was a link it would keep jumping the page around instead of letting me select it and copy That's a good point, though in my experience links only cause issue when you want to select in the ...
- Fri Jan 14, 2022 3:33 pm
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20231
Re: New API Docs website
The name in the method list at the top of the page is still a link and works like it always does. The chain icon at the bottom of the page is just a bonus. The confusing part is that the name+link at the top of the page is the same color as the name+description at the bottom of the page, but only o...
- Thu Jan 13, 2022 8:08 pm
- Forum: Modding discussion
- Topic: New API Docs website
- Replies: 68
- Views: 20231
Re: New API Docs website
So, today the way to obtain a link to method/property from its entry has changed from a neat link on the name itself to a pretentiousfancy little chain icon. Can we have the old one back? Nothing prevents having both.
- Mon Jan 10, 2022 6:00 pm
- Forum: Documentation Improvement Requests
- Topic: Documentation Improvement Requests
- Replies: 316
- Views: 84058
Re: Small documentation improvement requests
Oh, all the "can only be used if" remarks are missing. This is a big degradation compared to the old docs. Speaking of which: The description for `scroll_mode` for LuaGuiElement::scroll_to_item mentions "scroll-pane", contrary to the function's (correct) description saying "...
- Mon Jan 10, 2022 5:55 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.50] New API docs lack enum values
- Replies: 16
- Views: 3327
Re: [1.1.50] New API docs lack enum values
This isn't spamming. They posted this one thread, with an opening comment that they weren't sure where to post something like this. When given the link to the correct already existing thread, they then posted once there. That's been it: 2 posts. Perfectly acceptable and I would've done the same in ...
- Mon Jan 10, 2022 2:19 pm
- Forum: Resolved Problems and Bugs
- Topic: [1.1.50] New API docs lack enum values
- Replies: 16
- Views: 3327
Re: [1.1.50] New API docs lack enum values
Ok sure, but go easy on me okay, comments like "With great reluctance I give you this link, but beg you: stop reposting this issue everywhere." don't really sound welcoming or anything. Someone asked me to post the issue on a different thread so I did, that's all. Imagine spamming everywh...
- Mon Jan 10, 2022 12:52 am
- Forum: Resolved Problems and Bugs
- Topic: [1.1.50] New API docs lack enum values
- Replies: 16
- Views: 3327
Re: [1.1.50] New API docs lack enum values
It is known now. Posting about it once is enough.repne-scasb wrote: ↑Sun Jan 09, 2022 11:21 pmI'm sorry, what do you mean? Is this a known problem? I searched for 'enum' but can't find anything.