tweak crafting byte costs

This commit is contained in:
PrototypeTrousers
2021-11-02 17:54:54 -03:00
parent 81156b411d
commit b423d99879
3 changed files with 4 additions and 3 deletions
@@ -238,7 +238,7 @@ public class CraftingTreeNode
if( available != null )
{
this.bytes += available.getStackSize();
//this.bytes += available.getStackSize();
l -= available.getStackSize();
if( l <= 0 )
@@ -240,6 +240,7 @@ public class CraftingTreeProcess
final IAEItemStack o = out.copy();
o.setStackSize( o.getStackSize() * i );
inv.injectItems( o, Actionable.MODULATE, src );
this.bytes += o.getStackSize();
}
this.crafts += i;
}
@@ -252,7 +253,7 @@ public class CraftingTreeProcess
pro.dive( job );
}
job.addBytes( this.crafts * 8 + this.bytes );
job.addBytes( this.crafts + 8 + this.bytes );
}
IAEItemStack getAmountCrafted( IAEItemStack what2 )