Wear and Tear

by withers

Adds wear and tear mechanics to the game, plus automated maintenance.

6 years ago
0.14 - 0.15
14

b Not replacing recipies

6 years ago

As title, seems at least some of the time it's not replacing recipes. Unsure what is causing it.

6 years ago

Hi there, I had a look at the code, the recipe stuff can be fixed. Open the control.lua, go to line 70 and move the line "local old_recipe" two lines up so that it comes before "if roster_entry.entity.type == "assembling-machine" then".

Greetings

6 years ago

Well played sir! You have saved me a major headache and I can continue my twitch streams. I'll re-read the code later so I can understand it better. Using mods to get a basic idea on coding XD

6 years ago

This is now fixed.

New response