Recipes with stacked items

Denegoth

New Member
Reaction score
18
Is there a much simpler way to make a recipe that involves stackable items than doing a loop to check every slot followed by removing a charge in that slot, and removing the item in that slot if it has no charges?
 

tork

New Member
Reaction score
2
you mean something like this?

Trigger:
  • Acquire
    • Events
      • Unit - A unit Acquires an item
    • Conditions
      • Or Multiple Conditions
        • Item type of item being manipulated equal to your item
    • Actions
      • 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 (Item-type of (Item being manipulated))
              • (Item carried by (Hero manipulating item) in slot (Integer A)) Not equal to (Item being manipulated)
            • Then - Actions
              • Item - Set charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A)) to ((Charges remaining in (Item carried by (Hero manipulating item) in slot (Integer A))) + (Charges remaining in (Item being manipulated)))
              • Item - Remove (Item being manipulated)
            • Else - Actions


i i just did this really quick but hopes it helps you
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top