Charcoal Burner


Adds a way to turn your useless excess wood into charcoal

Utilities
4 years ago
0.13 - 1.1
2.50K

b Crash on load

7 years ago

Its crashing concatenating the string on control.lua, line 6 with the CharcoalBurner mod_changes table...

Also, all the control code for resetting recipes/technologies could be moved inside a migration file, so it doesnt run every time another mod updates.

For last, force.reset_technology_effects() is a new command that does all the work of enabling/disabling recipes and effects for the current researched technologies, so you dont need to check if a research is done and force a recipe to be enabled

7 years ago

Can confirm, receiving same error.

7 years ago

Same error

7 years ago

same error - downgrade to past charcoalburner version and it works again.

7 years ago

@nagapito force.reset_technology_effects() does more than what you described, it also resets force values that were modified through console or control.lua. A good example would be game.forces["player"].character_build_distance_bonus and game.forces["player"].character_reach_distance_bonus which are both reset by that function. I would stay away from using this function for now.

7 years ago

That would explain why by distance bonus reset... thanks clampi!

New response