Elin:Code Analysis/Housing: Difference between revisions

Line 282: Line 282:
IF the Traveler's Inn policy is active, then Num4 = Num4 * ( 100 + Num3 ) / 100  
IF the Traveler's Inn policy is active, then Num4 = Num4 * ( 100 + Num3 ) / 100  


num4 = the min of ( num4 or ( sqrt (This.Worth<sup>^^</sup>) / 15) + 5)  
Num4 = the min of ( num4 or ( sqrt (This.Worth<sup>^^</sup>) / 15) + 5)  


The income from your Inn in total is now num4 / 2 rounded down * 2
The income is equal to: Num4 / 2 + a random number between (1 - Num4 / 2) + Num4 / 2 + a random number between (1 - Num4 / 2)


^<sup>This number is a value currently hidden without the use of mods to detect it.</sup>
^<sup>This number is a value currently hidden without the use of mods to detect it.</sup>
152

edits