RimWorld

RimWorld

More Vanilla Turrets 1.1+
DragonKing 2 Aug, 2022 @ 3:58am
Turret refuel multipliers are reversed.
What is says in the title. I was working on a patch to make this mod use ammo from https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2390975169&searchtext=ammunition

In the description on manned turrets, it says they are cheaper to operate, because they are manned, which is true for power cost, but they are MORE expensive for ammo refuelling.

However, I noticed when writing down the stats from the defs, that e.g. the manned vulcan turret takes 1066 steel to rearm, where the unmanned only costs 213... In the defs, the fuel cap is set to 800, but for the unmanned, the multiplier is 0.75 and for the manned, it is 3.75.

I did some simple math to affirm my suspicion, and true enough, a LOWER value makes fuel LESS efficient, aka. MORE expensive.

A HIGH multiplier, makes you need LESS fuel, aka LESS expensive.

As an example, the gun complex takes 40x steel to refuel ingame. Stats are 150 fuel cap and 3.75 multiplier. 40x3.75=150, so it checks out.

For the manned vulcan cannon, it is 1066x steel to refuel ingame. Stats are 800 fuel cap and 0.75 multiplier. 1066*0.75=799.5, which also checks out, with a slight deviation.

TLDR: the fuel multipliers are reversed for the manned/unmanned turrets, but fine for the gun and rocket emplacements, as far as I can tell.

That all being said, I personally think the manned/unmanned turrets should have the same ammo cost, but maybe just make the manned turrets not consume power at all? The power difference is so small that it doesn't really make much of a difference, since neither turrets will work in a power outage, which should be a primary strength of the manned turrets, imo.