Plug-in creation question for Stark

I was just going through ideas for pllug-ins (since I got my Coldstone license), and recently got the "Pandoras Box", and was wondering how on earth you made that?

------------------
Going to war without
France is like going
deer hunting without an
accordion. All you do is

Quote

Originally posted by SlaVitiCkus:
I was just going through ideas for pllug-ins (since I got my Coldstone license), and recently got the "Pandoras Box", and was wondering how on earth you made that?

It is fairly simple. The spell creates a chest that appears at the player's feet.

The chest has an event on it that does the following when it is opened:

  1. rolls a random number
  2. a series of conditionals check the number rolled
  3. depending on the number, an effect is created(be it a boon or a curse)

And that's really it. Just one big set of conditionals, and all completely random.

------------------
(url="http://"http://stark.evula.net/pogwalkthrough.htm")PoG Walkthrough and Compendium(/url) | (url="http://"http://stark.evula.net/plugins/dev_tools.htm")PoG Dev Tools(/url) | (url="http://"http://stark.evula.net/plugins/spells_expander.htm")Spells Expander(/url)
(url="http://"http://stark.evula.net")Stark.evula.net(/url) | (url="http://"http://www.evula.net")EVula.net(/url) | (url="http://"http://mail.ambrosiasw.com/mailman/listinfo/coldstone_dev")Coldstone-dev mailing list(/url) | (url="http://"http://ucplugs.evula.net/pog.html")PoG Upcoming Plug-Ins Directory(/url)