Ammo Fill deprecated

by Laendra

Deprecated, please use Automatic Fill

Utilities
6 years ago
0.16
5

g Bob's support

6 years ago
(updated 6 years ago)

Would be nice to have. Here a little starter for the gun/sniper turrets:

control.lua line 10
from:
if entity.name == "gun-turret" then
to:
if string.match(entity.name,"^.*[sniper|gun]*%-turret.*$") ~= nil then

regex in lua is a bit funny, but google helps a lot ^^

6 years ago

Check out Automatic Fill. It does it different, based on ammo types. Let me know on that one if it doesn't work and I will attempt to add support if you point me to the right mod.

New response