Name: Subterrain
Description: Adds a few tiers of underground belt/pipe that can go much farther than standard underground belts/pipes, and charges the player a number of belts/pipes based on the distance between the entrance and exit belt/pipe.
License: GNU GPLv3
Latest-Version: 0.4.1
Latest-Release: 2017-07-23
Tested-With-Factorio-Version: 0.15.x
Category: Alpha
Tags: Logistics
Download-Url: https://mods.factorio.com/mods/Gangsir/ ... /downloads
Website: https://bitbucket.com/Gangsir/subterrain
Description
Subterrain is a mod that adds a new spin on underground belts, subterranean belts. These belts are unique in that their specialized engineering allows them to travel a whopping 250 tiles underground. However, unlike standard issue underground belts that simply factor the length into the recipe, these belts cost the player belts based on distance, while the underground belt itself is cheap. This means no loss in efficiency by building short subterranean belts. The mod also adds pipes of a similar nature.
For more specialized documentation on the mod, see the wiki page of the github repository, here, and the readme of the repository.
I should note that this is my first mod. While this mod is unlikely to corrupt your save, it is always pertinent to keep backups in the event of issues, when installing any mod.
NOTE: This is not my MOD above, Author and current maintainer is Gangsir
But I have heavily modified it, below. And Rewritten control.lua file to work a bit different and removed 100 lines of redundant code.
You can still see bits of the same code, because I reused some algorithms.
I'm no modder, any revisions on the code are welcome.
All code after being destroyed was removed due to redundancy and probably will be sorted out when Official author of this MOD will appear.
It still uses icons of original author and changes he made to entities and prototypes. Author already made the changes.
[attachment=8]Subterrain_modified_0.0.1.zip[/attachment][/spoiler]
My own vision:
Is to replace default belts and pipes with these and remove all technology that original author added. (Modified version)
But I'll make many or easily customizable to satisfy most people.
Almost done, there is a bug though. If belts or pipes are built between already placed ones and connected to, then almost all amount of belts are lost, because logic returns belts between already connected ones and doesn't take into account (yet) that original belts were cut. Any ideas on how to accomplish it would be awesome