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

Add "creative mode" option #437

Closed
wants to merge 2 commits into from
Closed

Add "creative mode" option #437

wants to merge 2 commits into from

Commits on Aug 19, 2018

  1. Add "creative mode" option

    This does not change the default behavior, but if "creative_mode" is set to true in technic.conf, this completely disables power distribution and causes the following to happen, regardless of whether there is a switching station connected:
    * Switching Stations and Power Monitors become inert
    * Generators placed on top of a suitable cable will run (consume fuel if applicable, update infotext, and so on)
    * Batteries placed on top of a suitable cable will charge at maximum speed and remain fully charged
    * Machines that consume energy and are placed on top of a suitable cable will run normally, regardless of whether any power is present
    * Power distribution logic will not run and networks will not be calculated
    cheapie committed Aug 19, 2018
    Copy the full SHA
    1baf6af View commit details
    Browse the repository at this point in the history
  2. Add "enable_producers" option

    Defaults to true, but if set to false skips registering everything that produces energy. Intended for use in conjunction with creative mode but will work regardless.
    cheapie committed Aug 19, 2018
    Copy the full SHA
    a04bb90 View commit details
    Browse the repository at this point in the history