[Mod 1.0.x] Charcoal Burner

Topics and discussion about specific mods
Dark___Pearl
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat May 27, 2017 9:53 am
Contact:

[Mod 1.0.x] Charcoal Burner

Post by Dark___Pearl »

CharcoalBurner
  • Name: CharcoalBurner
  • Version: 1.19.29
  • Factorio version: 1.1.x
  • Short description: Adds a way to turn your useless excess wood into charcoal
  • Download: https://mods.factorio.com/mods/Dark___P ... /downloads
  • Dependencies: Angels Petrochem (optional)
  • Category: Utility
  • Author: Dark___Pearl
Long Description
Special Thanks
Changelog
Suggestions on balance or new features and bug reports are always welcome!

Download via the mod portal or the mentioned URL (which is also the mod portal)
Last edited by Dark___Pearl on Sat Nov 28, 2020 10:54 pm, edited 13 times in total.
Jürgen Erhard
Filter Inserter
Filter Inserter
Posts: 299
Joined: Sun Jun 12, 2016 11:29 pm
Contact:

Productivity Modules?

Post by Jürgen Erhard »

Can't use productivity modules in Improved Charcoal Creation. Both coal and creosote oil are intermediate products, right?

Dangit, tried to look into this, but I can't see where creosote oil or the recipe is different from heavy oil or the basic oil processing recipe. But somehow the game decides that there is a non-intermediate here.

(Repost from portal, since it still doesn't seem to do notifications)
Serenity
Smart Inserter
Smart Inserter
Posts: 1017
Joined: Fri Apr 15, 2016 6:16 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by Serenity »

I don't really need the special oil, but it's a nice and not overly complicated way to get rid of excess wood later in the game :)
Jürgen Erhard
Filter Inserter
Filter Inserter
Posts: 299
Joined: Sun Jun 12, 2016 11:29 pm
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by Jürgen Erhard »

Looking at something completely different (namely, how to add higher tiers of productivity modules… and just that, not all kinds of other crap I don't want) I found it.

Code: Select all

table.insert(data.raw["module"]["productivity-module"].limitation, "X")
table.insert(data.raw["module"]["productivity-module-2"].limitation, "X")
table.insert(data.raw["module"]["productivity-module-3"].limitation, "X")
with X being every recipe that produces only intermediate products should work. Will test and report later.


Serenity: I don't really need it either, but making coal is nice if you're a dumbass like me who set RSO's region to 50 and is scrambling for resources :D Trees to coal saved my bacon. And the oil gets turned into solid fuel. 2 wood to one coal + ¼ solid fuel means you get coal (for plastics) and 6.25 MJ extra energy for trains and steam. That *in addition* to getting rid of all the excess wood. :D
Jürgen Erhard
Filter Inserter
Filter Inserter
Posts: 299
Joined: Sun Jun 12, 2016 11:29 pm
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by Jürgen Erhard »

Tried, works. Add this code to data-updates.lua (or to data.lua, I think it should work):

Code: Select all

-- Make recipes able to take productivity modules.
do
	local recipes = {"charcoal",
			 "charcoal-complex",
			 "creosote-antiseptic",
			 "coal-coke",
			 "impregnated-wood",
			 "solid-fuel-from-creosote-oil"}
	for _, recipe in ipairs(recipes) do
		table.insert(data.raw["module"]["productivity-module"].limitation, recipe)
		table.insert(data.raw["module"]["productivity-module-2"].limitation, recipe)
		table.insert(data.raw["module"]["productivity-module-3"].limitation, recipe)
	end
end
TRauMa
Inserter
Inserter
Posts: 41
Joined: Fri Jan 15, 2016 3:48 pm
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by TRauMa »

I get an error with the latest update and petrochem:
Failed to load mods: Error in assignID, item with name 'char-solid-coke' does not exist.

Source: char-coal-coke (recipe).

Mods to be disabled:
• CharcoalBurner
• angelspetrochem
Dark___Pearl
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat May 27, 2017 9:53 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by Dark___Pearl »

TRauMa wrote:I get an error with the latest update and petrochem:
Failed to load mods: Error in assignID, item with name 'char-solid-coke' does not exist.

Source: char-coal-coke (recipe).

Mods to be disabled:
• CharcoalBurner
• angelspetrochem
I made a slight mistake during migration. I fixed it in 1.16.20. Thanks for telling me!
BlackDeath
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Apr 20, 2016 5:53 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by BlackDeath »

Thank you for fixing the error but now there's another error:
factorio.png
factorio.png (18.37 KiB) Viewed 7194 times
Dark___Pearl
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sat May 27, 2017 9:53 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by Dark___Pearl »

BlackDeath wrote:Thank you for fixing the error but now there's another error:
factorio.png
Apologies again, it's fixed in 1.16.21. I've tested it with both angel's and bob's, and it launches correctly.
kaszak696
Burner Inserter
Burner Inserter
Posts: 6
Joined: Fri Jan 19, 2018 9:07 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by kaszak696 »

Hi, i'm getting this error currently on version 1.16.21:
factorio.png
factorio.png (7.65 KiB) Viewed 7070 times
I'm rocking full Algel's, Bob's and MadClown. One of the Bob's mods offers option to toggle productivity module limitations, if the option is disabled, CharcoalBurner crashes like this. There probably should be a check if "["productivity-module"].limitation" exists before the insert calls are made.
BlackDeath
Burner Inserter
Burner Inserter
Posts: 12
Joined: Wed Apr 20, 2016 5:53 am
Contact:

Re: [Mod 0.16.x] Charcoal Burner

Post by BlackDeath »

I get an error with the latest update and petrochem:
Attachments
factorio.JPG
factorio.JPG (33.57 KiB) Viewed 6944 times
burninghey
Fast Inserter
Fast Inserter
Posts: 127
Joined: Fri Sep 14, 2018 2:06 am
Contact:

Re: [Mod 1.0.x] Charcoal Burner

Post by burninghey »

while writing a bug report to factorio staff because steel furnaces dumped fuel, double-checkd my mods and discovered yours .. :geek:
Bild_2020-10-26_121130.png
Bild_2020-10-26_121130.png (1.36 MiB) Viewed 5000 times
Post Reply

Return to “Mods”