Combine Identical Items
Events
Unit - A unit Acquires an item
Conditions
((Hero manipulating item) has an item of type Cheese) Equal to True
Actions
Set TempInteger = 0
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Cheese
Then - Actions
Set TempInteger = (TempInteger + 1)
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInteger Greater than or equal to 2
Then - Actions
Item - Remove (Item carried by (Hero manipulating item) of type Cheese)
Item - Remove (Item carried by (Hero manipulating item) of type Cheese)
Hero - Create Mogrin's Report and give it to (Hero manipulating item)
Else - Actions
Is the method above MUI/MPI or whatever it is .. ?
Code:Combine Identical Items (Item-type of (Item carried by (Hero manipulating item) in slot (Integer A))) Equal to Cheese