Am I missing something? (food items)

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).

Pages

AuthorTopic: Am I missing something? (food items)
Shock Trooper
Member # 4180
Profile #25
In the "Item, Special Item and Gold Calls" section we have:

short has_item_of_class(short which_class,short take_item)

I'm saying that JV needs to add a complimentary call like this:

short has_item_of_variety(short which_variety,short take_item)

so that we can just directly check for food (or weapons, or armor, or whatever), without all the special class rigamarole or the expensive item by item check to see if there's anything that matches.

-spyderbytes

--------------------
-spyderbytes
Posts: 200 | Registered: Wednesday, March 31 2004 08:00
Warrior
Member # 1505
Profile #26
Yeah... Drakefyre, as long as they didn't make custom food in another scenario, it would work fine.

There is a call that determines an item's variety? Good, good...

--------------------
-Newtfeet
Posts: 151 | Registered: Saturday, July 13 2002 07:00
Triad Mage
Member # 7
Profile Homepage #27
No there isn't, he just wants there to be one.

--------------------
"At times discretion should be thrown aside, and with the foolish we should play the fool." - Menander
====
Drakefyre's Demesne - Happy Happy Joy Joy
Encyclopedia Ermariana - Trapped in the Closet
====
You can take my Mac when you pry my cold, dead fingers off the mouse!
Posts: 9436 | Registered: Wednesday, September 19 2001 07:00

Pages