Skip to content

Compatibility Economy

SharpMUSH has no built-in currency balances or penny charges. Games that need an economy can store balances in attributes; code ported from PennMUSH must account for this difference.

A choice.

PennMUSH keeps a penny balance on every player: money() reports it, and building, give, @pay and buy spend it.
SharpMUSH keeps no balance. money() returns #-1 NOT SUPPORTED and tells you why.
Why. SharpMUSH does not track pennies, so there is no balance to report.
Workaround. Keep balances in attributes. Code that only displays money() should test it for #-1 first.

> think money(me)
#-1 NOT SUPPORTED