X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fstats%2Fplanet.tt2;h=ce2a77111e26324ddf88d8258493f6540ba554bd;hb=07d0555058636b2b6ebb8c6bd757f9dfde072dba;hp=dfae29ac9a90484dd46dff51508bea0bb43fa4fb;hpb=5d49b3579d2ad39f6ae9bc2dba37ebbf0334e0da;p=ndwebbie.git
diff --git a/root/src/stats/planet.tt2 b/root/src/stats/planet.tt2
index dfae29a..ce2a771 100644
--- a/root/src/stats/planet.tt2
+++ b/root/src/stats/planet.tt2
@@ -1,20 +1,90 @@
[% META title = 'Planet stats' %]
+[% IF p.id %]
[% PROCESS inc/stats.tt2 %]
+[% ELSE %]
+
No such planet
+[% END %]
-[% IF planetdata %]
+
-
- Tick | Type | Amount |
- [% FOR pd IN planetdata %]
-
- [% pd.tick %] |
- [% pd.category %] [% pd.name %] |
- [% comma(pd.amount) %] |
+[% IF planetscan.tick %]
+
+ Tick: | [% planetscan.tick %] |
+ Type | Roids | Resources |
+ Metal |
+ [% planetscan.metal_roids %] |
+ [% planetscan.metal | commify %] |
+
+ Crystal |
+ [% planetscan.crystal_roids %] |
+ [% planetscan.crystal | commify %] |
+
+ Eonium |
+ [% planetscan.eonium_roids %] |
+ [% planetscan.eonium | commify %] |
+
+ Agents | | Guards |
+ [% planetscan.agents %] |
+ | [% planetscan.guards %] |
+
+ Factory production |
+ Light | Medium | Heavy |
+ [% planetscan.light %] |
+ [% planetscan.medium %] | [% planetscan.heavy %] |
+
+ Hidden: | [% planetscan.hidden | commify %] |
+
+[% END %]
+[% IF devscan.tick %]
+
+ Tick: | [% devscan.tick %] |
+ Factories |
+ Light | Medium | Heavy |
+ [% devscan.light_fac %] |
+ [% devscan.medium_fac %] |
+ [% devscan.heavy_fac %] |
+
+ Amps | | Distorters |
+ [% devscan.amps %] |
+ |
+ [% devscan.distorters %] |
+
+ Refineries |
+ Metal | Crystal | Eonium |
+ [% devscan.metal_ref %] |
+ [% devscan.crystal_ref %] |
+ [% devscan.eonium_ref %] |
+
+ Reslabs | Finance | Seccents |
+ [% devscan.reslabs %] |
+ [% devscan.fincents %] |
+ [% devscan.seccents %] |
+
+ Research | Level |
+ Travel Time |
+ [% devscan.travel %] |
+
+ Infrastructure |
+ [% devscan.infra %] |
+
+ Hulls |
+ [% devscan.hulls %] |
+
+ Waves |
+ [% devscan.waves %] |
+
+ Core Extraction |
+ [% devscan.extraction %] |
+
+ Covert Ops |
+ [% devscan.covert %] |
+
+ Mining |
+ [% devscan.mining %] |
- [% END %]
-
[% END %]
+
Tick | Value | Gain |
@@ -54,8 +124,11 @@
[% PROCESS inc/missionlist.tt2 missions=incomings %]
[% END %]
+
-
+[% IF p.id %]
+
+[% END %]