Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes #2

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Changes #2

wants to merge 2 commits into from

Conversation

CaitSith2
Copy link
Member

  • Dumps mod information. These will get listed as required in AP seeds generated using this data.
  • extract initially unlocked recipes before unlocking the technologies.
  • extract fluid box and speed information for crafting machines.
  • extract mining machines including fluid box information.
  • extract lab information.
  • extract offshore-pumps and what fluids are pumped out of the ground for free. (water)
  • extract boiler information regarding conversion of input fluid to output fluid. (water to steam)
  • extract burner entities that have at least one burnt result inventory slot. (used-up-uranium-fuel-cell)
  • Extract fuel value/category for items that have a burnt result (used-up-uranium-fuel-cell)
  • extract rocket launch products from items (raw-fish, space-science-pack)
  • extract actual item_stackable information. (note that spidertron-remote prototype incorrectly reports stackable as true unless it is explicitly set false during prototype stage.)
  • extract temperature and heat capacity information for fluids. (needed for calculating how much water to steam is made per second in a given boiler)
  • Disallow extraction while AP is running.

The PR on AP side in fact marks this mod as incompatible, but this code is for older instances of AP that are NOT marked incompatible.

* Dumps mod information.  These will get listed as required in AP seeds generated using this data.
* extract initially unlocked recipes before unlocking the technologies.
* extract fluid box and speed information for crafting machines.
* extract mining machines including fluid box information.
* extract lab information.
* extract offshore-pumps and what fluids are pumped out of the ground for free. (water)
* extract boiler information regarding conversion of input fluid to output fluid. (water to steam)
* extract burner entities that have at least one burnt result inventory slot. (used-up-uranium-fuel-cell)
* Extract fuel value/category for items that have a burnt result (used-up-uranium-fuel-cell)
* extract rocket launch products from items (raw-fish, space-science-pack)
* extract actual item_stackable information. (note that spidertron-remote prototype incorrectly reports stackable as true unless it is explicitly set false during prototype stage.)
* extract temperature and heat capacity information for fluids. (needed for calculating how much water to steam is made per second in a given boiler)
* Disallow extraction while AP is running.

The PR on AP side in fact marks this mod as incompatible, but this code is for older instances of AP that are NOT marked incompatible.
* Extract items required to place machine.
* Move machine type to common variables.
* workaround game.table_to_json bug if max_temperature is math.huge  (infinite). (it does not put inf in quotes.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant