Just Adventure News : Press Release: Divines of the East Class Spotlight: Sword Saint Press Release: Green Man Gaming Signs Up Award-Winning Telltale Games Gold: 'Reus' released Press Release: The Swapper Steam Release Date and New Trailer Press Release: Lost Spirits of Kael Game: Magicka - Wizard Wars First-Ever Screenshots Revealed Game: Dutch designers break new ground with audio game Remembering Press Release: Gamebook Fans Unite! Beta: Start of the Second WildStar Closed Beta Game: Jack Haunt - Old Haunting Grounds
Home - Forum Home
Welcome Guest, please Login or Register!
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register or login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Topic: may i have a little help please

    Page 1

All Forums : [Adventure Games Forum] : Interactive Fiction > may i have a little help please
9 FEB 2011 at 1:33am

tokawado

Intergalactic Janitor
Intergalactic Janitor



Posts : 1
Joined: 9 FEB 2011

Status : Online
i am pretty new to inform 7 and i was wondering if i may ask a few questions

1. is it possible to make a banking system thatyou can deposit and withdraw money from. :-?

2. also i was wondering if it was possible to make a selling system that the price to sell is different from person to person.

3. and the same thing with the buying system i have it to where i can buy items i just need to know how to make it change. i thing it has something to do with [random number from 0.00-999,999,999.99] right?

if you need me to paste my buying text code thing i can do that



ps. "sorry i ask to many question." how can i make it towhere you have different body parts? and different items that you can where on them, i have clothes that you can wear but have to take off in order to put a different peice on, but i mean like rings and things like that.

thank you in advance for any help.


edit:
this is my code just incase you need it

Price is a kind of value. $10.99 specifies a price. A thing has a price. The price of a thing is usually $0.00. After examining something for sale, say "the price is [the price of the noun]."

Definition: a thing is free if the price of it is $0.00.
Definition: a thing is for sale if it is not free.


Instead of taking something for sale:
   say "You'll have to pay for that."


Before buying something for sale when the money is not in the wallet:
   say "You're broke." instead.


Before buying something for sale when the money is free:
   say "You're broke." instead.


Before buying something for sale when the price of the money is less than the price of the noun:
   say "Your funds do not run to the price of [the noun]." instead.


Instead of buying something:
   decrease the price of the money by the price of the noun;
   say "You fork over [the price of the noun] for [the noun], leaving yourself with [the price of the money].";
   if the money is free, remove the money from play;
   now the price of the noun is $0.00;
   now the player is carrying the noun.

Profile Search


10 JUN 2011 at 6:44pm

mike111

Intergalactic Janitor
Intergalactic Janitor



Posts : 6
Joined: 9 JUN 2011

Status : Online
I don't understand. Does this code work?  :-/

Profile Search
All Forums : [Adventure Games Forum] : Interactive Fiction > may i have a little help please

    Page 1

Jump to:
0 Members Subscribed To This Topic