I’m using Frozen Assets for a system of money. It’s sweet, but I want the player to be able to get more money. Maybe he hits an ATM or something. I’ve been experimenting with this, but can’t seem to get Inform to add money to the wallet. Plus, there is the whole “same item in two places” issue. Any ideas?
From the title of your post, I was certain that this was spam! Anyway, here’s how it’s done:
[code]The wad of notes is in the dessert parlor.
After taking the wad of notes:
say “You grab a fistful of dollars, and shove them hastily into your wallet.”;
remove the wad of notes from play;
if the money is off-stage, now the money is carried by the player;
now the price of the wad of notes is $25.00;
increase the price of the money by the price of the wad of notes.[/code]
The extension itself points the solution when it says you can decrease things by the price of other things. This implies that you can increase things by the price of things.
I never considered the spam angle Thanks for the help.