autotrade_vending struct to Plugin(HPM)

Could you re-use `i` here, (it's a non-nested loop, so `i` is always a good choice) instead of introducing an ambigous-looking, unusual `l`?