Search found 36 matches

by Quorken
Wed Nov 12, 2025 2:44 am
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results



One person suggested making a ItemProductPrototype::ignored_by_quality member that is an integer, and would mean that specific product could produce both the same quality and a different quality in one cycle of the recipe.

Seems unnecessary to me. It only concerns the products and you can have ...
by Quorken
Tue Nov 11, 2025 8:35 pm
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results




I'm not sure what you mean by a byproduct in this context.

The reason I suggested pushing all "different quality" items into these slots was to give uniform behavior - the player knows that if a recipe normally produces a product B at quality X, but some effect/probability means it is produced ...
by Quorken
Tue Nov 11, 2025 8:20 pm
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results



That problem, of needing output slots for each quality, was why I suggested breaking machine outputs into two sets of output slots - same & different quality outputs. Same for outputs of the corresponding advertised quality, different for outputs that aren't. So you don't need slots for each ...
by Quorken
Tue Nov 11, 2025 6:46 am
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results



2. It appears exactly the same externally - and even then, the recipe could just have "extra outputs" which are generated during the prototype stage, instead of needing to use a "dump inventory" as you say that changing the recipe does.


I can see two reasons why it doesn't create more ...
by Quorken
Mon Nov 10, 2025 6:42 pm
Forum: Modding interface requests
Topic: A sibling API to play_sound: play_music
Replies: 27
Views: 1737

Re: A sibling API to play_sound: play_music

This is reasonable. It gives the most control to modders, albeit without any higher-level API (e.g. queueing).
But it's better to have low-level control than a high-level API that is inevitably limited, as modders can construct the high-level API from the low-level features.
And someone will likely ...
by Quorken
Sun Nov 09, 2025 7:20 pm
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results




I'm wondering if you could take it a step further, and always have outputs that are of a different quality (relative to the "expected" quality) go into special "different quality" slots. So even in the base game, if a recipe's output is bumped up a quality, it will go into the special ...
by Quorken
Sun Nov 09, 2025 6:58 pm
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results



Proposed solution of "ignored_by_quality" being an integer has a fundamental flaw that makes it impossible to add: if a recipe would finish, due to value of this field it coukd happen that X items of better quality and Y items of original quality would be given but they would have to be both ...
by Quorken
Sun Nov 09, 2025 6:51 am
Forum: Modding interface requests
Topic: Heat pipe and power pole connection masks
Replies: 4
Views: 286

Re: Heat pipe and power pole connection masks

protocol_1903 wrote: Sun Nov 09, 2025 12:18 am To be honest a lot of this sounds like breaking changes, i dont see any of it happening before 2.1 (although i love to be proven wrong)
That was actually why I brought it up now - the devs have outright said they're working towards 2.1 now.
by Quorken
Sat Nov 08, 2025 9:30 pm
Forum: Modding interface requests
Topic: Heat pipe and power pole connection masks
Replies: 4
Views: 286

Re: Heat pipe and power pole connection masks


I imagine it would be one global network for each type of connection category, then each entity connects to every network that it is compatible with.


That would be preferable. I just hope that wouldn't be too much work for the devs - I'd rather just have connection masks for non-global surfaces ...
by Quorken
Tue Nov 04, 2025 5:24 am
Forum: Modding interface requests
Topic: A sibling API to play_sound: play_music
Replies: 27
Views: 1737

Re: A sibling API to play_sound: play_music



How about allowing modders to define custom "playlists" in the prototype stage (procedural music systems, like planets already have), and then at runtime, they can set which playlist to play?


As an inexperienced modder, it doesn't appear clear to me right away how to avoid conflict if a mod ...
by Quorken
Mon Nov 03, 2025 11:59 pm
Forum: Modding interface requests
Topic: Heat pipe and power pole connection masks
Replies: 4
Views: 286

Heat pipe and power pole connection masks

This would determine which other heat pipes/power poles a given heat pipe/power pole could connect to.
Would work the same as fluidboxes's connection filters.
Machines would also have a power_connection_mask that determines which power poles they can receive power from.

This would allow for heat ...
by Quorken
Mon Nov 03, 2025 11:17 pm
Forum: Modding interface requests
Topic: QualityPrototype extended
Replies: 43
Views: 5052

