mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 14:32:06 -08:00
Misc fixes
This commit is contained in:
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 |
|
|
@ -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")){{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue