PySuite Tech Tree Fix (Request)

This is the place to request new mods or give ideas about what could be done.
Post Reply
Mecejide
Fast Inserter
Fast Inserter
Posts: 171
Joined: Mon Sep 23, 2019 8:12 pm
Contact:

PySuite Tech Tree Fix (Request)

Post by Mecejide »

A mod that changes the tech tree of the PySuite by adding prerequisites to techs, moving recipe unlocks, and adding new techs if necessary so that firstly, you cannot start researching a recipe unless you have researched recipes for all the science packs required for it, and secondly, you cannot research a recipe unless you have researched recipes for all its ingredients. For example, it would move the recipes for Salt Water Electrolysis, Fiberboard, Melamine Resin, Formica, and the Printed Circuit Substrate 1 and the automatable recipe for the Circuit Board 1 to Coal Processing 1 because all of them except Salt Water Electrolysis require either Treated Wood or Formaldehyde, both of which are unlocked by Coal Processing 1, and Salt Water Electrolysis is initially required for Fiberboard, and make automation a prerequisite of Coal Processing 1 because the Automated Factory recipe unlocked by it requires assembling machine 1s, which are unlocked by automation.

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

Re: PySuite Tech Tree Fix (Request)

Post by darkfrei »

For example:

Code: Select all

recipe["automation-science-pack"].enabled_in_technologies = {"basic-mining", "improved-equipment"}
It looks like that this recipe is enabled in this two technologies, what here must be used?
code

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

Re: PySuite Tech Tree Fix (Request)

Post by darkfrei »

Mecejide wrote:
Sun Feb 02, 2020 11:55 pm
A mod that changes the tech tree of the PySuite by adding prerequisites to techs, moving recipe unlocks, and adding new techs if necessary so that firstly, you cannot start researching a recipe unless you have researched recipes for all the science packs required for it, and secondly, you cannot research a recipe unless you have researched recipes for all its ingredients.
The second try, but it's real difficult to get the right tech tree automatically.
Attachments
AnyPyTech_0.0.2.zip
(35.34 KiB) Downloaded 54 times

Post Reply

Return to “Ideas and Requests For Mods”