I forget who it was, but someone asked me what a long question would be. Here's one:
I have discovered a way to make two outfits completely disappear without explicit use of Dxxx!
Heres the situation. I have outfit X and outfit Y, and their pertinent info is this:
Outfit X
OnPurchase:
On Sell:
Avail:
Outfit Y
OnPurchase: D(Outfit X)
OnSell: G(Outfit X)
Avail: O(Outfit X)
What happens, is that, at first, I CAN buy X, and not Y- correct behavior. I buy X, and then I can buy Y- correct behavior. I buy Y, and both X and Y completely and utterly disappear! I get charged for Y as well.
Just in case it helps, X does basically nothing by itself (negative accel and turn), and Y is a weapon.
My theory is that outfit X gets deleted first, and then the engine re-checks the availability of Y, sees that it is wrong, a says, no, you can't have Y, and I don't get it. This does not explain this: I can buy as many X as I want, and it behaves the same- each Y I buy takes away one X, and I get no Y's. Obviously, in this case, removing one X would not make O(Outfit X) equate to false.
What is REALLY strange about the whole thing is that I have used an identical setup ALL OVER THE DURN PLUG, and it works perfect. The only difference is that you don't buy X in all the other cases, it comes with the ship, and X happens to be invisible.
Anybody else run into this problem? Any ideas on how to fix it?
------------------
~Charlie
Sephil Saga Homepage: (url="http://"http://www.cwssoftware.com")www.cwssoftware.com(/url)