Item Randomizer - CommandLeo/scarpet GitHub Wiki
A tool to easily insert random items inside containers. Useful to test main storages or other storage tech contraptions.
Run the following commands in-game:
/carpet scriptsAppStore CommandLeo/scarpet/contents/programs/script download randomizer.sc
/randomizer create <name> items <items> - Creates a table from a list of items
/randomizer create <name> containers [<from_pos>] [<to_pos>] - Creates a table from the items inside the container you are looking at or at the specified coordinates
/randomizer create <name> area <from_pos> <to_pos> - Creates a table from the blocks within the specified coordinates
/randomizer create <name> all_items <obtainability> [<stackability>] - Creates a table from "all items", being able to select only survival obtainables if you have the Get All Items script installed
/randomizer create <name> item_list <item_list> - Creates a table from a StorageTechX item list
/randomizer delete <table> - Deletes a table
/randomizer rename <table> <name> - Renames a table
/randomizer clone <table> <name> - Clones a table
/randomizer list - Lists all existing tables
/randomizer info <table> - Lists the contents of table in chat
/randomizer view <table> - Displays the contents of a table in a menu
/randomizer edit <table> - Prints a menu to edit a table
/randomizer edit <table> add items <items> - Adds items to a table from a list of items
/randomizer edit <table> add table <table> - Adds items to a table from another table
/randomizer edit <table> add area <from_pos> <to_pos> - Adds items to a table from the blocks within the specified coordinates
/randomizer edit <table> add containers [<from_pos>] [<to_pos>] - Adds items to a table from the items inside the container you are looking at or at the specified coordinates
/randomizer edit <table> remove items <items> - Removes the listed items from a table
/randomizer edit <table> remove table <table> - Remove from a table the items contained in another table
/randomizer edit <table> remove index <index> - Removes the item at the specified index from the table
/randomizer insert <mode> <table> [<from_pos>] [<to_pos>] - Inserts the table in the container you are looking at or at the specified coords
/randomizer give <container> <mode> <table> - Gives a randomly filled container