Cataclysm-DDA
Cataclysm-DDA copied to clipboard
ASRG adjustments
Summary
Balance "Adjustments to ASRGs"
Purpose of change
ASRGs were too big and heavy. My original plan for them split them into the bare minimum (1:1 with NASA specs) and a super heavily armored one that made it into the game. However it's just too big and too heavy. My thinking was that it was made super armored by the military to make it resistant to zombies/portals/etc as they were deployed en masse before the cataclysm (plutonium sourced from XEDRA/the nether making them cheap) but the military is swapping over to diesel generators so these are becoming almost entirely a XEDRA thing.
Describe the solution
The ASRG by default is 39x46x76cm, though its actual displacement is not exactly this much due to it not being a perfect square, and it is only 32 kg. I'm assuming they're still being shielded a little so I've redesigned them to have a milcomp bounding box giving them about 150 liters total (down from 200) and 100 kg (68 kg of milcomp plating) and reduced their durability a bit. I also let them work in cars, because I originally thought they were incompatible with cars due to the appliance weirdness but it turns out perpetual reactors work perfectly in cars! So now you can provide 0.1% of your total necessary electric motive power with an ASRG if you want!
Describe alternatives you've considered
Remove the armor plating entirely, go with ONLY the NASA specs and make them rather fragile to car crashes/zombies/etc. However the Ultica/MSX/UDP/etc sprites depict a pretty large box so I don't wanna force tileset authors to make a new sprite for it.
Testing
I tested and confirmed no errors + everything loads up and worked perfectly, spawned an electric car and saw +130w per ASRG I installed in it.
Additional context
Looks like basic build failure isn't actually mine.
May be remove CARGO flag and size field on the vpart definition while you're there, or is there a reason you can place items in it?
May be remove CARGO flag and size field on the vpart definition while you're there, or is there a reason you can place items in it?
Only the appliance has it, I think the reason was that you could stack stuff on top of it since it's not moving around a lot. Not super necessary though, I'll do away with it.
The added vehicle part ap_compact_ASRG_containment
has the same id as the appliance, causing it to overwrite the appliance's values. This is causing some rather strange, erroneous behavior. Just need to bump the vehicle part's ID out to a unique one.