Is there a way to get the smithing to use the brick or large block acrylia with the recipe?
Recipe16CTD=0 (makes Large Brick from a Block if you have no Large brick or small brick)
Recipe17CTD=16 (18 requires 17 if using Large Brick, 17 requires 16 if using a Block) (makes small brick from block)
Recipe18CTD=17 (need small brick)
So.. it's your recipe.. heh.. I took it from a few pages ago.. I think your intent was to give options as to how to achieve the end result..
Spitballing.. I need a small brick for my recipe how do I get my small brick..
1) I farmz it!
2) I break it down MC hammer style.. (Large to small, block to whatever)
considerations:
We need a way to look at the main recipe, find that it needs block x, determine best way to get block x by using methods of breaking it down..
So.. do we have small block already..then ignore breaking down stuff..
if we dont.. which break down method will achieve our goal based on the inventory we have...
Flow..
if we have all of recipe x.. then make it..
if are missing a farmed item..
cycle through break down recipes until we have one that has all the requirements.. and if it has a sub do that also.. and buy or make associated tool..
go back to original recipe x and make it..
which loosely means
if recipe we need is 18..
have an entry that says 18 has 7 different ways to achieve it..
/varset need_item big brick
for x 1 to 7
check recipe - do we have all the stuff to break it down..
ok do it..
does it have a sub.. do it..
/next x
did we get the big brick.. ok make recipe 18
did we not.. ok cycle through the 1 to 7
sad face.. cannota do it..
So we need a new sub that is dedicated to figuring out what we have , what needs to be broken down, and how we can do it..
This would be great for a lot of quest, especially the baking,, with the eleventy billion fish recipes..
all that being said.. what should I work on first..
breakdown sub?
finish the remaining beginner trophy inis and answer file?
make the buy and make 1 recipe at a time sub without a shopping file?
arty prize quests?
GOD refinement quests?
TS Book buying and scribing?
Simple Farming integrated with TSC?
The first thing I should do is the recipe inis and answer file..
after that.. I should wreck the whole tradeskill crafting and do this..
It will eliminate a lot of code.. and we no longer have to calculate counts.. and would be wonderous for real time shopping..
We can really get wild: Make a recipe entry that has the amount, the item, the vendor, and what kind of item it is..
based on that we can determine if we have the item, if not we can say we need to farm or forage it.. and lastly.. we can say it is a recipe so it needs to be made.. the sky is the limit!
Recipe1Totalitems=3
Recipe1Totalitem1=Crude Potion Vial
Recipe1Totalitem1count=1
Recipe1Vendor1=Toxocologist Huey
Recipe1Totalitem2=Fruit
Recipe1Totalitem2count=4
Recipe1Vendor2=Forage
Recipe1Totalitem3=Bear Parts
Recipe1Totalitem3count=1
Recipe1Vendor3=Farm
Recipe1Totalitem4=Ceramic Lining
Recipe1Totalitem4count=1
Recipe1Vendor4=Recipe
Recipe1Totalitem5=Black Pearl
Recipe1Totalitem5count=1
Recipe1Vendor5=Resupply Agent
THIS WILL BREAK ALL TS_INIs and we will no longer have backwards compatibility..
would eliminate the need for the vendor file.. for non-mass shopping.. and maybe mass shopping too..
buuut I think I can write a script SUB to read the old file and make a new file..
Requirements:
Re-do all TS inis
Re-write TSC core functions for reading, and storing variables for crafting and populating containers correctly.
Re-write buy routine..
I had this idea before.. but was like nah we can power through.. now it is a matter of functionality , code reduction, process reduction, macro speed increasion.. I made that last word up..