I seem to be completely stumped by this, even if the answer is somehow completely obvious. I have certain items of equipment that I want to hide from the purchase list if a specific source is taken. In this case I'm working specifically with Evernight where there is a second phase to the game that changes the cost of equipment so when that second phased is entered the user would just select and add the "Evernight: Part 2" source in Character Config to show all of the new prices, but at the same time I want to just hide the older versions of that same equipment without precluding it (because I want the old versions to still be valid for characters that still have them.) At any rate here is what I've be using on the Equipment I want to hide, and I've tried various timings (the earliest I can use is Initialize/2000).
I've also trued just perform assign[Hide.Equipment] but in either case the tag doesn't seem to get assigned and I can still see the old equipment on the list of purchasable items (along with the new gear) once I add the new Source in. Anyone have some ideas on what I'm doing wrong here?
Code:
if (hero.tagis[source.EN2] <> 0) then
perform this.assign[Hide.Equipment]
endif
I've also trued just perform assign[Hide.Equipment] but in either case the tag doesn't seem to get assigned and I can still see the old equipment on the list of purchasable items (along with the new gear) once I add the new Source in. Anyone have some ideas on what I'm doing wrong here?