LifePlay-Revival/Docs/Modding/Command_Functions/calculateRent.txt
2019-01-11 14:24:05 +07:00

13 lines
No EOL
403 B
Text

calculateRent()
USE:
Calculate the rent for the current building.
TYPE: Command, Ref
RETURNS: FloatVar
THEME: Business
COMPARE: calculateRevenue, calculateWages, calculateExpenses
EXAMPLE:
Rent = calculateRent()
RentConverted = Rent.convertToLocalCurrency(true)
"The rent of this property for commercial use is <RentConverted> per month, and the current tenant is not renewing. Lease it?"