I'm trying to make an Inkmilling script for Achaea. I've got a good idea of how to handle the Alias and Triggers, but the tables are what I'm getting a bit confused about. I'm thinking there would be two tables, one that holds what reagents are at what rarity, and then one that holds what rarity and the amount for each ink. If thats right, then the part thats confusing me, is how to interact with these tables to get the needed reagents.
I have a refiller that I was planning on modifying to do this.