LifePlay-Revival/Docs/Modding/Command_Functions/calculateRent.txt

13 lines
403 B
Text
Raw Normal View History

2019-01-11 07:24:05 +00:00
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?"