The character_loot_pickup_distance_bonus in LuaControl is limited to a uint, while the character_loot_pickup_bonus in LuaForce gets to be a double.
https://lua-api.factorio.com/latest/cla ... ance_bonus
https://lua-api.factorio.com/latest/cla ... ance_bonus
This means that a mod can change the loot pickup distance of an entire force by fractions of a tile, but can only change the pickup distance of individual players by whole tiles.
Please change the LuaControl character_loot_pickup_distance_bonus to a double. This would make the two bonuses match, and would allow mods to change individual players loot_pickup_distance_bonus with more granularity (i.e. a "+0.25 tile loot pickup distance bonus" recipe).
Thank you!
Change player.character_loot_pickup_distance_bonus from uint to double
Re: Change player.character_loot_pickup_distance_bonus from uint to double
+1
If this gets changed, I'm voting for character_reach_distance_bonus to become of type double also!
If this gets changed, I'm voting for character_reach_distance_bonus to become of type double also!