Optimized SE script for Ice

This commit is contained in:
Firq 2023-04-04 20:29:25 +02:00
parent 65a2557892
commit 70e01a1aee
Signed by: Firq
GPG key ID: 4DE1059A4666E89F

View file

@ -36,6 +36,12 @@ public void Main(string args) {
toggleCollectors(true);
Echo($"Collectors are ON");
}
var msg = string.Format("\n\nIce Manager by Firq\n----------------------------\nCollectors are {0}\n----------------------------\nIce Amount: {1}M\n----------------------------", collectorState, Math.Round((iceamount / 1000000.0), 2));
var screen = Me.GetSurface(0);
screen.ContentType = ContentType.TEXT_AND_IMAGE;
screen.Alignment = TextAlignment.CENTER;
screen.WriteText(msg, false);
}
public int getCurrentIceAmount() {