NAME "Exp Candy Combiner" EVERY 20 TICKS DO -- on their own, input statements do nothing -- there is no item buffer INPUT "Cobblemon:exp_candy_xs" FROM candy_barrel -- XS -> S OUTPUT RETAIN 1 TO xs_pot SLOTS 1 OUTPUT RETAIN 1 TO xs_pot SLOTS 2 OUTPUT RETAIN 1 TO xs_pot SLOTS 3 OUTPUT RETAIN 1 TO xs_pot SLOTS 4 OUTPUT RETAIN 1 TO xs_pot SLOTS 5 OUTPUT RETAIN 1 TO xs_pot SLOTS 6 FORGET -- S -> M INPUT "Cobblemon:exp_candy_s" FROM candy_barrel OUTPUT RETAIN 1 TO s_pot SLOTS 1 OUTPUT RETAIN 1 TO s_pot SLOTS 2 OUTPUT RETAIN 1 TO s_pot SLOTS 3 FORGET -- M -> L INPUT "Cobblemon:exp_candy_m" FROM candy_barrel OUTPUT RETAIN 1 TO m_pot SLOTS 1 OUTPUT RETAIN 1 TO m_pot SLOTS 2 OUTPUT RETAIN 1 TO m_pot SLOTS 3 FORGET -- L -> XL INPUT "Cobblemon:exp_candy_l" FROM candy_barrel OUTPUT RETAIN 1 TO l_pot SLOTS 1 OUTPUT RETAIN 1 TO l_pot SLOTS 2 OUTPUT RETAIN 1 TO l_pot SLOTS 3 FORGET -- Grab all the candy and put it in the barrel INPUT FROM pot BOTTOM SIDE OUTPUT TO candy_barrel FORGET END