Is there a way to...

Is there a way to check for a number of specific outfits carried by a player? For example, when a player has 5 of x outfit y outfit can become avalible? I have an outfit that's a plot of land on a particular planet, and I was wondering if it was possible to, after a player has so many plots of land, for him to be able to buy much larger sections of land (at the same time consolidating the land that he already has) and so forth up the chart, eventually buying his way into the 'created nobility'? Such as becomming a baron or a duke or whatnot, thus opening the doors to other potential missions and etc.

If anyone has any suggestions, please let me know. Thanks!

------------------
Drinking causes hangovers.
I will uphold Ma'at.
Shemsu Hor.

Here'a a rather complicated way but it's the best I can think of right now.

1. Test for one of OutfitA. If true then set b1 and remove 1 of OutfitA.
2. Repeat step 1 with b2.
3. Repeat step 1 with b3.
4. Repeat step 1 with b4.
5. Test for one of OutfitA. If true then set b5.

6. Test for b1. If true then clear b1 and grant 1 of OutfitA.
7. Repeat step 6 with b2.
8. Repeat step 6 with b3.
9. Repeat step 6 with b4.

10. OutfitB should test for b5 before becoming available.

------------------
"The Macintosh may only have 10% of the market, but it is clearly the top 10%." — Douglas Adams

(This message has been edited by Guy (edited 04-22-2004).)

Actually, why not have five of the same outfit avalible? All look identical, but each can be bought but once and only if you have the one prior to it? I guess things would look bad when your equipment screen says "...an ion cannon, a plot of land, a plot of land, a plot of land, a plot of land, a plot of land, a 150-mm raligun..."

Could a silent mission launch whenever you enter an outfitter that would evaluate this? Number of outfits test as described above, then make another avalible? Though wouldn't this method get rid of the outfits in question whenever it was used even if there were not enough to allow outfit x to be purchased? Though I guess all you would have to do is take out the deletion of outfit part and just test for them. But would you have to test for seperate outfits or for each individual of the same kind?

------------------
Drinking causes hangovers.
I will uphold Ma'at.
Shemsu Hor.

(url="http://"http://www.ambrosiasw.com/webboard/Forum9/HTML/005030.html")Sigh...(/url)

------------------
The programmer's code of entomology: there's always another bug.
Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
(url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url)
(url="http://"http://www.evula.org/infernostudios/search.html")Add-ons Search Engine(/url)

Quote

Originally posted by rmx256:
**Could a silent mission launch whenever you enter an outfitter that would evaluate this? Number of outfits test as described above, then make another avalible?
**

Actually, it'd require one mission for each step. Each mission would launch as soon as the previous one finished, which might mean having to take off and land again between them (or at least leaving and returning to the outfitters). It probably wasn't such a good idea really. Read through the topic above.

------------------
"The Macintosh may only have 10% of the market, but it is clearly the top 10%." — Douglas Adams

Thanks for the refer...

------------------
Drinking causes hangovers.
I will uphold Ma'at.
Shemsu Hor.