• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Item Recipe

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
I just came with the idea of doing it via integer...

I mean.. "'H001' + 'H002'" could work as a recipe. (Being H001 and H002 the Raw codes of the Item Types of the ingredients). It should also be a unique value, since it would be really hard to have different item types which gives the same result after the sum.

Set Recipe[1] = 'H001' + 'H002'
Set Recipe[2] = 'H003' + 'H004'
Set Recipe[3] = 'H005' + 'H006'

Anyway, this isn't helpfull at all, but It just made me think.

Use this system instead: http://www.hiveworkshop.com/forums/spells-569/recipe-system-103261/?prev=search=Recipe&d=list&r=20
 
Status
Not open for further replies.
Top