Crafter bugfixes
This commit is contained in:
@@ -517,18 +517,19 @@ public class Blocks implements ContentList{
|
|||||||
|
|
||||||
cryofluidMixer = new GenericCrafter("cryofluidmixer"){{
|
cryofluidMixer = new GenericCrafter("cryofluidmixer"){{
|
||||||
requirements(Category.crafting, ItemStack.with(Items.lead, 130, Items.silicon, 80, Items.thorium, 90));
|
requirements(Category.crafting, ItemStack.with(Items.lead, 130, Items.silicon, 80, Items.thorium, 90));
|
||||||
outputLiquid = new LiquidStack(Liquids.cryofluid, 0.3f);
|
outputLiquid = new LiquidStack(Liquids.cryofluid, 0.6f);
|
||||||
craftTime = 5f;
|
craftTime = 5f;
|
||||||
size = 2;
|
size = 2;
|
||||||
hasPower = true;
|
hasPower = true;
|
||||||
hasItems = true;
|
hasItems = true;
|
||||||
|
hasLiquids = true;
|
||||||
rotate = false;
|
rotate = false;
|
||||||
solid = true;
|
solid = true;
|
||||||
outputsLiquid = true;
|
outputsLiquid = true;
|
||||||
|
|
||||||
consumes.power(1f);
|
consumes.power(1f);
|
||||||
consumes.item(Items.titanium);
|
consumes.item(Items.titanium);
|
||||||
consumes.liquid(Liquids.water, 0.3f);
|
consumes.liquid(Liquids.water, 0.6f);
|
||||||
|
|
||||||
int liquidRegion = reg("-liquid"), topRegion = reg("-top"), bottomRegion = reg("-bottom");
|
int liquidRegion = reg("-liquid"), topRegion = reg("-top"), bottomRegion = reg("-bottom");
|
||||||
|
|
||||||
@@ -629,6 +630,7 @@ public class Blocks implements ContentList{
|
|||||||
health = 320;
|
health = 320;
|
||||||
hasLiquids = true;
|
hasLiquids = true;
|
||||||
hasPower = true;
|
hasPower = true;
|
||||||
|
craftEffect = Fx.none;
|
||||||
|
|
||||||
consumes.item(Items.sporePod, 1);
|
consumes.item(Items.sporePod, 1);
|
||||||
consumes.power(0.60f);
|
consumes.power(0.60f);
|
||||||
|
|||||||
@@ -163,7 +163,7 @@ public class Renderer implements ApplicationListener{
|
|||||||
|
|
||||||
graphics.clear(clearColor);
|
graphics.clear(clearColor);
|
||||||
|
|
||||||
if(!graphics.isHidden() && (Core.settings.getBool("animatedwater") || Core.settings.getBool("animatedshields")) && shieldBuffer.getWidth() != graphics.getWidth() || shieldBuffer.getHeight() != graphics.getHeight()){
|
if(!graphics.isHidden() && (Core.settings.getBool("animatedwater") || Core.settings.getBool("animatedshields")) && (shieldBuffer.getWidth() != graphics.getWidth() || shieldBuffer.getHeight() != graphics.getHeight())){
|
||||||
shieldBuffer.resize(graphics.getWidth(), graphics.getHeight());
|
shieldBuffer.resize(graphics.getWidth(), graphics.getHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public class GenericCrafter extends Block{
|
|||||||
protected LiquidStack outputLiquid;
|
protected LiquidStack outputLiquid;
|
||||||
|
|
||||||
protected float craftTime = 80;
|
protected float craftTime = 80;
|
||||||
protected Effect craftEffect = Fx.purify;
|
protected Effect craftEffect = Fx.none;
|
||||||
protected Effect updateEffect = Fx.none;
|
protected Effect updateEffect = Fx.none;
|
||||||
protected float updateEffectChance = 0.04f;
|
protected float updateEffectChance = 0.04f;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user