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

How to make a item Recepie

This needs more explanation to be a tutorial. :p You have to explain the purpose of a recipe, and then explain the functions of the trigger.

At the moment it is more of a trigger template than a tutorial. =)
Can't agree more!

Delete that and create nice trigger!
Explain how to create recipe that will use 2 same items (trigger above fail for this example)

Then create example with items that have charges (nice one for potions)

Maybe you can use variables and create some system who knows!

Add special effects, floating text, explain what will do and how to use it!

This one is very simple! Can be created in 5 min :razz:
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
So, let's say I have 20 item recipes (not that rare), I need this massive thing... 20 times?
I feel a bigass trigger coming!

It's simple indeed, but efficient? Not at all.

I'd rather use a pre-set system where you just need to add the item types :p
(I might submit the system I made myself some day, though I doubt it).

Keep practicing though!
The more you begin hating the world editor, the better you become at triggering (I guess).
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
I don't think you can be 'quick enough', that requires some nanosecond reflexes :/
The waits are AFTER the items are destroyed, so that means the moment you acquire the item all items insantly vanish.
And a few seconds later (after all special effects), you gain the combination item.

The problem here is that it leaks, it cannot be approved in it's current state.
And even if the leaks are fixed it can't get approved :/
 
Level 8
Joined
Jun 30, 2010
Messages
259
That trigger won't even work properly. It should only remove a single item per item type, not all of items matching that item type.
If the hero's inventory looks like this:
Flame Staff
Flame Staff
Earth Staff
Water Staff
Frost Staff

and the hero then acquires the recipe scroll, he will lose both flame staves.

Wrong, the "remove item of type" action only removes one of the item types, not both, try it yourself.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Wrong, the "remove item of type" action only removes one of the item types, not both, try it yourself.
Hvo's message did point out another bug, which he may or may not have noticed: if you want a recipe to require 2 times the same item, the system won't recognize it.

Like this:

Steel blade requires:
Iron Blade
Iron Blade

--> Fail (you'll only need 1 iron blade with this system, no matter how hard you try - unless you do some major editing of course).
 
Last edited:
Level 8
Joined
Jun 30, 2010
Messages
259
Hvo's message did point out another bug, which he may or may not have noticed: if you want a recepy to require 2 times the same item, the system won't recognize it.

Like this:

Steel blade requires:
Iron Blade
Iron Blade

--> Fail (you'll only need 1 iron blade with this system, no matter how hard you try - unless you do some major editing of course).

Read hvo's message. It points out that if someone has 2 items of one sort, he will loose BOTH items, which was what I questioned, I did NOT mention anything about the fact that if the recipe requires two items of the same type, the trigger will fail, because in that opinion, you are correct.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Read hvo's message. It points out that if someone has 2 items of one sort, he will loose BOTH items, which was what I questioned, I did NOT mention anything about the fact that if the recipe requires two items of the same type, the trigger will fail, because in that opinion, you are correct.
Nope, but the example he has given with the multiple items of the same type did point in that direction.
If you read my post thoroughly, I mentioned that hvo never said it directly himself, thus I'm still correct :D.
 
Level 8
Joined
Jun 30, 2010
Messages
259
That trigger won't even work properly. It should only remove a single item per item type, not all of items matching that item type.

This can point in 2 directions, the first one, which is that if you need two items, then it would not remove both (what you are mentioning). While the other being that it SHOULD only remove one item per item type in order to WORK, therefore, this whole conversation between us is a waste, since both of us is correct.
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
This can point in 2 directions, the first one, which is that if you need two items, then it would not remove both (what you are mentioning). While the other being that it SHOULD only remove one item per item type in order to WORK, therefore, this whole conversation between us is a waste, since both of us is correct.
I never said you were incorrect either :wink:
This is getting rather off-topic indeed though...
 
Top