PythonMOO

2. Cash system

Author: Moth (#2)
Subject: Cash system
Posted: Friday, December 22 2006

The cash system has recently been redesigned by Kamahl, and I have added a quota extension.

Every week (on a Sunday at present), paycheques can be collected at Rackwick Bank (#163). How much money you receive depends on how much of your quota is in use (although please remember quality is better than quantity).

There are a selection of things you can do with your cash. You can save it in your bank account, and every week interest will be added to this. Furthermore, you can deposit or withdraw at any time. You can buy quota with your cash, and you can sell quota for cash (but you may not get as much as you paid for it!). It is also worth noting that as you gain more quota, the cost will also rise. This gives you more market power when competing with other members, but means that you won't get a huge amount more quota per week as you gain more.

Any programmer can also make use of the cash system, and earn themselves some money (but word of mouth may deter people from using it if it is not value for money). '$cash:charge(<amount>, "<reason>")' allows you to charge the player when they interact with your object, but the user will need to accept (this is done automatically by the cash system), and the money will be transfered to the programmer (i.e. you). Your code may also give money from the programmer's (i.e. your) funds (for example as a prize) using '$cash:donate(<amount>, "<reason>")' within your code. The player will not need to accept this, so you should put any checks in place you wish to have manually. Players can also give each other money manually by typing '@donate <amount> to <player>'.

Because of this tool, unless you are receiving a large transfer of items under an agreement with a Wizard, all increases in quota should be made through this system. If you are low on quota, you may need to try and shorten code, and practice other space saving techniques.