Poison queries

For builders to discuss and ask building questions.
Post Reply
Amalia
Sword Grand Master
Sword Grand Master
Posts: 331
Joined: Wed Feb 01, 2006 6:51 pm
Location: Ardeep Forest
Contact:

Poison queries

Post by Amalia » Fri Jun 29, 2007 10:46 pm

Areet. I'm working on an area that I plan to make relatively rife with poisons, but I've made them a variety of kinds, the effects of which are described by certain spells rather than just by the spell 'poison' or the effect of poisoning powder. I've got a couple questions....

First, the poisons are ICly liquid. Is there a prog I can put on them so that when they're emptied in/on to a food or beverage, their effects are transfered to that item, maybe with a flag that appears on a successful wisdom check indicating that there's something off about the item, and a 'poisoned' flag for detect poison?

Second, is there a way to make the spell effects of the poison such that they're affected by anti-poison (like remove poison, or protection from poison) rather than anti-magic measures (like dispel magic or magic resistance)? I was hoping to make the poisons ICly mundane, and simply exotic, as they're from an area PCs have a pretty good chance of dying in. I suspect doing this, if possible, might be more complicated than it's worth, but I figure there's no harm in asking :wink:

And, on a similar note, is there any way to change the affect list from the actual spell effects to some kind of poison effect (presumably differentiated from "normal" poison)?

Finally, is there any way to make it so the poisons can be spread on a PC's weapon just like poisoning powder, but with a more powerful corroding effect due to the higher toxicity of the poisons?
Dear Enemy: May the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment.
Dalvyn
Sword Grand Master
Sword Grand Master
Posts: 4708
Joined: Tue Jul 15, 2003 9:26 pm
Location: House of Wonder, Waterdeep

Post by Dalvyn » Fri Jun 29, 2007 11:17 pm

You might want to check TYPE_HERB objects. I think that they are associated with hard code that lets people poison food (with the "spike" command I think). As far as I know though, the effect of those things are immediately applied (no poisons with some delayed effects as in D&D), and I am not sure whether or not "cure poison" works for this.

As for objects similar to poisoning powder, what you can do is actually load some poisoning powder and change its name to make it look like something else. There are several ways to make poisoning powder in-game and they all use the same object (I forgot the vnum though) and simply rename it.

That's obviously far from perfect, because that means that all poisons have the same effect, but that's how things currently stand as far as I know.

If you want poisons that can be applied to weapon, I think that you have the go to the renamed-poisoning-powder way. Objects of type HERB cannot - as far as I know - be applied to weapons.

Perhaps a code tester can offer more help.
Image
Post Reply