Coal Expanded


This small mod attempts to make coal less of a storage hog while making it more useful as a fuel source by adding new recipes to create new types of coal by condensing it, making it take up less space while also providing more fuel per unit. Each compression level reduces pollution generated. Allows toggles for: Receiving a boost for each compression level, Receiving a boost for vehicles per compression level, Increasing stack sizes of coal and all compressed types to 1,000.

Content
2 days ago
1.1 - 2.0
1.38K
Mining Manufacturing Storage
Owner:
Ovalsquare
Source:
https://github.com/LukeKvamme/Coal-Expanded
Homepage:
N/A
License:
Apache License 2.0
Created:
1 year, 3 months ago
Latest Version:
1.1.1 (2 days ago)
Factorio version:
1.1 - 2.0
Downloaded by:
1.38K users

This mod attempts to make coal less of a storage hog while making it more useful as a fuel source by adding new recipes to create new types of coal by condensing it -- making it take up less space while also providing more fuel per unit. The stack sizes for each coal and coal derivative can be increased to 1,000 to help with storage even further.

Currently it adds 5 new fuels (aside from diamonds, they are all real variations of coal -- in ascending order according to their purity and energy density):
1. CE_Lignite
2. CE_Sub-Bituminous Coal
3. CE_Bituminous Coal
4. CE_Anthracite
5. CE_Diamond
CE_ has been added so the 'Diamond' item does not collide with other mods.

The crafting recipes and equivalencies are:
10 coal --> 1 Lignite (10x one piece of coal)
10 Lignite --> 1 Sub-Bituminous Coal (100x one piece of coal)
10 Sub-Bituminous Coal --> 1 Bituminous Coal (1_000x one piece of coal)
10 Bituminous Coal --> 1 Anthracite (10_000x one piece of coal)
10 Anthracite --> 1 Diamond (100_000x one piece of coal)

The base (non-boosted) fuel totals are:
1 coal = 4 MJ
1 Lignite = 40 MJ
1 Sub-Bituminous Coal = 400 MJ
1 Bituminous Coal = 4_000 MJ (4 GJ)
1 Anthracite = 40_000 MJ (40 GJ)
1 Diamond = 400_000 MJ (400 GJ)

Future Plans:
- Add to tech tree so that compression must be unlocked
- Add a compressor building

This is my first time programming with Lua, so I am still learning. Any advice or help is appreciated. Thank you guys.