Tweaks
3 months ago
2.0
2.20K
Cheats

g Distinct items?

9 months ago

Hi, this mod is neat and I appreciate you taking the time to make a more sophisticated take on this idea than the other options available for v2.0. I was wondering whether it would be possible to have each ammo type be duplicated, then have the duplicated item take on the bottomless attribute? The other properties, i.e. stack size reduction and cost increase, would also be applied to the distinct items. This would make the mod's functionality opt-in on a per-ammo-type basis.

Poking around data-final-fixes.lua, it seems the underlying functionality is pretty elegant - it just searches for all "ammo"-type items and sets their rate of consumption, stack size, and magazine capacity to 0. Would applying these attributes to newly-created copies of each type, and leaving the originals unaltered, be a possibility?

9 months ago

Hmm, I thought it might be more confusing that way.
But I'll give it a look and if I can figure it out and I'm happy with the results 😅 I'll add it as a setting.

9 months ago

I got it working in the end and I just pushed 0.2.1 that adds a new setting (default false) that does what you asked for.

Forgot to add this in the changelog.txt but the stack number is also gone now, and if you enable the new settings, the new ammo types get a "infinity" icon over it to distinguish them.

9 months ago

Thank you so much! I really appreciate you going to the trouble of implementing such a feature for the users of the mod!

New response