• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Item Recipe

Status
Not open for further replies.
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: https://www.hiveworkshop.com/forums/spells-569/recipe-system-103261/?prev=search=Recipe&d=list&r=20
 
Status
Not open for further replies.
Back
Top