• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

Quality of salvaged batteries?

seven

Community Moderator
When you wrench a car you have a chance of getting a battery. The xml is

<drop event="Harvest" name="carBattery" count="0,1" prob=".4" tag="salvageHarvest"/>

Is there a way to specify the quality level, or is it just a hard-coded random choice of quality?


Also, I've never understood the count="0,1" prob=".4" part. I understand that to mean a 40% change of getting 0 to 1 batteries. Why not 20% for 1 battery?

It is like the following for some vehicles, which makes a lot more sense to me.

<drop event="Harvest" name="carBattery" count="1" prob="0.25" tag="salvageHarvest"/>
 
Back
Top