Search found 40 matches

by Zomis
Thu May 15, 2025 8:11 am
Forum: Ideas and Suggestions
Topic: Allow pipette of any applicable LuaGuiElement
Replies: 4
Views: 139

Re: Allow pipette of any applicable LuaGuiElement

When the actual GUI widget is shown on screen, sure, it's just using the GPU texture. But when clicking the actual GUI widget, the appropriate mod is informed and has access to the string. Therefore, it is possible to achieve somehow. There is a connection between the actual GUI widget and the mod ...
by Zomis
Wed May 14, 2025 10:42 pm
Forum: Ideas and Suggestions
Topic: Allow pipette of any applicable LuaGuiElement
Replies: 4
Views: 139

Re: Allow pipette of any applicable LuaGuiElement

I will admit that getting the sprite and converting it to a signal is a bit of a hack , but it's a hack worth making in my opinion. When the sprite path begins with "item/", or "fluid/", etc. then you DO know which the underlying game prototype is.

A choose-elem-button is either clickable and opens ...
by Zomis
Wed May 14, 2025 8:23 pm
Forum: Not a bug
Topic: [2.0.47] LuaGuiElement sprite-button does not use quality as documented
Replies: 2
Views: 82

Re: [2.0.47] LuaGuiElement sprite-button does not use quality as documented

Oh damn, sorry. I didn't consider the possibility that it was added so recently.
by Zomis
Wed May 14, 2025 7:17 pm
Forum: Modding interface requests
Topic: Allow setting player cursor to fluid or virtual signal
Replies: 1
Views: 90

Allow setting player cursor to fluid or virtual signal

There are two ways to set a player's cursor:

LuaPlayer.cursor_stack.set_stack and LuaPlayer.pipette_entity

Neither of these allows the possibility to set the player cursor to a fluid or a virtual signal, but the player can do so themselves if e.g. pipetting a signal in a constant combinator, or ...
by Zomis
Wed May 14, 2025 7:13 pm
Forum: Ideas and Suggestions
Topic: Allow pipette of any applicable LuaGuiElement
Replies: 4
Views: 139

Allow pipette of any applicable LuaGuiElement

A lot of mods use LuaGuiElements which are sprite-buttons or choose-elem-buttons to display items, fluids, signals, etc.

It would be very handy for a player to be able to pipette any of those buttons to set their cursor to that item, fluid, or virtual-signal.
by Zomis
Wed May 14, 2025 7:09 pm
Forum: Not a bug
Topic: [2.0.47] LuaGuiElement sprite-button does not use quality as documented
Replies: 2
Views: 82

[2.0.47] LuaGuiElement sprite-button does not use quality as documented

The docs state that the 'sprite-button' GuiElement can take 'quality' parameter.

However, this does not work at all.

Try the command:
/c game.player.gui.screen.add({ type = "sprite-button", sprite = "item/iron-ore", quality = "legendary" })

Expected result: A legendary sprite-button
Actual ...
by Zomis
Fri Oct 18, 2024 12:15 pm
Forum: News
Topic: Friday Facts #433 - Liftoff Initiated
Replies: 140
Views: 38110

Re: Friday Facts #433 - Liftoff Initiated

As the original trailer ended with launching a rocket, it would have been so cool if this trailer started with the same identical factory as the original trailer had. :)

Anyway, I'm very much looking forward to start playing it!
by Zomis
Mon Jul 01, 2024 7:12 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.107] Splitter not working as an additional pastable entity
Replies: 1
Views: 776

[1.1.107] Splitter not working as an additional pastable entity

Code for reproducing here: https://github.com/Zomis/FactorioMods/tree/bug-splitter-not-pastable/copy-paste-recipe-signals_1.5.0

I did reproduce this bug with 1.1.107 with *only* this mod installed to make sure there's no conflict with other mods.

It does show up in the prototype inspector as being ...
by Zomis
Mon Apr 01, 2024 8:18 pm
Forum: News
Topic: Friday Facts #404 - Frustration not found
Replies: 115
Views: 34092

Re: Friday Facts #404 - Frustration not found

Something I find myself doing a lot is to search for the same item/fluid in different menus over and over again. This is something I have tried to improve in my mod Foofle and I'm using those features very frequently, but there's a big limitation on the amount of integrations I can do in a mod.

For ...
by Zomis
Fri Feb 09, 2024 1:18 pm
Forum: News
Topic: Friday Facts #397 - Factoriopedia
Replies: 122
Views: 37588

Re: Friday Facts #397 - Factoriopedia

Most of this sounds great, but I'd also like to request some other features:

