Fill4Me Continued


Automatically inserts fuel and/or ammunition into entities when you place them. A Factorio 2.1 fix of Fill4Me by Kovus (https://gitlab.com/FishBus/Fill4Me), re-extra-fixed by ThandirBH. Replaces Fill4Me: don't run both.

Utilities
9 hours ago
2.1
102
Combat
Owner:
ThandirBH
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
a day ago
Latest Version:
1.2.1 (9 hours ago)
Factorio version:
2.1
Downloaded by:
102 users

This is an update and fix to Kovus' Fill4Me mod (https://mods.factorio.com/mod/Fill4Me)

New features added:
- Dialog box to determine percent or count
- Can exclude certain fuels or ammo types
- Button and Hotkey (Shift-Y) to auto fill everything within 15 tiles.

----Copied from the original:---
Fill4Me

Fill4Me will automatically insert fuel and/or ammunition from your main inventory into entities when you place them. It is a replacement for AutoFill. It will attempt to put the best quality ammunition or fuel you have in your inventory into the entity, with certain limits on quantities.

Fill4Me is ready to work with other mods, and automatically determines at load time what the best ammunition & fuels are for entities. It will re-evaluate these decisions when new mods are loaded or mods are unloaded, ensuring that you put the best ammunition or fuels you have on-hand into your entities, including custom fuels and ammunition. Entities which have multiple ammunition types will have some of each type loaded into them.

Just in case you missed that: Fill4Me will work with any ammunition or fuel that can be inserted into any entity from any mod, and will accommodate mod changes between save/load.
New commands

Fill4Me does not have much of a GUI at current, as there's not much of a need for one. There is a tool button (top-left)[actually bottom on your toolbar] which enable/disables Fill4Me at current.

/f4m.toggle - Enable/Disabled Fill4Me.
/f4m.max_percent - Sets the maximum percent of an on-hand resource to place into an entity. (Default 12%)

Known issues

Fill4Me is unable (due to a lack of data in Factorio) to properly prioritize ammunition which utilize smoke or cloud-style effects, such a poison clouds, acid clouds, etc. In these cases it attempts to evaluate them via a secondary method, but it is just guessing.