4 months
ago -
Shurenai
-
Direct link
It's a known and kindof unfixable issue due to how Advanced Engineering actually functions in regards to reducing materials. It applies to any of the skills that reduce the material cost of a craft. Because of the way the game processes Recipes at launch, and those costs are later patched by xml to implement the skill effects. The result is that tou MUST have the full cost of the BASE craft to be able to craft it or the engine will think you can't craft it, Then when the xml patch is applied on initiating the craft, and the skill then refunds part of that cost.
So, to pose an example. Forged steel by default takes 31 iron and 15 clay to craft 1 ingot. Let's say you then have exactly enough iron/clay to craft 500 bars; 15,500 Iron, and 7,500 clay. When you go to craft, it will let you craft exactly 500 bars, because by the base price of the item, you have enough to craft 500.
Now, Let's say you instead have Advanced Engineering 5. This reduces the cost of a single bar to 20 iron, and 10 clay. From that same 15.5k iron and 7.5k clay, we can now craft 775 bars of steel. But, Because of what I explained at the start, It will cap you at 500 for that first craft- Because it first checks 15.5k and 7.5k against 31 cost and 15 cost, And then when you actually initiate the craft, it uses the reduced cost set by the XML instead of the Base cost expected by the engine.
So, with any skill that reduces costs of a craft, You can never craft 100% of what you have material for in one single craft; It will always take multiple. You can queue 500+ ingots, but you have to have enough iron/clay in Base Cost to do so.
And it has been this way since like, A17 when the first skill to reduce costs was implemented. In order to keep those functions open for modders to play with, that's how they ended up having to make it work.
So, to pose an example. Forged steel by default takes 31 iron and 15 clay to craft 1 ingot. Let's say you then have exactly enough iron/clay to craft 500 bars; 15,500 Iron, and 7,500 clay. When you go to craft, it will let you craft exactly 500 bars, because by the base price of the item, you have enough to craft 500.
Now, Let's say you instead have Advanced Engineering 5. This reduces the cost of a single bar to 20 iron, and 10 clay. From that same 15.5k iron and 7.5k clay, we can now craft 775 bars of steel. But, Because of what I explained at the start, It will cap you at 500 for that first craft- Because it first checks 15.5k and 7.5k against 31 cost and 15 cost, And then when you actually initiate the craft, it uses the reduced cost set by the XML instead of the Base cost expected by the engine.
So, with any skill that reduces costs of a craft, You can never craft 100% of what you have material for in one single craft; It will always take multiple. You can queue 500+ ingots, but you have to have enough iron/clay in Base Cost to do so.
And it has been this way since like, A17 when the first skill to reduce costs was implemented. In order to keep those functions open for modders to play with, that's how they ended up having to make it work.