X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Fsrc%2Fstats%2Fplanet.tt2;h=ea58187d4502106359ca55e0816ca48cb20213cb;hb=230e61ee1d992255138b56c50caf9cca52532c2b;hp=dfae29ac9a90484dd46dff51508bea0bb43fa4fb;hpb=5d49b3579d2ad39f6ae9bc2dba37ebbf0334e0da;p=ndwebbie.git
diff --git a/root/src/stats/planet.tt2 b/root/src/stats/planet.tt2
index dfae29a..ea58187 100644
--- a/root/src/stats/planet.tt2
+++ b/root/src/stats/planet.tt2
@@ -1,20 +1,89 @@
[% 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 %] |
+ [% comma(planetscan.metal) %] |
+
+ Crystal |
+ [% planetscan.crystal_roids %] |
+ [% comma(planetscan.crystal) %] |
+
+ Eonium |
+ [% planetscan.eonium_roids %] |
+ [% comma(planetscan.eonium) %] |
+
+ Agents | | Guards |
+ [% planetscan.agents %] |
+ | [% planetscan.guards %] |
+
+ Factory production |
+ Light | Medium | Heavy |
+ [% planetscan.light %] |
+ [% planetscan.medium %] | [% planetscan.heavy %] |
+
+ Hidden: | [% comma(planetscan.hidden) %] |
+
+[% 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 %] |
+
+ Refinaries |
+ 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 |
@@ -55,7 +124,9 @@
[% END %]
+[% IF p.id %]
+[% END %]