Unlockable cleanup / Added javelin ship / Mobile fixes

This commit is contained in:
Anuken
2018-07-01 15:44:56 -04:00
parent 02b8e34242
commit 95d01f0ef5
27 changed files with 759 additions and 608 deletions

View File

@@ -133,7 +133,16 @@ public class Generators {
context.generate("liquid-icons", () -> {
for(Liquid liquid : Liquid.all()){
Image image = context.get("liquid-icon");
for (int x = 0; x < image.width(); x++) {
for (int y = 0; y < image.height(); y++) {
Color color = image.getColor(x, y);
color.mul(liquid.color);
image.draw(x, y, color);
}
}
image.save("liquid-icon-" + liquid.name);
}
});