Search found 172 matches

by curiosity
Thu Jun 23, 2022 6:30 am
Forum: Modding interface requests
Topic: Expose drag-and-drop list to Lua
Replies: 3
Views: 350

Re: Expose drag-and-drop list to Lua

Even exposing the train schedule list may be enough for some cases. Though, IMO, maybe not at the cost of having to maintain it for backward compatibility if/when a proper drag-and-drop list is added. And then again, if there isn't one currently, doesn't mean there can't be one. Even when it will ta...
by curiosity
Wed Jun 15, 2022 10:54 pm
Forum: Won't implement
Topic: Return nil if key does not exist in object
Replies: 19
Views: 362

Re: Return nil if key does not exist in object

And frankly, I'm getting tired of being told "you can do this yourself by just manually building a table blah blah blah" as if that's the solution (vs getting the request pushed through). There already exists a table of everything in the game right in the LuaGame object. Why should I add ...
by curiosity
Wed Jun 15, 2022 6:33 pm
Forum: Won't implement
Topic: Return nil if key does not exist in object
Replies: 19
Views: 362

Re: Return nil if key does not exist in object

Why do you want such a function in the first place when tile and entity prototypes, as you have noted, don't have in common what you care about?
by curiosity
Tue Jun 07, 2022 12:10 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

It should be noted in what units the various "emissions" runtime properties are. Pollution per second? Pollution per Joule? Something else entirely?
by curiosity
Fri Jun 03, 2022 6:07 am
Forum: Modding interface requests
Topic: Mesure PAUSE duration
Replies: 3
Views: 154

Re: Mesure PAUSE duration

Now that we have game.tick_paused=true/false we can use it to pause a game while chat is still active, and that is GREAT. In my case, I would also like to know how long a pause is/has last, so we can get the statistic of lobby time during a game. https://lua-api.factorio.com/latest/LuaGameScript.ht...
by curiosity
Sun May 22, 2022 2:07 pm
Forum: This Forum
Topic: Where do I report issues with moderation?
Replies: 1
Views: 251

Where do I report issues with moderation?

I don't see anything in the FAQ or anywhere else about this.
by curiosity
Sun May 15, 2022 7:57 pm
Forum: Modding interface requests
Topic: Ability to iterate entity properties
Replies: 12
Views: 3068

Re: Ability to iterate entity properties

WildBraas wrote:
Sun May 15, 2022 7:06 pm
Now its possible using Factorio mod debug for Visual Code, with breakpoints and code analysis.
It's hardcoded into the plugin for each LuaObject type.
by curiosity
Sun May 15, 2022 7:52 pm
Forum: Fixed for 1.2
Topic: [1.1.59] Custom input's include_selected_prototype does not work on fluid slots in crafting machines
Replies: 4
Views: 294

[1.1.59] Custom input's include_selected_prototype does not work on fluid slots in crafting machines

To reproduce: 1. Register the following custom input: { type = "custom-input", name = "rb-open-selected", key_sequence = "ALT + mouse-button-1", include_selected_prototype = true, } 2. In-game execute the following command: /c script.on_event('rb-open-selected', functio...
by curiosity
Sun May 15, 2022 7:18 am
Forum: Modding interface requests
Topic: Event request: Beacon inventory changes due to robots
Replies: 2
Views: 149

Re: Event request: Beacon inventory changes due to robots

You can partially work around this by doing your stuff when the item proxy is destroyed.
by curiosity
Mon May 09, 2022 10:06 am
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

Honktown wrote:
Mon May 09, 2022 9:54 am
If an empty players table passed to LuaRendering draw functions means "everyone" not "nobody". It'd be convenient if that were noted somewhere.
It is, though maybe not where you'd expect: LuaRendering.set_players.
by curiosity
Tue May 03, 2022 4:37 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

Can we get a description of what FluidBox#production_type is supposed to mean as opposed to PipeConnectionDefinition#type? Description for both, maybe?
by curiosity
Mon May 02, 2022 2:28 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.get_output_inventory wrote:Gets the entities output inventory if it has one.
entity's

-> Thanks, fixed.
by curiosity
Sun Apr 24, 2022 7:40 am
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

https://lua-api.factorio.com/latest/LuaItemPrototype.html#LuaItemPrototype.module_effects wrote: Effects of this module; nil if this is not a module.
Can only be used if this is ModuleItem
So can it or can it not be used on other items?

-> Thanks, I decided to remove the redundant description text.
by curiosity
Thu Apr 21, 2022 8:32 am
Forum: Modding interface requests
Topic: Tie a sprite-button to a LuaItemStack
Replies: 4
Views: 487

Re: Tie a sprite-button to a LuaItemStack

An item stack button would be helpful. Doesn't have to be sprite-button specifically.
by curiosity
Thu Apr 21, 2022 7:54 am
Forum: Ideas and Suggestions
Topic: In-game changelog viewer order / Changelog should default to installed version + 1
Replies: 15
Views: 1306

Re: In-game changelog viewer order / Changelog should default to installed version + 1

I'm not so sure about hiding old versions. It can be useful for debugging mod interaction to know in what version a certain behaviour, feature, entity etc. has been introduced. Finding nothing about it because the game decided that version was too old and the entry should be hidden would make life ...
by curiosity
Wed Apr 20, 2022 6:02 pm
Forum: Ideas and Suggestions
Topic: In-game changelog viewer order / Changelog should default to installed version + 1
Replies: 15
Views: 1306

Re: In-game changelog viewer order / Changelog should default to installed version + 1

IMO, it was wrong to merge these topics. They suggest different and only loosely related things.

Anyway, I am here to support the "only new changes" suggestion. The game already does this on game update, it should be easy to add it for mods as well.
by curiosity
Wed Apr 20, 2022 12:17 pm
Forum: Won't implement
Topic: .neighbours on ghost electric poles
Replies: 7
Views: 539

Re: .neighbours on ghost electric poles

If you think it's a bug, report it in the correct forum, not write to modding API requests.
by curiosity
Fri Apr 15, 2022 1:06 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 242
Views: 27157

Re: Small documentation improvement requests

Types/StyleSpecification#effect need description, or at the very least a list of possible values.
-> The list of possible values is hardcoded to one value, severely limiting its usefulness. But it's documented now, thank you for pointing it out.

Go to advanced search