GithubHelp home page GithubHelp logo

tburrows13 / poweroverload Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 3.0 849 KB

Factorio power distribution overhaul mod

Home Page: https://mods.factorio.com/mod/PowerOverload

License: MIT License

Lua 100.00%
factorio factorio-mod

poweroverload's Introduction

Power Overload

Features

  • Power poles may explode if their network's total consumption goes over the maximum consumption for that power pole type
  • Separate your network into subnetworks using transformers, but ensure that each subnetwork does not get too large!
    • You will usually want your subnetworks to only contain one type of power pole, so power poles of different types no longer automatically connect to each other
    • Added a new "Toggle automatic pole connections" shortcut (Alt + P), useful for temporarily disabling all automatic connections
    • Transformers are only 98% efficient (this can be changed in settings)
  • New 4th tier power pole with very long range, high maximum power consumption, but no supply area
  • High energy interface that only provides electricity on one side for supplying any (primarily modded) buildings with very high power requirements
  • Four tiers of fuses which have a lower max consumption than the corresponding electric pole and are more likely to explode when overloaded
  • Each type of pole has a fully configurable maximum power consumption
  • Modes of destruction:
    • Destroy (default): Poles are destroyed (each pole checked on average every 5 seconds)
    • Damage: Poles are damaged (each pole receives damage of (consumption / max_consumption - 0.95) * 10 applied on average once a second)
    • Catch fire: Poles catch fire, damaging surrounding entities (each pole is set on fire if consumption / max_consumption + 0.01) * math.random() > 1 applied on average every 10 seconds)
    • Nothing: Nothing happens. Use temporarily when adding the mod to an existing save so that the necessary adjustments can be made first.

Tips

  • You'll want to have a central 'spine' of higher tier poles. Use transformers to branch off it into subnetworks containing lower tier poles
  • Don't forget the vanilla methods of removing wires:
    • Shift + Click on a power pole to remove all wires
    • 'Connect' two connected poles with copper cable to disconnect them
  • Useful mods:
    • Wire Shortcut X for easier connecting and disconnecting of wires
    • Rate Calculator for ensuring that a subnetworks' power requirements are not too large

Compatibility

Performance

At the current level of optimisation, you should expect to be able to maintain 60UPS well into the hundreds of science-per-minute. As such, it works particularly well with smaller overhaul mods like Krastorio 2 and Industrial Revolution 2. Late-game Space Exploration or Pyanodons will likely run into UPS issues, although I do have future plans for further optimisation.

Graphics

Thanks to busdriver4 for creating the amazing fuse and transformer graphics!


You can help by translating this mod into your language using CrowdIn. Any translations made will be included in the next release. If you've been using this mod, I'd love to see some screenshots or saves from your playthrough. If you have any bug reports, feedback, or balance suggestions, please let me know through the Discussion page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.