Shielded Cargo Holds

From Starsector Wiki
Jump to navigation Jump to search
Shielded cargo hold.png

Commonly found on ships that can't always rely on shields to protect their cargo from cosmic radiation. Only a few tweaks are needed to have the shielding confound long-range cargo scans, reducing the probability of contraband being detected.

This is built into the Hound, Cerberus, pirate variant Buffalo and pirate variant Mule

Notes

Shielded Cargo Holds Caught Table.png

The chance of getting caught can be calculated as and a data table example is shown to the right:

(this does not not work any more)

math.random < (illegalCargoCarrying/totalCargoCarrying) * (0.25 + 0.75 * (1 - shieldedCargo/totalCargoCanCarry)) * 2

Shielded Cargo Holds Confiscated Table.png

The amount of contraband confiscated when caught can be calculated as and a data table example is shown to the right:

(0.33 + math.random() * 0.67) * (0.25f + 0.75 * 1 - shieldedCargo/totalCargoCanCarry)

Keep in mind, math.random() is generated on a range from [0,1) and the amount confiscated will always be at least 1.

Icon cross.png
At least two versions out of date. Last verified for version 0.8.1a. Please refer to Version History and update this page.