1. so after looking through the addons I came across this ItemConfig | Oxide which is close to what I want but there is other things I dont want. I dont want the addon controlling my stack sizes as I already has a plug in that does that.

    Im looking to edit just the quarry and pump jack.
    I want to make the quarry like:
    10 Armored Doors
    5 Code Locks
    10k Wood
    2.5k Metal Frags
    1.2k Cloth

    and the Pump jack like:
    10 Armored Doors
    5 Code Locks
    1k HQ Metal
    5k Metal Frags
    10k Wood
    1.2 Cloth
    1 Signal Flare

    Before someone says that pump jacks arnt in game I know. Im looking for a plugin for that but thats for another post
     
  2. Heres a example of whats possible I guess. This could be edited to work with a few other functions to fully make a plugin for this.
    Code:
                                      //Item Task Stuff// //Player = crafter//
            private object OnItemCraft(ItemCraftTask task, BasePlayer crafter)
            {
                //Item ID's//
                int refined = crafter.inventory.GetAmount(374890416);
                int wood = crafter.inventory.GetAmount(3655341);
                int stone =  crafter.inventory.GetAmount(-892070738);
                //Item Name Converter//          
                var itemname = task.blueprint.targetItem.shortname.ToString();
                //If a item is []"
                if(itemname == "mining.quarry")
                {
                    //If the player has enough items to craft it(items specified in the [IF] statement)//
                    if(refined >= 5000 && wood >= 15000 && stone >= 30000)
                    {
                        //Take refined from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, 374890416, 5000);
                        //take wood from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, 3655341, 15000);
                        //take stone from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, -892070738, 30000);
                        //Tell it to craft the ITEM//
                        return false;
                    }
                    //If player does not have enough items//
                    else
                    {
                        //Tell them they dont have enough//
                        SendReply(crafter, "Not Enough Items!!!");
                        //Tell it to not craft//
                        return true;
                    }
                    return null;   
                }
                //If item is []"
                else if (itemname == "mining.pumpjack")
                {
                    //If the player has enough items to craft it(items specified in the [IF] statement)//
                    if(refined >= 50000 && wood >= 150000 && stone >= 300000)
                    {
                        //Take refined from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, 374890416, 50000);
                        //take wood from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, 3655341, 150000);
                        //take stone from inventory(amount above in if statment)//
                        crafter.inventory.Take(null, -892070738, 300000);
                        //Tell it to craft the ITEM//
                        return false;
                    }
                    //If player does not have enough items.
                    else
                    {
                        //Tell them they dont have enough//
                        SendReply(crafter, "Not Enough Items!!!");
                        //Tell it to not craft//
                        return true;
                    }
                    return null;   
                }
                //If the item is none of the above do nothing//
                else
                {
                    return null;
                }   
            }