Vill's Recipe Randomizer (2.x)


Randomizes all recipe ingredients to make every game feel different! Fully configurable, theoretically works with all mods, checks dependencies, keeps recipes fair! Credit goes to Villfuk02 for the version that works on 1.x.

Tweaks
3 months ago
2.0
376
Manufacturing

g Could be space age compatible

4 months ago

I tried getting this to run on space age and it only took 3 changes to the settings. First I added all the new raw resources (see the text dump below), second I renamed empty-barrel to barrel in the forbidden ingredients and results, and third I added the loaders to the forbidden ingredients and results. This successfully randomized most recipes (although for late game recipes beyond aquilo it often changed nothing). Doesn't randomize recycling though or sync up the randomized recipes to the recycler recipes so that's probably really unbalanced.

text dumps of the settings changes I used:
raw resources: "(:[item=coal][item=stone][item=iron-ore][item=copper-ore]:1) ([item=electric-mining-drill][fluid=sulfuric-acid]:[item=uranium-ore]:3) (:[fluid=water]:0.0002) ([item=boiler]:[fluid=steam]:0.0002) ([item=pumpjack]:[fluid=crude-oil]:0.4) ([item=asteroid-collector]:[item=metallic-asteroid-chunk][item=carbonic-asteroid-chunk][item=oxide-asteroid-chunk]:10) ([item=thruster]:[item=yumako][item=jellynut]:3) ([item=thruster]:[item=spoilage]:1) ([item=thruster]:[item=pentapod-egg]:30) ([item=thruster]:[item=tungsten-ore]:6) ([item=thruster]:[item=scrap]:2) ([item=recycler]:[item=holmium-ore]:50) ([item=capture-robot-rocket]:[item=biter-egg]:10) ([item=electromagnetic-science-pack][item=metallurgic-science-pack][item=agricultural-science-pack]:[fluid=lithium-brine]:0.2) ([item=electromagnetic-science-pack][item=metallurgic-science-pack][item=agricultural-science-pack]:[fluid=ammoniacal-solution]:0.02) ([item=railgun-turret]:[item=promethium-asteroid-chunk]:20)"
forbidden ingredients: "[item=barrel][item=turbo-loader][item=express-loader][item=fast-loader][item=loader]"
forbidden results: "[item=barrel][item=turbo-loader][item=express-loader][item=fast-loader][item=loader]"

4 months ago

I tried another seed and it got stuck in startup on an infinite loop of flamethrower ammo recycling. I'd just add "recycling" to forbidden catgories since it doesn't work anyway.

4 months ago

Thank you, this helps. I hope to eventually make this fully compatible with Space Age. Probably won't happen overnight, though!

4 months ago

I've published your changes as presets for Space Age. Game should now load with Space Age on default settings.

4 months ago

I've been playing through with these settings and just noticed I forgot calcite and lava in the raw resources
Speaking of lava, I imagine this randomizer will have the same problem the estarte randomizer had with certain fluids not having barrels so you can't ship them to other planets if they're needed in a particular building. Estarte got around it by enabling the barrelling recipes for all fluids.

4 months ago
(updated 4 months ago)

Lava is a perfect candidate for a non-random ingredient. Same for plasma, which also can't be barreled. Adding calcite to ores.

I'll release an update today with those.

I gotta think what to do about other non-barrelable fluids like thruster fuel, or ammonia, etc. I'd like to avoid introducing changes of what is barrelable or not.

4 months ago

Recycling should now work, based on the mod settings. If (as default) it's set to calculate ('don't randomize') hidden recipes, it'll regenerate recycling recipes for all recipes (using the devs' own algorithm).

4 months ago

Nice. Hopefully that will make fulgora more interesting because in my current playthrough (without the recycler randomization) the main resources I need for electromagnetic science are iron ore, copper ore, and petrol so I wind up throwing out like 95% of recycled scrap products just to get the holmium.

Also, iron and copper bacteria might have to be non-random as well. In my current run I need bacteria (only craftable on gleba) for big mining drills (only craftable on vulcanus) so I'd have to ship them in under 1 minute before it spoils. Maybe if I make quality bacteria for the extra 36 seconds and redesign a spaceship for speed I could do it but that's a pretty steep difficulty spike just to start mining tungsten.

4 months ago

Yeah, I had other people indicate that some recipes are crucial and probably shouldn't be touched (in presets). I'm releasing those fixes right now.

New response