Closed Crutchmaster closed 5 years ago
good idea
Not going to happen for a ton of reasons, starting with the massive amount of work required to implement this. RW itself uses contemporary firearms as do most mods out there, not going to arbitrarily break all of those for what is essentially just a personal preference of a niche part of the user base.
If you want to play CE with the minimum of calibers just use no weapon mods or CE Guns only, it's been purposefully designed to fill open niches with the minimum amount of calibers, giving people that option. Those who enjoy bigger variety can download a mega-mod that adds a million guns. CE supports both and that's how it's going to stay.
I do think the variety suggested by this issue is well thought-out. It would probably be bad to implement it in such a way that there's now an additional ammo def which has the "standardized" values, but it would work well if implemented as such:
Let the ammo injector simplify bullets if a certain setting is turned on, such that similar ammo defs (defined by something like an AmmoDef similarTo) will be allowed in weapons instead of the original ammo def. Checking the ammoset would be as follows: if (def == AmmoSetDef.ammo || def == AmmoSetDef.ammo.similarTo).
Fire the bullet which was originally intended for the original def - this way, the ammo resource is only a "carrier" of the bullet, and multiple carriers could allow you to fire the same bullets. The AmmoSetDef is still the thing converting one ammo type to the next, but AmmoInjector could cull all AmmoDef which have a similarTo, ONLY REDUCING THE AMOUNT OF AMMO RESOURCES, but not changing anything else about guns and projectiles.
There would need to be some check to ensure the similarTo is still active. If it isn't active, it should be set to active on grounds of being a "preferred" ammo resource.
Current suggested groupings:
We don't need multiple issues for this
What reason for ancient calibres in Rimworld? There is no USSR vs USA cold war or ancient inches. 9x18, 9x19, ... -> 9x20 .45ACP, 10mm, ... -> 12x25 5.56x45, 5.45x39 -> 6x40 7.62x39 -> 7x45 7.62x51, 7.62x54R, .300wm, -> 8x55 .50BMG, 12.7x108, 14.5x114 -> 12x110 All grenades -> 30x40 12ga - ok Weapons: 9x20 : Light pistol (8 rnds), standard pistol (20 rnds), autopistol (20 rnds, brust), smg (30 rnds, brust) 12x25: pistol (12 rnds), smg (25 rnds, brust), tompson-like heavy smg (50 rnds) 6x40: bolt-action hunting rifle (10 rnds), assault rifle, smg (30 rnds, brust) 7x45: heavy assault rifle (45 rnds, brust), light machine gun (100 rnds, brust) 8x55: bolt-action hunting rifle (10 rnds), semiauto rifle, sniper rifle (10 rnds), machine gun (50 rnds), stationary mg (200 rnds) 12x110: bolt-action antitank gun (1 rnd, cheap, low-tech), heavy sniper rifle (5 rnds), heavy stationary mg (100 rnds) 30x40: light grenade launcher (1 shot, low-tech), automatic gl (6 shot), stationary gl (30 shots) 12ga - all ok - pump action, semiauto, auto shotguns.