Search found 284 matches

by SupplyDepoo
Mon Mar 25, 2024 8:27 pm
Forum: Modding interface requests
Topic: LuaRendering scale_with_zoom and combining objects
Replies: 0
Views: 57

LuaRendering scale_with_zoom and combining objects

I have encountered a show-stopper for a mod which requires the ability to draw multiple lines of text on the screen, anchored to an entity, and with scale_with_zoom enabled. Since text objects ignore line breaks, the only way to do multi-line text (anchored to an entity) is to create multiple object...
by SupplyDepoo
Sun Mar 24, 2024 8:32 pm
Forum: Modding help
Topic: Get all personal logistic slots
Replies: 1
Views: 88

Re: Get all personal logistic slots

I found how to get the highest index at least: LuaEntity::request_slot_count
by SupplyDepoo
Sun Mar 24, 2024 8:20 pm
Forum: Modding help
Topic: Get all personal logistic slots
Replies: 1
Views: 88

Get all personal logistic slots

LuaControl::get_personal_logistic_slot(slot_index) takes an index to get a single personal logistic slot. Is there a way to get all of the personal logistic filters without guessing slot indices? (since there can be arbitrary gaps due to deleted filters)
by SupplyDepoo
Sun Mar 24, 2024 1:54 pm
Forum: Modding interface requests
Topic: Map-related relative GUIs
Replies: 0
Views: 65

Map-related relative GUIs

Please add a way to create GUIs that are visible only when:
  • the map is not opened, and/or
  • the map is opened and zoomed out, and/or
  • the map is opened and zoomed in to world view
Basically like player.gui.screen but limited to one or two of those contexts.
by SupplyDepoo
Sun Mar 24, 2024 1:16 pm
Forum: This Forum
Topic: Please make the forum search support underscored words
Replies: 4
Views: 1171

Re: Please make the forum search support underscored words

+1 searching underbarred API names is impossible!
by SupplyDepoo
Sun Mar 24, 2024 11:21 am
Forum: Modding interface requests
Topic: Event when blueprint is rotated/flipped
Replies: 4
Views: 594

Re: Event when blueprint is rotated/flipped

+1 for streamlining the blueprint APIs and making more stuff like this easy/possible!

Thanks for the detailed write-up.
by SupplyDepoo
Sun Mar 24, 2024 10:58 am
Forum: Modding help
Topic: Blueprint orientation when still in hand (not pasted).
Replies: 2
Views: 141

Re: Blueprint orientation when still in hand (not pasted).

I have found a way to track the rotation of blueprints by defining two new shortcuts using linked_game_control and then listening to the CustomInputEvent for those shortcuts. It allows me to get the rotation without the blueprint needing to be placed in the world. data.lua looks something like this:...
by SupplyDepoo
Sun Mar 24, 2024 10:17 am
Forum: Ideas and Suggestions
Topic: Blueprint Book Improvements
Replies: 1
Views: 110

Re: Blueprint Book Improvements

When holding a blueprint book of any kind, right click now brings up a table of contents, separated by book (if applicable) that shows the blueprints that it contains. Clicking any blueprint will instantly jump to that blueprint in the book. Clicking a sub-book will jump to the start of that book. ...
by SupplyDepoo
Sun Mar 03, 2024 1:30 pm
Forum: Already exists
Topic: connected_rail for rail signals
Replies: 2
Views: 141

Re: connected_rail for rail signals

My bad, thank you!
by SupplyDepoo
Sun Mar 03, 2024 1:23 pm
Forum: Already exists
Topic: connected_rail for rail signals
Replies: 2
Views: 141

connected_rail for rail signals

LuaEntity::connected_rail should work for rail signals too, not just train stops.
by SupplyDepoo
Sun Mar 03, 2024 1:03 pm
Forum: Modding interface requests
Topic: Rail Planner
Replies: 1
Views: 176

Rail Planner

I would like to connect two distant rail pieces by rail, avoiding obstacles along the way like the built-in rail planner already available to players. Since the functionality already exists, I expected it to also be available to scripts. Please add a function that takes two rail pieces or positions ...
by SupplyDepoo
Sun Mar 03, 2024 7:15 am
Forum: Modding discussion
Topic: Dependencies revisited
Replies: 8
Views: 1372

Re: Dependencies revisited

+1 for clarifying "optional dependencies" as cross-promotional suggestions, +1 for autoremove, +1 for reverse dependency lookup on mod portal.
by SupplyDepoo
Tue Feb 27, 2024 5:58 pm
Forum: Ideas and Suggestions
Topic: The Productivity Cap and why the FFF #375 recycler shouldn't be introduced
Replies: 42
Views: 3420

Re: The Productivity Cap and why the FFF #375 recycler shouldn't be introduced

MeduSalem wrote:
Tue Feb 27, 2024 5:32 pm
there are no other sources where it could come from.
FFF 376 # Productivity researches (infinite research)
by SupplyDepoo
Tue Feb 27, 2024 12:18 pm
Forum: Ideas and Suggestions
Topic: The Productivity Cap and why the FFF #375 recycler shouldn't be introduced
Replies: 42
Views: 3420

Re: The Productivity Cap and why the FFF #375 recycler shouldn't be introduced

I don't agree with the OP's rationale. The idea that you could cut an unlimited amount of gear wheels out of a single iron plate is preposterous. 300% productivity is already very generous.
by SupplyDepoo
Tue Feb 20, 2024 11:00 am
Forum: Fixed for 2.0
Topic: [1.1.104] Escape key doesn't dismiss Sync mods with save
Replies: 1
Views: 198

[1.1.104] Escape key doesn't dismiss Sync mods with save

There is a "Back" button and normally pressing Escape is a shortcut for it, but in the Sync mods with save dialog the Escape key doesn't do anything.
by SupplyDepoo
Tue Feb 20, 2024 6:56 am
Forum: Modding interface requests
Topic: Ability to copy string to clipboard using api
Replies: 9
Views: 1898

Re: Ability to copy string to clipboard using api

A special button would work for most use cases, but wouldn't always be ideal. For example, if I wanted to make an "Export Area" tool, it should simply let me draw a rectangle and copy what is found in that area to my clipboard. A console command should also not require extra cursor motion ...
by SupplyDepoo
Mon Feb 19, 2024 8:13 pm
Forum: Modding interface requests
Topic: Ability to copy string to clipboard using api
Replies: 9
Views: 1898

Re: Ability to copy string to clipboard using api

+1

Console commands should also be able to copy to the clipboard (easier than using log).
by SupplyDepoo
Mon Feb 19, 2024 6:42 pm
Forum: Assigned
Topic: [StrangePan] [1.1.104] Modifier keys stuck after screenshot on macOS
Replies: 0
Views: 105

[StrangePan] [1.1.104] Modifier keys stuck after screenshot on macOS

After pressing ⇧⌘4 and selecting a region to screenshot, the shift and command keys remain stuck until I press and release both keys, or switch to another program and back. The same also happens with the ⇧⌘5 shortcut that brings up the screenshot/recording overlay. The stuck modifier keys prevents m...

Go to advanced search