Search found 10 matches

by ahicks
Sat Aug 17, 2024 10:20 pm
Forum: Modding interface requests
Topic: Allow read/write to blueprint's description
Replies: 2
Views: 644

Re: Allow read/write to blueprint's description

We also really want this. A workaround with edge case issues is to export to a blueprint string, decode the JSON, modify the JSON, and import it back. I'm blind and working "in the backend" if you will by the nature of mods but I believe the edge case is that if the blueprint is in hand th...
by ahicks
Thu Aug 15, 2024 12:12 am
Forum: Modding interface requests
Topic: expose a function to do the frontend resource patch calculations
Replies: 0
Views: 94

expose a function to do the frontend resource patch calculations

Pretty much what it says. At runtime a mod can't easily find out about a whole patch of resources save to do the calculations in lua, as far as I can tell. We'd like to do this calculation efficiently, which probably means C++ given that Lua isn't so great at data structures. We are aware that the e...
by ahicks
Thu Aug 15, 2024 12:06 am
Forum: Modding interface requests
Topic: add the ability to build flipped blueprints in LuaItemStack::build_blueprint
Replies: 0
Views: 99

add the ability to build flipped blueprints in LuaItemStack::build_blueprint

If one wants to build from the item stack in hand via using build_from_cursor or directly via LuaItemStack, it's not possible to specify flips. We found out that this is actually only in the frontend. While mods can flip blueprints today via directly editing JSON, the various FFFs make it clear that...
by ahicks
Wed Aug 14, 2024 8:18 pm
Forum: Technical Help
Topic: the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work
Replies: 6
Views: 507

Re: the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work

Yeah, I will look into this more and see if I can get a minimum repro. Pretty sure it's not colliding keybinds. We definitely don't have multiple things bound to ctrl+alt+shift+l, though in other spots we intentionally do that because both fire reliably anyway. It's not an either-or thing, you can d...
by ahicks
Mon Aug 12, 2024 7:58 pm
Forum: Won't implement
Topic: moving/stalled state of a belt transport line
Replies: 6
Views: 1354

Re: moving/stalled state of a belt transport line

In our case seeing the past is fine, we don't need to predict the future. That's sort of a "sounds good", not a please implement. Knowing that a belt segment is less than full or that it is full but not making progress are the two pieces of info we need. So e.g. for our use case we don't c...
by ahicks
Sun Aug 11, 2024 8:59 pm
Forum: Won't implement
Topic: moving/stalled state of a belt transport line
Replies: 6
Views: 1354

Re: moving/stalled state of a belt transport line

We'd also like this for Factorio Access: we used to try via heuristics but had to throw them out because it turns out that lying heuristics are worse than no heuristics at all (people including myself never realize they're lying...). It'd be great if we could announce this accurately.
by ahicks
Sun Aug 11, 2024 6:07 pm
Forum: Modding interface requests
Topic: let mods invoke custom selection tools from themselves or other mods
Replies: 3
Views: 261

Re: let mods invoke custom selection tools from themselves or other mods

I could also put things for automation in our Kruise Kontrol fork (we are effectively the Kruise Kontrol maintainers via a fork, and offer a remote API for other mods). start_selection and clear_selection are a whole thing because it's odd to have them but not the other half, but the biggest part of...
by ahicks
Sun Aug 11, 2024 5:58 pm
Forum: Technical Help
Topic: the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work
Replies: 6
Views: 507

Re: the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work

What platform? We've been testing on Windows. And could you show me your examples? I can try to repro them and then we'd at least know if it's machine specific.
by ahicks
Sun Aug 11, 2024 1:54 am
Forum: Technical Help
Topic: the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work
Replies: 6
Views: 507

the order of modifiers in custom inputs must be ordered arbitrarily or it doesn't work

Hard to come up with a good title. We have discovered that the order of modifiers in a custom input only works sometimes based on the modifier order. This seems to apply to almost any custom input using two or more modifiers. A specific concrete example is ALT + SHIFT + LEFT (doesn't trigger) versus...
by ahicks
Sun Aug 11, 2024 1:18 am
Forum: Modding interface requests
Topic: let mods invoke custom selection tools from themselves or other mods
Replies: 3
Views: 261

let mods invoke custom selection tools from themselves or other mods

If this seems strange, I'm one of the three people working on Factorio Access , a tts-based alternative interface. If we were able to set the player's selection and invoke the associated events globally, we'd be able to support any mod that has a selection tool which is able to do something reasonab...

Go to advanced search