Any suggestions for blocking inventory items...

I'm currently developing a plug-in for POG(a second one actually... primary one is on hold til the update is released, which apparantly is soon. Woo hoo!) and I've hit an obstacle on paper that while I haven't yet attempted to overcome with CGE, I can't off the top of my head think how to do it. So any suggestions would be welcome. šŸ™‚

What I wish to do is similar to the ranger shapeshifting skill, in that I want to switch the character's graphic. However, this shift I intend to be permaneant. I would like it if the player can keep his class and be able to still utilize his skills(rangers make potions, conjurors cast spells), but I don't want the ranger character to be able to make a shapeshifting potion(or quaff a potion already in their inventory) to shift out of the
body I intend to put them in.

So my question is, is there a way to make it so that the ranger character can not use his skill to make shapeshifting potions, or better yet, make it so that existing potions will have no effect? Either by changing the item itself(which as I understand it, will be impossible), or by making an event that if they quaff the shape shifting potion(of which there are only 3 to my knowledge) a box just pops up and says, "You quaff the potion and begin to tingle, when all of a sudden the plug-in designer folds through time, slips behind you, and initiates the heimlich manuever until you cough up the potion." Well, ok, you get the idea.. šŸ™‚

The alternative I suppose would be to change the players class so that they couldn't create any more potions(which would also mean that conjurors couldn't cast spells either). But this wouldn't solve the problem if they still had potions in their inventory...

Anyhow I hope theire is a solution to this. If anyone knows off the top of their head or thinks they know of a workaround, I'd love to hear it.

Thanks

------------------
Calvin: People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world.

Hobbes: Isn't your pants' zipper supposed to be in the front?

Here's an off-topic question: what sort of plug-in are you making?

------------------
The greatest of harm can result from the best of intentions Ā— Wizard's Second Rule, Stone of Tears.
Ā— Cafall

Quote

Originally posted by Cafall:
**Here's an off-topic question: what sort of plug-in are you making?

**

One for PoG. šŸ™‚

It is a mission based plug-in where depending on the choices you make you might get permanently changed into another form. It would be nice if the player could still utilize his skills, but I haven't ruled out a class change which would restrict the using of skills and would solve my problems.

------------------
Calvin: People think it must be fun to be a super genius, but they don't realize how hard it is to put up with all the idiots in the world.

Hobbes: Isn't your pants' zipper supposed to be in the front?

I don't know if the plug-in system allows this, but what would happen if you created items of your own which share the same name as the shapeshifting potions? If you're lucky, they might override/replace the originals...? You could then use a conditional of some sort to enable or disable shapeshifting based on a global variable.

------------------
"I hate quotations." - Ralph Waldo Emerson