Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Commit

Permalink
for good
Browse files Browse the repository at this point in the history
  • Loading branch information
MeijiRestored committed Feb 23, 2023
1 parent a30f15b commit 4485032
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,8 @@ fetch(
ttpopcolor = "#D6D3C0";
} else {
let popul = nationpop[nation[1]];
popul >= 350 ? (ttpopcolor = "#51A96D") : "";
popul <= 275 ? (ttpopcolor = "#63A05D") : "";
popul > 300 ? (ttpopcolor = "#51A96D") : "";
popul <= 300 ? (ttpopcolor = "#63A05D") : "";
popul <= 200 ? (ttpopcolor = "#80A158") : "";
popul <= 160 ? (ttpopcolor = "#8BA84F") : "";
popul <= 120 ? (ttpopcolor = "#96AA53") : "";
Expand Down Expand Up @@ -1137,7 +1137,8 @@ fetch(
infos[1]
}</span><br/><span style="font-size:120%">R</span><span style="font-size:90%">ESIDENTS</span> : ${
infos[2]
}<br/><br/><span style="font-size:120%">N</span><span style="font-size:90%">ATION POPULATION</span> : <b><span style="font-size:120%; color:${ttpopcolor}">${nationpop[nation[1]]}</span></b>`;
}<br/><br/><span style="font-size:120%">N</span><span style="font-size:90%">ATION POPULATION</span> : <b><span style="font-size:120%; color:${ttpopcolor}">${nation == null ? 'None' : nationpop[nation[1]]}</span></b>`;


markerttpop["sets"]["townyPlugin.markerset"]["areas"][i]["desc"] = pop;

Expand Down

0 comments on commit 4485032

Please sign in to comment.