351 lines
7.4 KiB
Markdown
351 lines
7.4 KiB
Markdown
# Monop-IRC Output Catalog
|
|
|
|
Every possible output line from the monop binary, extracted from the C source.
|
|
Grouped by source file / game phase. Variables shown in `{braces}`.
|
|
|
|
## State Checkpoint (monop.c)
|
|
|
|
The most important line — printed at the start of every turn. Ground truth for reconciliation.
|
|
|
|
```
|
|
{name} ({number}) (cash ${money}) on {square_name}
|
|
```
|
|
|
|
## Game Setup (monop.c)
|
|
|
|
```
|
|
How many players?
|
|
Sorry. Number must range from 1 to 9
|
|
Player {n}, say ''me'' please.
|
|
Hey!!! Some of those are STRSTRSTR the same person!!
|
|
"done" is a reserved word. Choose another.
|
|
{name} ({number}) rolls {total}
|
|
{count} people rolled the same thing, so we'll try again
|
|
{name} ({number}) goes first
|
|
```
|
|
|
|
## Rolling / Movement (execute.c)
|
|
|
|
```
|
|
roll is {d1}, {d2}
|
|
That puts you on {square_name}
|
|
That is a safe place
|
|
That would cost ${cost}
|
|
Do you want to buy?
|
|
You own it.
|
|
You pass {square_name} and get $200
|
|
{name} rolled doubles. Goes again
|
|
That's 3 doubles. You go to jail
|
|
```
|
|
|
|
## Rent (rent.c)
|
|
|
|
```
|
|
Owned by {name}
|
|
rent is {amount}
|
|
with {n} houses, rent is {amount}
|
|
with a hotel, rent is {amount}
|
|
rent is 10 * roll ({roll}) = {amount}
|
|
rent is 4 * roll ({roll}) = {amount}
|
|
The thing is mortgaged. {lucky_message}
|
|
```
|
|
|
|
Where `{lucky_message}` is one of:
|
|
```
|
|
You lucky stiff
|
|
You got lucky
|
|
What a lucky person!
|
|
You must have a 4-leaf clover
|
|
My, my! Aren't we lucky!
|
|
Luck smiles upon you
|
|
You got lucky this time
|
|
Lucky person!
|
|
Your karma must certainly be together
|
|
How beautifully Cosmic
|
|
Wow, you must be really with it
|
|
```
|
|
|
|
## Buying Houses (houses.c)
|
|
|
|
```
|
|
You can't build on mortgaged monopolies.
|
|
You can't build any more.
|
|
But you don't have any monopolies!!
|
|
Houses will cost ${price}
|
|
How many houses do you wish to buy for
|
|
{square_name} ({houses}): [during buy, showing current count]
|
|
{square_name} (H): [during buy, has hotel]
|
|
That's too many. The most you can buy is {n}
|
|
That makes the spread too wide. Try again
|
|
You asked for {n} houses for ${cost}
|
|
Is that ok?
|
|
```
|
|
|
|
## Selling Houses (houses.c)
|
|
|
|
```
|
|
You don't have any houses to sell!!
|
|
Houses will get you ${price} apiece
|
|
How many houses do you wish to sell from
|
|
{square_name} (0): [during sell, showing current count]
|
|
{square_name} ({houses}): [during sell]
|
|
{square_name} (H): [during sell, has hotel]
|
|
That makes the spread too wide. Try again
|
|
You asked to sell {n} houses for ${price}
|
|
Is that ok?
|
|
```
|
|
|
|
## Listing Houses (houses.c)
|
|
|
|
```
|
|
{square_name} (H) [has hotel]
|
|
{square_name} ({houses}) [has houses]
|
|
```
|
|
|
|
## Mortgage (morg.c)
|
|
|
|
```
|
|
You can't mortgage property with houses on it.
|
|
You don't have any un-mortgaged property.
|
|
Your only mortageable property is {name}
|
|
Do you want to mortgage it?
|
|
Which property do you want to mortgage?
|
|
That got you ${price}
|
|
```
|
|
|
|
## Unmortgage (morg.c)
|
|
|
|
```
|
|
You don't have any mortgaged property.
|
|
Your only mortaged property is {name}
|
|
Do you want to unmortgage it?
|
|
Which property do you want to unmortgage?
|
|
That cost you ${price}
|
|
```
|
|
|
|
## Forced Mortgage / Debt (misc.c)
|
|
|
|
```
|
|
That leaves you ${amount} in debt
|
|
that leaves you broke
|
|
-- You are now Solvent ---
|
|
How are you going to fix it up?
|
|
```
|
|
|
|
## Jail (jail.c)
|
|
|
|
```
|
|
But you're not IN Jail
|
|
But you don't HAVE a get out of jail free card
|
|
That cost you $50
|
|
Sorry, that doesn't get you out
|
|
It's your third turn and you didn't roll doubles. You have to pay $50
|
|
Double roll gets you out.
|
|
(This is your 1st turn in JAIL)
|
|
(This is your 2nd turn in JAIL)
|
|
(This is your 3rd (and final) turn in JAIL)
|
|
```
|
|
|
|
## Taxes (spec.c)
|
|
|
|
```
|
|
You were worth ${worth}
|
|
You were worth ${worth}. Good try, but not quite.
|
|
You were worth ${worth}, so you pay ${worth}
|
|
You were worth ${worth}, so you pay ${worth} OUCH!!!!.
|
|
You lose $75
|
|
```
|
|
|
|
Plus `lucky()` messages after:
|
|
```
|
|
Good guess. {lucky_message}
|
|
It makes no difference! {lucky_message}
|
|
```
|
|
|
|
## Cards (cards.c, cards.inp)
|
|
|
|
Card text is printed verbatim from the card deck. The full list:
|
|
|
|
### Community Chest
|
|
```
|
|
>> GET OUT OF JAIL FREE <<
|
|
Keep this card until needed or sold
|
|
|
|
Receive for Services $25.
|
|
|
|
Bank Error in Your Favor.
|
|
Collect $200.
|
|
|
|
Income Tax Refund.
|
|
Collect $20.
|
|
|
|
Pay Hospital $100
|
|
|
|
Life Insurance Matures.
|
|
Collect $100
|
|
|
|
From sale of Stock You get $45.
|
|
|
|
You are Assessed for street repairs.
|
|
$40 per House
|
|
$115 per Hotel
|
|
|
|
X-mas Fund Matures.
|
|
Collect $100.
|
|
|
|
You have won Second Prize in a Beauty Contest
|
|
Collect $11
|
|
|
|
Advance to GO
|
|
(Collect $200)
|
|
|
|
You inherit $100
|
|
|
|
Pay School Tax of $150.
|
|
|
|
>> GO TO JAIL <<
|
|
Go Directly to Jail. Do not pass GO Do not collect $200.
|
|
|
|
>> GRAND OPERA OPENING <<
|
|
Collect $50 from each player for opening night seats.
|
|
|
|
Doctor's Fee: Pay $50.
|
|
```
|
|
|
|
After street repairs card:
|
|
```
|
|
You had {n} Houses and {n} Hotels, so that cost you ${amount}
|
|
```
|
|
|
|
### Chance
|
|
```
|
|
>> GET OUT OF JAIL FREE <<
|
|
Keep this card until needed or sold
|
|
|
|
Advance to the nearest Railroad, and pay owner
|
|
Twice the rental to which he is otherwise entitled.
|
|
If Railroad is unowned you may buy it from the bank
|
|
|
|
Advance to the nearest Utility.
|
|
If unowned, you may buy it from the bank.
|
|
If owned, throw dice and pay oner a total of ten times
|
|
the amount thrown.
|
|
|
|
Go Back 3 Spaces
|
|
|
|
>> GO DIRECTLY TO JAIL <<
|
|
Do not pass GO, Do not Collect $200.
|
|
|
|
Take a Ride on the Reading.
|
|
If you pass GO, collect $200.
|
|
|
|
Take a Walk on the Board Walk.
|
|
(Advance To Board Walk)
|
|
|
|
Advance to Illinois Ave.
|
|
|
|
Advance to Go
|
|
|
|
Advance to St. Charles Place.
|
|
If you pass GO, collect $200.
|
|
|
|
Make general repairs on all of your Property.
|
|
For Each House pay $25.
|
|
For Each Hotel pay $100.
|
|
|
|
You have been elected Chairman of the Board.
|
|
Pay each player $50.
|
|
|
|
Pay Poor Tax of $15
|
|
|
|
Bank pays you Dividend of $50.
|
|
|
|
Your Building and Loan Matures.
|
|
Collect $150.
|
|
```
|
|
|
|
Card text is followed by a separator:
|
|
```
|
|
------------------------------
|
|
{card text lines}
|
|
------------------------------
|
|
```
|
|
|
|
## Trading (trade.c)
|
|
|
|
```
|
|
There ain't no-one around to trade WITH!!
|
|
You can't trade with yourself!
|
|
Which player do you wish to trade with?
|
|
Which property do you wish to trade?
|
|
You've already allocated that.
|
|
You have ${money}.
|
|
You have {n} get-out-of-jail-free cards. How many are you trading?
|
|
You don't have that many. Try again.
|
|
player {name} ({number}):
|
|
Player {name} ({number}) gives:
|
|
${cash}
|
|
{n} get-out-of-jail-free card(s)
|
|
-- Nothing --
|
|
{name}, is the trade ok?
|
|
Trade is done!
|
|
```
|
|
|
|
## Resign (trade.c)
|
|
|
|
```
|
|
You would resign to the bank
|
|
You would resign to {name}
|
|
You can't resign to yourself!!
|
|
Who do you wish to resign to?
|
|
Do you really want to resign?
|
|
resigning to player
|
|
resigning to bank
|
|
Then NOBODY wins (not even YOU!)
|
|
Then {name} WINS!!!!!
|
|
That's a grand worth of ${amount}.
|
|
```
|
|
|
|
## Auction (prop.c)
|
|
|
|
```
|
|
So it goes up for auction. Type your bid after your name
|
|
{name}: [bid prompt]
|
|
You must bid higher than {amount} to stay in
|
|
(bid of 0 drops you out)
|
|
It goes to {name} ({number}) for ${amount}
|
|
Nobody seems to want it, so we'll leave it for later.
|
|
```
|
|
|
|
## Printing / Info (print.c)
|
|
|
|
```
|
|
{name}'s ({number}) holdings (Total worth: ${worth}):
|
|
${money}
|
|
${money}, {n} get-out-of-jail-free card
|
|
```
|
|
|
|
Plus tabular output for `own` / `holdings` / `print` commands (board display).
|
|
|
|
## Input Handling (getinp.c, misc.c)
|
|
|
|
```
|
|
Illegal action: bad player ({name}'s turn, not {name})
|
|
Valid inputs are: {list of commands}
|
|
Illegal response: "{input}". Use '?' to get list of valid answers
|
|
I can't understand that
|
|
-- Command:
|
|
```
|
|
|
|
## Game End (misc.c)
|
|
|
|
```
|
|
The party is over.
|
|
```
|
|
|
|
## Save/Restore (execute.c)
|
|
|
|
```
|
|
Which file do you wish to save it in?
|
|
Which file do you wish to restore from?
|
|
```
|