If you should find that you have a problem debtor who refuses
to pay up on your kind loan you can always seize one or more
of his/her sectors.
-Perhaps the mere threat of a collection on
-someone's capital may do the trick!
.s1
To settle up accounts on overdue loan #9 you would type:
.EX collect 9
char *p;
struct lonstr loan;
struct sctstr sect;
+ struct natstr *lonee_np;
coord x, y;
double owed;
double pay;
return RET_FAIL;
}
+ lonee_np = getnatp(loan.l_lonee);
pr("You are owed $%.2f on that loan.\n", owed);
p = getstarg(player->argp[2],
"What sector do you wish to confiscate? ", buf);
owed);
return RET_FAIL;
}
+ if (!influx(lonee_np)
+ && sect.sct_x == lonee_np->nat_xcap
+ && sect.sct_y == lonee_np->nat_ycap) {
+ pr("%s's capital cannot be confiscated.\n", cname(loan.l_lonee));
+ return RET_FAIL;
+ }
pr("That sector (and its contents) is valued at $%.2f\n", pay);
sect.sct_item[I_MILIT] = 1; /* FIXME now where did this guy come from? */
* unwanted things, like generate che.
*/
sect.sct_own = player->cnum;
-
memset(sect.sct_dist, 0, sizeof(sect.sct_dist));
memset(sect.sct_del, 0, sizeof(sect.sct_del));
sect.sct_off = 1;
sect.sct_dist_x = sect.sct_x;
sect.sct_dist_y = sect.sct_y;
-
- if (sect.sct_type == SCT_CAPIT || sect.sct_type == SCT_MOUNT)
- caploss(§, loan.l_lonee, "that was %s's capital!\n");
putsect(§);
nreport(player->cnum, N_SEIZE_SECT, loan.l_lonee, 1);
owed = loan_owed(&loan, time(&now));