Schall Tank Woodcutting (Autodrive fix)

by Pi-C

Harvest wood on the way of vehicles driving over trees, or stone and coal when driving over rocks. Harvested items will be loaded directly into the trunk of Autodrive-controlled vehicles if the items can be used by the vehicle or equipment in its grid..

Utilities
a month ago
1.1 - 2.0
43
Transportation Mining
Owner:
Pi-C
Source:
N/A
Homepage:
N/A
License:
Bob's mods Copyright
Created:
11 months ago
Latest Version:
2.0.0 (a month ago)
Factorio version:
1.1 - 2.0
Downloaded by:
43 users

This is a fork of Schall Tank Woodcutting that I made because the original caused problems with my mod Autodrive when it was loaded before Autodrive. While I was at it, I've fixed a bug or two, made the mod desync-safe, and added some customization for Autodrive.

The update for Factorio 2.0 entailed a complete rewrite of the main function. I've removed the remote interface (which was tailored to Autodrive's needs). Instead, a custom event will now be raised whenever this mod mines a rock or tree, so that other mods get a chance to modify the mined items before we try to give them to vehicle driver or passenger (in this order), or spill them on the ground.

I will deprecate this mod if Schallfalke updates the original mod to include these changes.