tweak crafting byte costs
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user