Re: [Code] Inns

From: Edward Glamkowski (EGlamkowski@MATHEMATICA-MPR.COM)
Date: 09/25/97

This was discussed on the moderated circle list a couple of
weeks ago :)

There are several ideas, mine was to basically copy the
house commands, making them inn commands and setting a
ROOM_PLR_INN flag which gets set on the player's inn.
Then when the player logs back on, check if they are logging
on in a PLR_INN, and if so, instead of just sending the rent
money to the void, send it to the owner's bank account.

Actually, you'd probably only want to send a fraction of it
(say 10%-20%) to their bank, since some of it goes to taxes,
some of it to maintainence, some of it to wages of inn
employees, etc.
Of course, you'd have to add a few new commands, like on to
let the owner set a rent rate.

Edward Glamkowski, Programmer           Mathematica Policy Research                 Princeton, NJ

                    "Wenn du lange in einem Abgrund blickst,
                    blickt der Abgrund auch in dich hinein."   -Nietzsche

>From:  Nate Kragness[SMTP:frolo@HOTMAIL.COM]
>Sent:  Wednesday, September 24, 1997 8:07 PM
>Subject:        [Code] Inns
>I was wondering if anyone could give me any hints about how to do
>I want something where you could buy an Inn, and they make money every
>time someone stayed there, and it would be automatically transfered to
>your bank account, and you could spend money to create a bigger Inn,
>with more rooms and a casino and stuff, but I'm not really sure how to
>do the part where you actually buy it (would you have another room flag,
>or what?) and how could you get the money that someone spends to be
>transfered to your bank account? I have the general idea (GET_BANK,
>ect.) but any suggestions/snippets would be greatly appreciated.
>Sorry to bother you all, thanks in advance for any help I get
>     - Nate
>Get Your Private, Free Email at
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     | |
>     +------------------------------------------------------------+

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST