RimWorld

RimWorld

[JDS] Simple Resource Crate
JOE 3 Mar, 2021 @ 10:43am
Would you be okay with me creating a patch?
Jango, would you be okay if I made a patch for this mod?

As many people stated in the comments of this mod, the mod itself is fantastic, and I love using it for transportation between my space station (SOS2) and my main colony... but every crate being just 1 kg is VERY easy to exploit in the game, not to mention the wealth issue if a trader is ever downed on your map.

I do see that it could be problematic for steel and uranium creates since the overall weight of the entire create would likely exceed a colonist's ability to carry it, so it probably has to be scaled down a bit. If you're okay with a patch, I'll try working on one sometime this week, seems pretty straight forward and just requires the mass line in each of the ThingDef statbases in the ThingsDefs_Resources.xml

<statBases>
<MarketValue>1300</MarketValue>
<Mass>1.0</Mass>
</statBases>

- Wood: [base weight: 0.4 kg] x 250 = 100 kg
- Steel: [base weight: 0.5 kg] x 250 = 125 kg
- Gold: [base weight: 0.008 kg] x 250 = 2 kg
- Jade: [base weight: 0.5 kg] x 250 = 125 kg
- Plasteel: [base weight: 0.25 kg] x 250 = 62.5 kg
- Uranium: [base weight: 1 kg] x 250 = 250 kg
- Cloth: [base weight: 0.03 kg] x 250 = 7.5 kg
- Synthread: [base weight: 0.03 kg] x 250 = 7.5 kg
- Devilstrand: [base weight: 0.03 kg] x 250 = 7.5 kg
- Hyperweave: [base weight: 0.04 kg] x 250 = 10 kg
- Plain Leather: [base weight: 0.03 kg] x 250 = 7.5 kg
- Human Leather: [base weight: 0.03 kg] x 250 = 7.5 kg
- Light Leather: [base weight: 0.03 kg] x 250 = 7.5 kg
- Heavy Fur: [base weight: 0.03 kg] x 250 = 7.5 kg - Packing Table bill name is incorrect for unpacking Heavy Fur - labeled as "Heavy Leather," but making resource crate is correctly labeled
- Components: [base weight: 0.6 kg] x 250 = 150 kg
- Advanced Components: [base weight: 0.6 kg] x 250 = 150 kg
- Chemfuel: [base weight: 0.05 kg] x 250 = 12.5 kg
- Medicine Herbal: [base weight: 0.35 kg] x 250 = 87.5 kg
- Medicine: [base weight: 0.5 kg] x 250 = 125 kg
- Glitterworld Medicine: [base weight: 0.5 kg] x 250 = 125 kg
- Silver: [base weight: 0.008 kg] x 250 = 2 kg

I'll probably apply some overall percentage weight discount compared to just a whole stack of the base resource, so there's some advantage of this and colonists are able to carry them.
Last edited by JOE; 3 Mar, 2021 @ 10:46am