Has Enough of Species?

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Has Enough of Species?
The Establishment
Member # 6
Profile #0
It is now possible to test whether or not the party has a given number of PCs is human, nephil, or slith. The "Have Cave Lore?" node has been changed to a "Has Enough of Species?" node.

The only function modified was specials.c and run_ifthen_special. Note that the number is capped at the party size. Such that if the party has a size of 4, the designer can only demand a maximum of 4 of that species. If more are requested, the amount needed is set to 4.

Specifics of the node:

ex1a: Which Species (0 - Human, 1 - Nephil, 2 - Slith, -1 defaults to regular Have Cave Lore? check to preserve compatability)
ex1b: Special to jump to if met
ex2a: How many party members need species?
ex2b: Unused

Comments?

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00
Apprentice
Member # 8990
Profile #1
An interesting addition which adds a bit of reality (which already exists in Avernum as well)... but one suggestion to make it even better:
As much as I know, a "Has Woodlore?" -node exists as well, just make it so it's called "Has Lore?" and make it so with 0 it checks for Cave Lore, 1 is used for Woodslore.

Much better than leaving rests of this old node stay where they don't belong anymore...

Edit: Just read your second change. The probably best change now would to just change the "Has Trait?" so you either enter a normal number to check for Wood-/Cave Lore (Due to the only 15 traits, shouldn't be too hard but more logical and easier) or use an unused field to enter 0 or 1 to check for Wood-/Cave Lore. (Second would be maybe an option as well, due to these traits being probably checked most of the time)

[ Wednesday, June 27, 2007 06:36: Message edited by: Crynsos ]
Posts: 37 | Registered: Saturday, June 16 2007 07:00
The Establishment
Member # 6
Profile #2
I think a trait ID is the easiest. There will be docs provided on what cooresponds to what.

--------------------
Your flower power is no match for my glower power!
Posts: 3726 | Registered: Tuesday, September 18 2001 07:00