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
3 days ago
1.1 - 2.0
1.38K
Mining Manufacturing Storage

g 2.0 crash

30 days ago

got the following error upon loading the mod:

Failed to load mods: core/lualib/dataloader.lua:18: Invalid prototype array {
flags = {},
fuel_category = "chemical",
fule_value = "40MJ",
icon = "Coal-Expanded/icons/lignite.png",
icon_size = 32,
name = "CE_Lignite",
order = "z1",
stack_size = 100,
subgroup = "raw-material",
type = "item"
}
stack traceback:
[C]: in function 'error'
core/lualib/dataloader.lua:18: in function 'extend'
Coal-Expanded/prototypes/items.lua:1: in main chunk
[C]: in function 'require'
Coal-Expanded/data.lua:4: in main chunk
Mods to be disabled:
•Coal-Expanded (0.2.3) ◘ Reset mod settings

30 days ago

I am going to guess that the problem is because Bob's power hasnt been updated yet

30 days ago

Thank you for letting me know--I found the issue. With the new update, they changed how you can create new recipes... You are no longer allowed to use the shorthand version by directly creating arrays (which I was doing). Now you have to interact with the enum and explicitly state each value for the new recipes. I have updated it and it should work now.

30 days ago

Thanks for the quick update! that was a pain in the ass to type it all out by hand, really wish you could copy crash logs from startup, other than just from in middle of game...

New response