Searched refs:fixedExpense (Results 1 – 6 of 6) sorted by relevance
89 float fixedExpense = fixed_expense_365days(); in ai_should_spend() local90 float stdCashLevel = MAX(fixedExpense,2000) * (150+pref_cash_reserve) / 100; in ai_should_spend()97 if( 400 * (-trueProfit) / fixedExpense > importanceRating ) in ai_should_spend()
834 float fixedExpense = fixed_expense_365days(); in think_demand_tribute_aid() local865 if( cash < fixedExpense && fixedExpense != 0 ) in think_demand_tribute_aid()866 requestRating -= int( (float) requestRating * cash / fixedExpense); in think_demand_tribute_aid()871 if( cash >= fixedExpense ) in think_demand_tribute_aid()874 …if( cash > fixedExpense * (50+pref_cash_reserve) / 300 && // if the nation is runing short of cas… in think_demand_tribute_aid()885 requestRating = 20 + 50 * (int)(cash / fixedExpense); in think_demand_tribute_aid()
451 float fixedExpense = fixed_expense_365days(); in consider_sell_food() local453 if( cash < fixedExpense ) in consider_sell_food()454 offeredAmount += (int) (20 * (fixedExpense-cash) / fixedExpense); in consider_sell_food()
305 float fixedExpense = fixed_expense_365days(); in ai_supported_inn_count() local
922 void NationBase::add_expense(int expenseType, float expenseAmt, int fixedExpense) in add_expense() argument933 if( fixedExpense ) in add_expense()
403 void add_expense(int expenseType, float expenseAmt, int fixedExpense=0);