Question:
Smuggling success chance doesn't look affected by amount,
In code:
chanceToBeCaught = ((Math.sin((((this.GD.Towns[i].illegalActions[j].amount / this.GD.Towns[i].illegalActions[j].smugglingSkill) * Math.PI) - (Math.PI / 2))) / 100) + 0.01);
Sin is periodic so even if the first ratio was large or small the output is like this
So it's just a way of randomization?