PDA

View Full Version : Q: Items: How are you flagging them as food?


Malevolent
03-24-2002, 02:17 PM
Could someone point me to how an item is being flagged as food?

From what I've seen in the table structure (Anyone have an erd of the db around?) there isn't any flag to tell whether an item can be eaten, or not. I'm still working with drawde 0.6 and emu codebase 0.2.5.

TIA,

--MV

Shawn319
03-24-2002, 02:20 PM
i think its part of the item blob.

Malevolent
03-24-2002, 02:29 PM
Ah, I see it now. It's buried in eq_packet_structs.h as Consume_Struct. Interesting that vc++ didn't look check the //'s for the keyword 'food', as it is quite there. At least I have it now, assuming there aren't many changes to the structure layout in 2.6/7 what with the recent patch, everything should be peachy. I'm rambling. Hm.

Anyhoo, thanks!

--MV

Lyenu X`Arie
03-24-2002, 09:03 PM
Yes... fortunately we need to lower the consume rate.. or give it a rate that can be defined or something, because food gets eaten pretty fast ATM =)