1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2024-12-16 10:21:15 +01:00

Automatic loan repayment.

This commit is contained in:
gyboth 2008-11-08 17:04:51 +00:00
parent e8c1260cf6
commit 126a739409
3 changed files with 8 additions and 2 deletions

View File

@ -1306,6 +1306,12 @@ void
on_automatic_loan_repayment_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
if(sett_int("int_opt_disable_finances"))
{
game_gui_print_message(_("Finances are disabled in this country definition."));
return;
}
if(current_user.debt == 0)
{
game_gui_print_message(_("You are not in debt."));

View File

@ -1497,7 +1497,7 @@ treeview_create_finances(const User* user)
misc_print_grouped_int(user->alr_weekly_installment, buf);
sprintf(buf2, "<span foreground='%s'>%s</span>",
const_app("string_treeview_finances_expenses_fg"), buf);
sprintf(buf, _("(from week %d)"), user->alr_start_week);
sprintf(buf, _("(starting week %d)"), user->alr_start_week);
gtk_list_store_append(ls, &iter);
gtk_list_store_set(ls, &iter, 0, buf, 1, "", 2, buf2, -1);
}

View File

@ -341,7 +341,7 @@ int_finance_payback_weeks 15
# lower and upper limit for the current interest
# and the change step between weeks
float_finance_interest_lower 500
float_finance_interest_upper 6000
float_finance_interest_upper 5000
float_finance_interest_step 250
# live game scale configuration