Misc fixes

This commit is contained in:
Anuken 2022-11-01 16:28:24 -04:00
parent ff115ee376
commit 34a83de3cf
3 changed files with 5 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

Before After
Before After

View file

@ -15,6 +15,7 @@ public class Liquids{
effect = StatusEffects.wet;
boilPoint = 0.5f;
gasColor = Color.grays(0.9f);
alwaysUnlocked = true;
}};
slag = new Liquid("slag", Color.valueOf("ffa166")){{

View file

@ -1081,13 +1081,15 @@ public class Block extends UnlockableContent implements Senseable{
for(ItemStack stack : i.items){
cons.get(stack.item);
}
}else if(c instanceof ConsumeLiquid i){
}
//TODO: requiring liquid dependencies is usually a bad idea, because there is no reason to pump/produce something until you actually need it.
/*else if(c instanceof ConsumeLiquid i){
cons.get(i.liquid);
}else if(c instanceof ConsumeLiquids i){
for(var stack : i.liquids){
cons.get(stack.liquid);
}
}
}*/
}
}