A dee-type question—please answer this time!

I've posted several Dee-type questions around here over the past few months (almost none of which have been answered). The release of Trinity has helped a lot, but there is one thing I'd like to know:

When making PoG plug-ins with new enemies in them, a problem arises, which is that the developer doesn't know how to make the "right" amount of gold fall from the dead enemy. A while ago, Dee told me that the gold fell in different amounts depending on the value of a global variable. From the Trinity source, I have gathered that this is done in a separate event which is in the original PoG. My question is this: Could Dee, if he sees this, possibly tell us the name of the event which distributes gold so that we may call it when we need to? Or, if you don't feel comfortable with that, could you tell us the name of the global variable which is used?

(Edit: Fixed the UBB. Bad UBB!)

------------------
(url="http://"http://homepage.mac.com/cafall/projects/tfm.html")The Four Mages(/url), an unfinished quest-oriented plug-in for Pillars of Garendall.
If passion rules reason, how can you allow only reason to rule you?
— Cafall

(This message has been edited by Cafalll (edited 08-07-2002).)

Cafall, your sig link is inaccurate -- it should be /projects/tfm.html

------------------
pipeline: I like your nostrils.

The following are called on death by the generic monsters of PoG:

NPCLaunchItem_ADR00.cet (weakest monsters)
NPCLaunchItem_ADR10.cet
NPCLaunchItem_ADR20.cet
NPCLaunchItem_ADR30.cet
NPCLaunchItem_ADR40.cet
NPCLaunchItem_ADR50.cet
NPCLaunchItem_ADR60.cet
NPCLaunchItem_ADR70.cet
NPCLaunchItem_ADR80.cet
NPCLaunchItem_ADR90.cet
NPCLaunchItem_ADR99.cet (strongest monsters)

These events take care of dropping a random amount of gold AND a random item if appropriate. Just redefine them in your plugin to bypass them. Be sure to be the only plugin that does that tough (mention it in your readme file or something).

------------------
Dee Brown
Beenox inc. - (url="http://"http://www.beenox.com")www.beenox.com(/url) (check our new web site!)
(url="http://"http://www.AmbrosiaSW.com/games/coldstone/")Coldstone Game Engine(/url) / (url="http://"http://www.AmbrosiaSW.com/games/pog/")Pillars of Garendall(/url) developers

(This message has been edited by Dee (edited 08-06-2002).)

Thanks for your help, Dee—and thanks to you too, Gluey. I thought I'd changed it...

------------------
(url="http://"http://homepage.mac.com/cafall/projects/tfm.html")The Four Mages(/url), an unfinished quest-oriented plug-in for Pillars of Garendall.
If passion rules reason, how can you allow only reason to rule you?
— Cafall