Download(s)
Mod's default settings:
- Items used by mod:
- All itemprototypes with fuelvalue (is sorted from high to low)
- Bullets: {"piercing-bullet-magazine", "basic-bullet-magazine"}
- Shells: {"cannon-shell"}
- car, dielsel-locomotive and tank are loaded with fuel with highest fuelvalue. (+ tank includes ammos too)
- Burners group: Burner mining drills, Stone furnaces, Steel furnaces, Burner inserters and Boilers work same as vehicles, but all fuel is divided to all "burners" that are in quickbar and hand.
- Turrets group: Gun turrets are loaded with ammos (First in array first in use). Ammo is divided to all turrets in quickbar and hand.
Code: Select all
remote.call("af", "insertset", username, entityname, settable)
remote.call("af", "toggleUsage", username)
remote.call("af", "resetUser", "default" or "lite", username)
remote.call("af", "resetMod", ["lite"])
remote.call("af", "getDefaultSets")
remote.call("af", "setDefaultSets", table)
Code: Select all
remote.call("af", "insertset", "", "car", {{"coal","raw-wood"}, "basic-bullet-magazine"}) -- Creates personal setting for car.
remote.call("af", "insertset", "", "car", 0) -- insert nothing to car. (ignores default setting)
remote.call("af", "insertset", "", "car", nil) -- reset to default setting
Additional keys
- group: it will divide items between all buildable items that belong to group and are in your quickbar.
- slots: see control.lua how tank is set up.