- repeat 3: - while true: - define random_slot - if <[loop_index]> >= 15: - define item<[value]>:null - while stop - if ].material.name> != air && !].has_flag[soulbound]>: - if <[random_slot]> != <[item1]> || <[random_slot]> != <[item2]> || <[random_slot]> != <[item3]>: - define item<[value]>:<[random_slot]> - narrate <[loop_index]> - while stop - foreach |<[item2]>|<[item3]>]> as:slot: - if <[slot]> == null: - foreach next - drop item:]> - take slot:<[slot]> quantity:].quantity>