Skip to content

Commit

Permalink
Merge pull request #995 from SJuliez/ilclan
Browse files Browse the repository at this point in the history
Adding ilClan era image to record sheets, correcting era dates
  • Loading branch information
HammerGS authored Jan 2, 2022
2 parents dfd17fd + fbc4c3c commit 0bf6c8d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file added data/images/recordsheets/era_ilclan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions src/megameklab/com/printing/PrintEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -456,14 +456,16 @@ private void drawEraIcon() {
iconFile = new File("data/images/recordsheets/era_starleague.png");
} else if (getEntity().getYear() < 3050) {
iconFile = new File("data/images/recordsheets/era_sw.png");
} else if (getEntity().getYear() < 3061) {
} else if (getEntity().getYear() < 3062) {
iconFile = new File("data/images/recordsheets/era_claninvasion.png");
} else if (getEntity().getYear() < 3068) {
iconFile = new File("data/images/recordsheets/era_civilwar.png");
} else if (getEntity().getYear() < 3086) {
} else if (getEntity().getYear() < 3081) {
iconFile = new File("data/images/recordsheets/era_jihad.png");
} else {
} else if (getEntity().getYear() < 3151) {
iconFile = new File("data/images/recordsheets/era_darkage.png");
} else {
iconFile = new File("data/images/recordsheets/era_ilclan.png");
}
Element rect = getSVGDocument().getElementById(ERA_ICON);
if (rect instanceof SVGRectElement) {
Expand Down

0 comments on commit 0bf6c8d

Please sign in to comment.