Have the possibility for mods to add content to a Factoriopedia page, for example a button that links to a search mod to search for this item.

Or add content to the Factoriopedia page about how many of that item has been ...
by Zomis
Sat Nov 11, 2023 12:18 am
Forum: News
Topic: Friday Facts #384 - Combinators 2.0
Replies: 334
Views: 101592

Re: Friday Facts #384 - Combinators 2.0

Something that is currently very difficult, and requires O(log n) time, is to take the maximum or minimum value from a circuit. So that would be a great fit for the selector. "Select maximum value(s)" + "Select minimum value(s)"

Average value is currently easy to do with combinators, but max/min is ...
by Zomis
Fri Apr 23, 2021 8:43 am
Forum: Minor issues
Topic: [1.1.32] Trying to delete save by pressing enter loads the next save
Replies: 2
Views: 1969

Re: [1.1.32] Trying to delete save by pressing enter loads the next save


Press E instead of Enter? most dialog use E


Yes, E works. But the big problem here is that based on things that was done before, a save was loaded when the "Delete" button was pressed - which should not happen .

The same bug happens if you click on a save, press "Delete" -> "Enter" -> "E"
by Zomis
Thu Apr 22, 2021 1:45 pm
Forum: Resolved Problems and Bugs
Topic: [Therenas][1.1.32] Documentation inconsistency: Is `player.gui.screen` a flow or empty-widget?
Replies: 1
Views: 1302

[Therenas][1.1.32] Documentation inconsistency: Is `player.gui.screen` a flow or empty-widget?

https://lua-api.factorio.com/latest/LuaGuiElement.html

"flow": An invisible container that lays out its children either horizontally or vertically. The root GUI elements (top, left, center and screen; see LuaGui) are flows.

"empty-widget": An empty element that just exists. The root GUI element ...
by Zomis
Thu Apr 22, 2021 1:39 pm
Forum: Minor issues
Topic: [1.1.32] Trying to delete save by pressing enter loads the next save
Replies: 2
Views: 1969

[1.1.32] Trying to delete save by pressing enter loads the next save

How to reproduce:

- Go to load game
- Select a save in the left list
- Press "Delete" on keyboard, a window will pop up and ask you if you want to delete the save
- Press "Enter" on keyboard, nothing happens (Expected behavior: Save would be deleted)
- Use the mouse to click "Delete"

Now two ...
by Zomis
Fri Feb 05, 2021 4:24 pm
Forum: News
Topic: Friday Facts #365 - Future plans
Replies: 299
Views: 210751

Re: Friday Facts #365 - Future plans

I don't want to complain too much because Factorio is already an awesome game, but... Feature-complete when you can't see your own characters exact HP/MaxHP? I think there is still a few things you can add before you call it feature-complete.
by Zomis
Fri Aug 14, 2020 11:13 am
Forum: Resolved Problems and Bugs
Topic: [1.0.0] Lua API Latest still points to 0.18.47
Replies: 1
Views: 1246

[1.0.0] Lua API Latest still points to 0.18.47

https://lua-api.factorio.com/latest/index.html says it's "0.18.47" in the top-right corner.

And I don't think it's a caching problem on my side, I have tried all tips shown in https://xkcd.com/1854/ , and I have also tried using a private browsing window.
by Zomis
Fri Aug 14, 2020 11:12 am
Forum: Resolved Problems and Bugs
Topic: [1.0.0] Linux download 404
Replies: 5
Views: 2555

Re: [1.0.0] Linux download 404

superstalkerX wrote: Fri Aug 14, 2020 9:35 amit would seem that you are mistaken, the post was made a few minutes ago AFTER the update.
Huh, it appears that you are right. Forum is not showing the correct time for me it seems. Anyway, I didn't have any problem at all downloading it just a few minutes after 11:00.
by Zomis
Fri Aug 14, 2020 9:31 am
Forum: Resolved Problems and Bugs
Topic: [1.0.0] Linux download 404
Replies: 5
Views: 2555

Re: [1.0.0] Linux download 404

You posted this on 10:28 am but 1.0.0 was released at 11:00 am. You must learn patience.

Try again now.
by Zomis
Mon Aug 10, 2020 9:55 pm
Forum: Ideas and Suggestions
Topic: Feature Request - View your own character exact HP numbers
Replies: 3
Views: 3374

Feature Request - View your own character exact HP numbers

TL;DR
There should be a way to view the exact numeric HP value of your own character (not just the HP bar that shows up when you are damaged)


What ?
When playing Factorio in Multiplayer you can easily see how much HP others have (e.g. "135/350") by hovering over them. This is not possible to ...

Go to advanced search