I’m trying to make a loot system with blocks for my space map. I have an orange crate, and when a player destroys it I wanted to grant them an item, but I wanted some items to be more rare than others. I have an “on wire pulse” block in an item granter, as well as four item granters for each of the four possibilities.
^This picture is the only devices I’m using for this system. I have one device per item, plus the item granter (with the question mark) for the block code, and the orange crate with the wire from the crate to the item granter with block code.
^This picture shows how the item granter is set up (the item granter with the block code)
^Here’s my block code
Whenever I destroy the orange crate, I don’t get anything. I’ve checked to make sure I’ve used the correct channels in the other item granters and that they are spelled correctly. I’m not very good with block code so I don’t know if I’m missing anything