MoneyTypes

FS17/FS19 scripts and resources for modding.
Post Reply
User avatar
Viper
Site Admin
Posts: 145
Joined: Wed Nov 22, 2017 12:14 am
Contact:

MoneyTypes

Post by Viper » Wed May 29, 2019 6:59 am

For use with g_currentMission:addMoney(), and g_currentMission:addMoneyChange()

Constants:

MoneyType.AI
MoneyType.ANIMAL_UPKEEP
MoneyType.BOUGHT_MATERIALS
MoneyType.FIELD_BUY
MoneyType.FIELD_SELL
MoneyType.HARVEST_INCOME
MoneyType.INCOME_BGA
MoneyType.LAST_ID
MoneyType.LEASING_COSTS
MoneyType.LOAN_INTEREST
MoneyType.LOAN
MoneyType.MISSIONS
MoneyType.NEW_ANIMALS_COST
MoneyType.OTHER
MoneyType.PROPERTY_MAINTENANCE
MoneyType.PROPERTY_INCOME
MoneyType.PURCHASE_FERTILIZER
MoneyType.PURCHASE_SAPLINGS
MoneyType.PURCHASE_FUEL
MoneyType.PURCHASE_SEEDS
MoneyType.SHOP_PROPERTY_SELL
MoneyType.SOLD_ANIMALS
MoneyType.SOLD_MILK
MoneyType.SOLD_WOOD
MoneyType.SOLD_BALES
MoneyType.SHOP_VEHICLE_SELL
MoneyType.SHOP_VEHICLE_LEASE
MoneyType.SHOP_PROPERTY_BUY
MoneyType.SHOP_VEHICLE_BUY
MoneyType.TRANSFER
MoneyType.VEHICLE_REPAIR
MoneyType.VEHICLE_RUNNING_COSTS


Functions:

MoneyType:reset()
MoneyType:getMoneyType()
MoneyType:getMoneyTypeByName()
MoneyType:getMoneyTypeById()


GDN
- Viper

Post Reply