[1.2.2] Negative and non-integer ammunition.
Posted: Wed Jun 25, 2014 7:20 pm
egos/ammo.lua line 67
Ammo with the capacity ego doesn't get rounded, so my pouch of shots currently has 47.462295050931 / 47.462295050931 shots in it. If I use them all, I can go down to -0.537704949069 / 47.462295050931 shots.
The amount of shots is partially corrected in display. Ammo bar in main game screen is accurate (although sometimes negative) and inventory screen rounds the maximum but not the current amount.
Code: Select all
capacity = resolvers.generic(function(e) return e.combat.capacity * rng.float(1.3, 1.6) end),
The amount of shots is partially corrected in display. Ammo bar in main game screen is accurate (although sometimes negative) and inventory screen rounds the maximum but not the current amount.