Re: QualityPrototype extended



i know this isnt a bonus or multiplier, but being able to turn off quality on a prototype completely would be a massive help - as due to some runtime scripting stuff, getting quality on some of my mods buildings actually makes them worse :lol:


I am afraid i do not want to be doing that ...
by Quorken
Mon Nov 03, 2025 10:42 pm
Forum: Modding interface requests
Topic: A sibling API to play_sound: play_music
Replies: 27
Views: 1737

Re: A sibling API to play_sound: play_music

How about allowing modders to define custom "playlists" in the prototype stage (procedural music systems, like planets already have), and then at runtime, they can set which playlist to play?
Something like:
start_playlist(playlist=<playlist_name|default|nil>, where=<global|surface|surface_list ...
by Quorken
Thu Oct 09, 2025 5:31 am
Forum: Modding interface requests
Topic: Disable quality chances per item in a recipes results
Replies: 33
Views: 1713

Re: Disable quality chances per item in a recipes results


Because i do not want to allow other qualities to be specified. I was already attempting that and it always creates issues near crafting queue which is unable to handle quality. I would have to add a lot of safeguards such recipes never appear in the crafting queue, not even indirectly through ...
by Quorken
Wed Sep 24, 2025 2:19 am
Forum: Modding interface requests
Topic: Add option to adjust minimal speed and energy consumption of a CraftingMachinePrototype
Replies: 4
Views: 700

Re: Add option to adjust minimal speed and energy consumption of a CraftingMachinePrototype

+1 Both a minimum and maximum per-machine level for each machine. Something like:

consumption_limits = {min_percent=20, max_percent=nil}
quality_limits = {min_percent=0, max_percent=20}

Where if min_percent / max_percent are nil , they default to w/e the effect's default limits are.
If a limit ...
by Quorken
Fri Sep 19, 2025 8:52 pm
Forum: Resolved Requests
Topic: How to use research progress product
Replies: 8
Views: 1264

Re: How to use research progress product

In other words, the main use for it is as an alternative for researching certain technologies that exactly match it. So it's exactly equivalent to running a lab w/ the exact same science packs, except it can't research techs that take a subset of those packs?

Kind of a pity it's getting removed - I ...
by Quorken
Mon Sep 15, 2025 12:45 am
Forum: Modding help
Topic: How is the Robot Energy Multiplier set?
Replies: 4
Views: 519

Re: How is the Robot Energy Multiplier set?

I thought there were some modded planets that had custom multipliers, so I thought I was just missing the way to set it. Ideally, it's something you could set at runtime, so you could have a dynamic energy multiplier for certain planets.
by Quorken
Mon Sep 15, 2025 12:36 am
Forum: Modding help
Topic: How is the Robot Energy Multiplier set?
Replies: 4
Views: 519

Re: How is the Robot Energy Multiplier set?

The syntax error is because it's not a valid lua identifier, so it has to be used as a string, like ["robot-energy-multiplier"] = 2.
Doing

Code: Select all

{
	key = value
}
is the same as doing

Code: Select all

{
	["key"] = value
}
But the former is only valid if "key" is a valid variable name.
by Quorken
Sun Sep 14, 2025 9:22 pm
Forum: Modding help
Topic: How is the Robot Energy Multiplier set?
Replies: 4
Views: 519

How is the Robot Energy Multiplier set?

I have looked through the data- and control-stage docs, and I can't find any kind of surface-property or SpaceLocation member that determines the multiplier for robot energy usage. I even looked through the data.raw, and didn't find anything like this in Aquilo's defintion

I searched for things ...
by Quorken
Fri Sep 12, 2025 7:03 pm
Forum: Modding interface requests
Topic: Resource drain tech modifier
Replies: 4
Views: 746

Re: Resource drain tech modifier

+1

Communicating this to the player unambiguously might be tricky - if you just say it reduces drain by 10%, they might think 10 levels == 0 drain. You could say it increases lifetime yield by 10%, but that makes it sound just like productivity.

Maybe say it depletes the ore patch 10% slower? So ...

Go to advanced search