TREATIES has issues: * Treaties can cover attack, assault, paradrop, board, lboard, fire, build (s|p|l|n) and enlist, but not bomb, launch, torpedo and enlistment centers. * Usability is very poor. While a treaty is in effect, every player action that violates a treaty condition triggers a prompt like this: This action is in contravention of treaty #0 (with Curmudgeon) Do you wish to go ahead anyway? [yn] If you decline, the action is not executed. If you accept, it is. In both cases, your decision is reported in the news. You cannot get rid of these prompts until the treaty expires. * Virtually nobody uses them. * Virtually unused code is buggy code. There is at least one race condition: multifire() reads the firing sector, ship or land unit before the treaty prompt, and writes it back after, triggering a generation oops. Any updates made by other threads while trechk() waits for input are wiped out, triggering a seqno mismatch oops. * The treaty prompts could confuse smart clients that aren't prepared for them. WinACE isn't, but is reported to work anyway at least common usage. Ron Koenderink (the WinACE maintainer) suspects there could be a few situations where it will fail. This feature is not earning its keep. Remove it. Drop command treaty, consider treaty, offer treaty, xdump treaty, reject treaties. Output of accept changed, obviously. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
30 lines
1,002 B
Perl
30 lines
1,002 B
Perl
.TH Command OFFER
|
|
.NA offer "Offer a loan to another country"
|
|
.LV Expert
|
|
.SY "offer loan <CNUM/CNAME> <AMOUNT> <DURATION> <RATE>"
|
|
The offer command is used to offer a loan
|
|
to another country.
|
|
.s1
|
|
<CNUM/CNAME> is the number or name of the country to whom
|
|
you are offering the loan,
|
|
.s1
|
|
<AMOUNT> is the size of the loan.
|
|
(NOTE: do not use a dollar sign),
|
|
.s1
|
|
<DURATION> is the length of the loan in days,
|
|
.s1
|
|
<RATE> is the interest rate, (per <DURATION>), on the loan.
|
|
.s1
|
|
The program prompts with various questions concerning any
|
|
terms of the loan not provided on the command line
|
|
and sends a telegram to <CNUM/CNAME> announcing the loan offer.
|
|
.s1
|
|
If the other country accepts the loan,
|
|
(using the \*Qconsider\*U command),
|
|
the money will be transferred from your account
|
|
and you will be notified that the loan duration has started.
|
|
.s1
|
|
Note that the dependence of rate on the duration makes a 30 day loan
|
|
at 10% a worse deal than a 60 day loan at 15%.
|
|
.s1
|
|
.SA "collect, consider, ledger, repay, Loans"
|