Is it possible to code the recipes on the fly?

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
yagaodirac
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Jun 16, 2019 4:04 pm
Contact:

Is it possible to code the recipes on the fly?

Post by yagaodirac »

when the pollution is heavy, assemblers fails more and give out trash.
When any turrets fire, assemblers near by work slower a little bit.
Specific recipes don't work at night.
I don't know. But is it possible?

Hannu
Filter Inserter
Filter Inserter
Posts: 850
Joined: Thu Apr 28, 2016 6:27 am
Contact:

Re: Is it possible to code the recipes on the fly?

Post by Hannu »

yagaodirac wrote:
Thu May 28, 2020 12:28 pm
when the pollution is heavy, assemblers fails more and give out trash.
When any turrets fire, assemblers near by work slower a little bit.
Specific recipes don't work at night.
I don't know. But is it possible?
Unfortunately it is not possible. It would be great addition in Factorio to give some properties to biomes, like temperature, humidity etc. and let them affect to production. Some recipes could work better in some areas and vice versa. Then there would be real incentive to build production units in different biomes and real use for combinator logics to keep parameters in safe limits. But unfortunately far too many players are OCD-crazy who want to build everything at exact ratios and could not stand variations even in tenth decimal. Maybe variations could be active only in special hard -mode. But it would need too massive changes in program code to be realistic expectation in this phase of development and also minority of players would like it.

coppercoil
Filter Inserter
Filter Inserter
Posts: 472
Joined: Tue Jun 26, 2018 10:14 am
Contact:

Re: Is it possible to code the recipes on the fly?

Post by coppercoil »

Maybe no massive changes required? We already have variable output recipe: Kovarex enrichment process.
Mod could predefine a fixed recipe, where good production would have output probability f(x), and trash production would have g(x) = 1-f(x), or any other.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Is it possible to code the recipes on the fly?

Post by darkfrei »

yagaodirac wrote:
Thu May 28, 2020 12:28 pm
1. when the pollution is heavy, assemblers fails more and give out trash.
2. When any turrets fire, assemblers near by work slower a little bit.
3. Specific recipes don't work at night.
1. Change the recipe from recipe "recipe_item" to recipe "recipe_item_chance_50_percent", "recipe_item_chance_10_percent", "recipe_item_chance_1_percent". You are need to prepare it before, in the data stage.

2. Maybe hidden beacons with slowdown modules.

3. Disabling assemblers in the night via control script. You are need to check every tick / n_ticks is it dark daytime or not.

yagaodirac
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Jun 16, 2019 4:04 pm
Contact:

Re: Is it possible to code the recipes on the fly?

Post by yagaodirac »

Hannu wrote:
Thu May 28, 2020 12:38 pm
yagaodirac wrote:
Thu May 28, 2020 12:28 pm
when the pollution is heavy, assemblers fails more and give out trash.
When any turrets fire, assemblers near by work slower a little bit.
Specific recipes don't work at night.
I don't know. But is it possible?
Unfortunately it is not possible. It would be great addition in Factorio to give some properties to biomes, like temperature, humidity etc. and let them affect to production. Some recipes could work better in some areas and vice versa. Then there would be real incentive to build production units in different biomes and real use for combinator logics to keep parameters in safe limits. But unfortunately far too many players are OCD-crazy who want to build everything at exact ratios and could not stand variations even in tenth decimal. Maybe variations could be active only in special hard -mode. But it would need too massive changes in program code to be realistic expectation in this phase of development and also minority of players would like it.
Thanks. Very sweet idea. With the feature of building inside cargo came into real scenerio game recently, it would be definitely great.

yagaodirac
Fast Inserter
Fast Inserter
Posts: 152
Joined: Sun Jun 16, 2019 4:04 pm
Contact:

Re: Is it possible to code the recipes on the fly?

Post by yagaodirac »

darkfrei wrote:
Thu May 28, 2020 1:59 pm
yagaodirac wrote:
Thu May 28, 2020 12:28 pm
1. when the pollution is heavy, assemblers fails more and give out trash.
2. When any turrets fire, assemblers near by work slower a little bit.
3. Specific recipes don't work at night.
1. Change the recipe from recipe "recipe_item" to recipe "recipe_item_chance_50_percent", "recipe_item_chance_10_percent", "recipe_item_chance_1_percent". You are need to prepare it before, in the data stage.

2. Maybe hidden beacons with slowdown modules.

3. Disabling assemblers in the night via control script. You are need to check every tick / n_ticks is it dark daytime or not.
Hidden beacons is genius! I think that would be enough for most ideas. Thanks!

Post Reply

Return to “Ideas and Suggestions”