Search found 68 matches

by curiosity
Mon Sep 20, 2021 12:59 am
Forum: Modding interface requests
Topic: Modding - order property in LuaGuiElement
Replies: 6
Views: 171

Re: Modding - order property in LuaGuiElement

I suspect that "write support for index of existing element" is much more complex to implmement than it sounds or they'd have added it long ago. And without writable index there can't be writable order. I struggle to imagine what may let you add a new element at a position, but not move a...
by curiosity
Sun Sep 19, 2021 11:00 pm
Forum: Modding interface requests
Topic: Modding - order property in LuaGuiElement
Replies: 6
Views: 171

Re: Modding - order property in LuaGuiElement

Potential duplicate: https://forums.factorio.com/viewtopic.php?f=28&t=99233 Less a duplicate and more an elaboration. They want the order property to be writable specifically, so that rearranging elements is as easy as changing their order. edit: Personally, I would love to see a way to rearran...
by curiosity
Sat Sep 18, 2021 11:19 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

None of the energy source prototypes in runtime say what units emissions are in. Most other fields are also without units or any description.
by curiosity
Wed Sep 15, 2021 6:20 pm
Forum: Modding interface requests
Topic: Add a heat generator option for modders
Replies: 3
Views: 135

Re: Add a heat generator option for modders

NotRexButCaesar wrote: ↑
Wed Sep 15, 2021 2:50 pm
For the production graphs, I believe there is a way to hide recipes: the vanilla barrels use this to stay out of production graphs.
But how do you hide the generator's consumption?
by curiosity
Wed Sep 15, 2021 10:25 am
Forum: Modding discussion
Topic: New API Docs website
Replies: 30
Views: 2111

Re: New API Docs website

I don't think the API website should need any tutorial. It must be simple and intuitive to use.
by curiosity
Mon Sep 13, 2021 9:21 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

Yea, it should say item-names and entity-names. The "etc" is also suspicious. Are there actually any other prototypes supported other than __ITEM__ and __ENTITY__? There is also __TILE__ and some other things. But regardless, there should be a proper list of keywords, not "items and ...
by curiosity
Mon Sep 13, 2021 6:28 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

https://wiki.factorio.com/Tutorial:Localisation#Built-in_parameters says "We can also use this for items and entities etc.", but there is no list of acceptable keywords anywhere.
by curiosity
Sat Sep 11, 2021 9:46 am
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

The "crafting" recipe category is hardcoded to disallow fluids, but this isn't documented anywhere obvious (Recipe.category or RecipeCategory). If anything is hardcoded about any other categories, or something else about the "crafting" category, it would also be good to know.
by curiosity
Fri Sep 10, 2021 10:53 am
Forum: Wiki Talk
Topic: Mod Portal API page incomplete
Replies: 3
Views: 56

Re: Mod Portal API page incomplete

Ah, sorry. What is considered official then, besides Prototype/* and Types/* pages?
by curiosity
Sat Sep 04, 2021 1:05 pm
Forum: Wiki Talk
Topic: Mod Portal API page incomplete
Replies: 3
Views: 56

Mod Portal API page incomplete

https://wiki.factorio.com/Mod_portal_API - the field "score" in mod result is undocumented.
by curiosity
Sat Sep 04, 2021 12:31 am
Forum: Modding discussion
Topic: New API Docs website
Replies: 30
Views: 2111

Re: New API Docs website

Sanqui wrote: ↑
Fri Sep 03, 2021 1:50 pm
The old web had to go
Just to clarify, you mean the backend and you took this opportunity to redesign the frontend, or was there something objectionable about the old design?
by curiosity
Fri Sep 03, 2021 5:25 pm
Forum: Modding discussion
Topic: New API Docs website
Replies: 30
Views: 2111

Re: New API Docs website

I observe choppines and reduced responsiveness while scrolling the classes page. Doesn't happen in the old version.
by curiosity
Fri Sep 03, 2021 1:52 pm
Forum: Modding interface requests
Topic: on_player_placed_equipment by mod/player
Replies: 3
Views: 213

Re: on_player_placed_equipment by mod/player

A better and unambiguous logic would be to check if both events fire. If yes, then placed by a player (and you get which from the player event). The effectiveness of this depends on the event order though.
by curiosity
Thu Sep 02, 2021 3:07 am
Forum: Modding discussion
Topic: New API Docs website
Replies: 30
Views: 2111

Re: New API Docs website

Remove the monospace font altogether? It makes it so much harder to read. If not, the above font-weight change would help, perhaps generally making the monospace text bigger would also be better. Edit: this may actually be more to do with the font choice (which seems to be unspecified(?), so might ...
by curiosity
Wed Sep 01, 2021 5:25 pm
Forum: Modding discussion
Topic: New API Docs website
Replies: 30
Views: 2111

Re: New API Docs website

The very first impression upon opening the docs: this design is too overloaded and overcomplicated for the task. Although the expand button helps to hide the background and increase usable space, so it lessens the effect somewhat. At a first glance, the search is nearly useless. I can search through...
by curiosity
Tue Aug 24, 2021 10:47 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

https://lua-api.factorio.com/latest/Concepts.html#TrainScheduleRecord doesn't say that wait_conditions can be nil.

-> Thanks, fixed for the next release.
by curiosity
Sun Aug 22, 2021 9:46 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

https://lua-api.factorio.com/latest/Concepts.html#SoundType is sorely missing any details about what is special or different about all these types. No info on the wiki either (https://wiki.factorio.com/Prototype/Sound#category).
by curiosity
Sun Aug 15, 2021 7:09 am
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 116
Views: 8698

Re: Small documentation improvement requests

Someone was confused the other day about what nil means in https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.render_to_forces . Is it render to all or render to none? -> Thanks to you (and Eradicator), I have clarified this for the next release. If it's nil (and in the case of forces, an...
by curiosity
Sun Aug 15, 2021 7:03 am
Forum: Already exists
Topic: Read access to LuaEntityPrototype.max_logistic_slots
Replies: 5
Views: 201

Re: Read access to LuaEntityPrototype.max_logistic_slots

There is about as much in common (if not less) between prototype explorer and data/control stage as between the stages themselves. So take what it shows with a grain of salt.

Go to advanced search