Oh - it's quite easy to become confused while searching for a mistake and trying to narrow down it by adding some additional logs
which only show the (non unique) numbers and not the (more or less - at least for insiders ;)) self-explanatory identifiers.
And if you're looking during search for ...
Search found 11 matches
- Thu Mar 27, 2025 7:24 pm
- Forum: Modding help
- Topic: Problems with defines.wire_connector_id.*
- Replies: 4
- Views: 323
- Thu Mar 27, 2025 5:01 pm
- Forum: Modding help
- Topic: Problems with defines.wire_connector_id.*
- Replies: 4
- Views: 323
Re: Problems with defines.wire_connector_id.*
Hi boskid,
thank you for the really quick answer. Ok - that looks like some apparently desired redundancy, but shouldn't this be reflected in the json-docu at https://lua-api.factorio.com/stable/runtime-api.json, too? Otherwise it's a little bit misleading
thank you for the really quick answer. Ok - that looks like some apparently desired redundancy, but shouldn't this be reflected in the json-docu at https://lua-api.factorio.com/stable/runtime-api.json, too? Otherwise it's a little bit misleading

- Thu Mar 27, 2025 4:08 pm
- Forum: Modding help
- Topic: Problems with defines.wire_connector_id.*
- Replies: 4
- Views: 323
Problems with defines.wire_connector_id.*
I've just stumbled upon a strange behavior concerning the values of defines.wire_connector_id.*
When using these defines I had some strange phenomenons. For digging a little bit deeper I wrote this tiny "mod"
for _, f in pairs(defines.wire_connector_id) do
log(f)
end
and expected to see the ...
When using these defines I had some strange phenomenons. For digging a little bit deeper I wrote this tiny "mod"
for _, f in pairs(defines.wire_connector_id) do
log(f)
end
and expected to see the ...
- Sun Feb 09, 2025 12:13 pm
- Forum: Modding help
- Topic: Mod hotkeys: custom-input documentation please?
- Replies: 6
- Views: 4710
Re: Mod hotkeys: custom-input documentation please?
Nowadays the page with the documentation is located here: https://lua-api.factorio.com/latest/typ ... gType.html
- Fri Jan 31, 2025 9:21 am
- Forum: Assigned
- Topic: [Klonan] scroll pane without scrollbars
- Replies: 8
- Views: 590
Re: [Klonan] scroll pane without scrollbars
Thx for your efforts and I am excited about the solution
- Thu Jan 30, 2025 2:37 pm
- Forum: Assigned
- Topic: [Klonan] scroll pane without scrollbars
- Replies: 8
- Views: 590
Re: scroll pane without scrollbars
Hmm, can you try setting it after creation?
local sp = container.add {
type = "scroll-pane",
style = "rldman_small_slot_table_scroll_pane",
name = "scrollpane"
}
sp.horizontal_scroll_policy = "dont-show-but-allow-scrolling"
Of course :D
Code now is
local sp = container.add {
type ...
- Thu Jan 30, 2025 1:20 pm
- Forum: Assigned
- Topic: [Klonan] scroll pane without scrollbars
- Replies: 8
- Views: 590
Re: scroll pane without scrollbars
Oh yeah, you're right - that is wrong
Unfortunately there is no change in behavior after correcting this (I've checked whether the policy is now set correctly by logging the content of the field)

Unfortunately there is no change in behavior after correcting this (I've checked whether the policy is now set correctly by logging the content of the field)
- Wed Jan 29, 2025 7:08 pm
- Forum: Assigned
- Topic: [Klonan] scroll pane without scrollbars
- Replies: 8
- Views: 590
Re: scroll pane without scrollbars
Hi Klonan,
thx for your quick response.
This is the relevant part of the code, where the scroll pane sp is created:
function testtab.update(refs, data)
local container = refs.testtab_tab
-- ugly - clear all children and create new ones
container.clear()
local sp = container.add {
type ...
thx for your quick response.
This is the relevant part of the code, where the scroll pane sp is created:
function testtab.update(refs, data)
local container = refs.testtab_tab
-- ugly - clear all children and create new ones
container.clear()
local sp = container.add {
type ...
- Wed Jan 29, 2025 7:34 am
- Forum: Assigned
- Topic: [Klonan] scroll pane without scrollbars
- Replies: 8
- Views: 590
[Klonan] scroll pane without scrollbars
Is it possible to have a scroll pane without scrollbars which is still scrollable (with mouse wheel)?
I've already tried the *_scroll_policies with "dont-show-but-allow-scrolling", but unfortunatelly scrollbars are still shown and I can't see any difference in behaviour to "auto".
Thx in advance
I've already tried the *_scroll_policies with "dont-show-but-allow-scrolling", but unfortunatelly scrollbars are still shown and I can't see any difference in behaviour to "auto".
Thx in advance
- Wed Dec 25, 2024 2:01 pm
- Forum: Not a bug
- Topic: [2.0.28] Can't connect transport belt with green wire when it's adjacent to a combinator
- Replies: 3
- Views: 314
Re: Can't connect transport belt with green wire when it's when it's adjacent to a combinator
OP, did you finish connecting the green wire to a target?
Because in that setup (a belt right next to a combinator) it may look like the wire is connecting to the combinator, but it's indeed connecting to the belt.
Connecting a wire to the combinator looks a little bit differently:
GreenWireOnBelt ...
- Tue Dec 24, 2024 8:09 pm
- Forum: Not a bug
- Topic: [2.0.28] Can't connect transport belt with green wire when it's adjacent to a combinator
- Replies: 3
- Views: 314
[2.0.28] Can't connect transport belt with green wire when it's adjacent to a combinator
Tried to connect a belt with green wire, instead of the chosen transportation belt the adjacent combinator was connected.
The behavior is easy reproducible:
choose green wire
try to connect belt and click it
instead of the belt the combinator is connected
Both arithmetic and decider ...
The behavior is easy reproducible:
choose green wire
try to connect belt and click it
instead of the belt the combinator is connected
Both arithmetic and decider ...