| 1 |
<!-- |
|---|
| 2 |
Drifting Souls 2 |
|---|
| 3 |
Copyright (c) 2006 Christopher Jung |
|---|
| 4 |
|
|---|
| 5 |
This library is free software; you can redistribute it and/or |
|---|
| 6 |
modify it under the terms of the GNU Lesser General Public |
|---|
| 7 |
License as published by the Free Software Foundation; either |
|---|
| 8 |
version 2.1 of the License, or (at your option) any later version. |
|---|
| 9 |
|
|---|
| 10 |
This library is distributed in the hope that it will be useful, |
|---|
| 11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 13 |
Lesser General Public License for more details. |
|---|
| 14 |
|
|---|
| 15 |
You should have received a copy of the GNU Lesser General Public |
|---|
| 16 |
License along with this library; if not, write to the Free Software |
|---|
| 17 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|---|
| 18 |
--> |
|---|
| 19 |
{if core.build} |
|---|
| 20 |
<span class="smallfont"> |
|---|
| 21 |
{!table_begin 450,center} |
|---|
| 22 |
<table class="noBorder" cellpadding="1" cellspacing="1"> |
|---|
| 23 |
<!-- BEGIN build.res.listitem --> |
|---|
| 24 |
<tr> |
|---|
| 25 |
<td class="noBorderS"> |
|---|
| 26 |
<img src="{res.image}" alt="" />{res.cargo.available} vorhanden |
|---|
| 27 |
</td> |
|---|
| 28 |
<td class="noBorderS"> - </td> |
|---|
| 29 |
<td class="noBorderS"> |
|---|
| 30 |
<img src="{res.image}" alt="" />{res.cargo.needed} benötigt |
|---|
| 31 |
</td> |
|---|
| 32 |
{if res.missing} |
|---|
| 33 |
<td class="noBorderS"> - </td> |
|---|
| 34 |
<td class="noBorderS"> |
|---|
| 35 |
<span style="color:#ff0000">Es fehlen <img src="{res.image}" alt="" />{res.missing}</span> |
|---|
| 36 |
</td> |
|---|
| 37 |
{else} |
|---|
| 38 |
<td class="noBorderS"></td> |
|---|
| 39 |
<td class="noBorderS"></td> |
|---|
| 40 |
{/endif} |
|---|
| 41 |
</tr> |
|---|
| 42 |
<!-- END build.res.listitem --> |
|---|
| 43 |
</table> |
|---|
| 44 |
{if build.message} |
|---|
| 45 |
<br />{build.message} |
|---|
| 46 |
{/endif} |
|---|
| 47 |
{!table_end} |
|---|
| 48 |
</span> |
|---|
| 49 |
<br /> |
|---|
| 50 |
<br /> |
|---|
| 51 |
{/endif} |
|---|
| 52 |
{if core.message} |
|---|
| 53 |
<span class="smallfont"> |
|---|
| 54 |
{core.message} |
|---|
| 55 |
</span> |
|---|
| 56 |
<br /><br /> |
|---|
| 57 |
{/endif} |
|---|
| 58 |
{if base.core} |
|---|
| 59 |
{!table_begin 420,left} |
|---|
| 60 |
<div align="center"> |
|---|
| 61 |
<img align="middle" src="{URL}data/starmap/kolonie{core.astitype}_lrs/kolonie{core.astitype}_lrs.png" alt="" />{core.name} |
|---|
| 62 |
</div><br /> |
|---|
| 63 |
{if core.activated} |
|---|
| 64 |
<span style="color:#00ff00">Aktiv</span><br /> |
|---|
| 65 |
{else} |
|---|
| 66 |
<span style="color:#ff0000">Inaktiv</span><br /> |
|---|
| 67 |
{/endif} |
|---|
| 68 |
<br />Verbraucht:<br /> |
|---|
| 69 |
<div align="center"> |
|---|
| 70 |
<!-- BEGIN res.listitem --> |
|---|
| 71 |
<img src="{res.image}" alt="" />{res.cargo} |
|---|
| 72 |
<!-- END res.listitem --> |
|---|
| 73 |
{if core.ever} |
|---|
| 74 |
<img src="{URL}data/interface/energie.gif" alt="" />{core.ever} |
|---|
| 75 |
{/endif} |
|---|
| 76 |
{if ! consumes.res.list} |
|---|
| 77 |
{if ! core.ever} |
|---|
| 78 |
- |
|---|
| 79 |
{/endif} |
|---|
| 80 |
{/endif} |
|---|
| 81 |
</div> |
|---|
| 82 |
Produziert:<br /> |
|---|
| 83 |
<div align="center"> |
|---|
| 84 |
{produces.res.list} |
|---|
| 85 |
{if core.eprodu} |
|---|
| 86 |
<img src="{URL}data/interface/energie.gif" alt="" />{core.eprodu} |
|---|
| 87 |
{/endif} |
|---|
| 88 |
{if ! produces.res.list} |
|---|
| 89 |
{if ! core.eprodu} |
|---|
| 90 |
- |
|---|
| 91 |
{/endif} |
|---|
| 92 |
{/endif} |
|---|
| 93 |
</div><br /> |
|---|
| 94 |
{if core.activated} |
|---|
| 95 |
Aktionen: {!link_to deaktivieren, deactivate, css_class:error, col:$base.id}<br /> |
|---|
| 96 |
{else} |
|---|
| 97 |
Aktionen: {!link_to aktivieren, activate, css_class:ok, col:$base.id}<br /> |
|---|
| 98 |
{/endif} |
|---|
| 99 |
{!table_end} |
|---|
| 100 |
{else} |
|---|
| 101 |
{if cores.list} |
|---|
| 102 |
{!table_begin 900,left} |
|---|
| 103 |
<table class="noBorderX"> |
|---|
| 104 |
<tr> |
|---|
| 105 |
<td class="noBorderX">Name</td> |
|---|
| 106 |
<td class="noBorderX">Baukosten</td> |
|---|
| 107 |
<td class="noBorderX">Verbrauch</td> |
|---|
| 108 |
<td class="noBorderX">Produktion</td> |
|---|
| 109 |
<td class="noBorderX">Arbeiter</td> |
|---|
| 110 |
<td class="noBorderX">Effekt</td> |
|---|
| 111 |
</tr> |
|---|
| 112 |
<!-- BEGIN cores.listitem --> |
|---|
| 113 |
{if cores.list} |
|---|
| 114 |
<tr> |
|---|
| 115 |
<td colspan="6" class="noBorderX"> |
|---|
| 116 |
<hr noshade="noshade" size="1" style="color:#cccccc" /> |
|---|
| 117 |
</td> |
|---|
| 118 |
</tr> |
|---|
| 119 |
{/endif} |
|---|
| 120 |
<tr> |
|---|
| 121 |
<td class="noBorderX"> |
|---|
| 122 |
{if core.isbuildable} |
|---|
| 123 |
{!link_to $core.name, build, col:$base.id, build:$core.id} |
|---|
| 124 |
{else} |
|---|
| 125 |
{!link_to $core.name, build, css_class:error, col:$base.id, build:$core.id} |
|---|
| 126 |
{/endif} |
|---|
| 127 |
</td> |
|---|
| 128 |
<td class="noBorderX"> |
|---|
| 129 |
<!-- BEGIN costs.res.listitem --> |
|---|
| 130 |
<img src="{res.image}" alt="" />{if res.red}<span style="color:red">{/endif}{res.cargo}{if res.red}</span>{/endif} |
|---|
| 131 |
<!-- END costs.res.listitem --> |
|---|
| 132 |
{if ! costs.res.list}-{/endif} |
|---|
| 133 |
</td> |
|---|
| 134 |
<td class="noBorderX"> |
|---|
| 135 |
{consumes.res.list} |
|---|
| 136 |
{if core.ever} |
|---|
| 137 |
<img src="{URL}data/interface/energie.gif" alt="" />{core.ever} |
|---|
| 138 |
{/endif} |
|---|
| 139 |
{if ! consumes.res.list} |
|---|
| 140 |
{if ! core.ever} |
|---|
| 141 |
- |
|---|
| 142 |
{/endif} |
|---|
| 143 |
{/endif} |
|---|
| 144 |
</td> |
|---|
| 145 |
<td class="noBorderX"> |
|---|
| 146 |
{produces.res.list} |
|---|
| 147 |
{if core.eprodu} |
|---|
| 148 |
<img src="{URL}data/interface/energie.gif" alt="" />{core.eprodu} |
|---|
| 149 |
{/endif} |
|---|
| 150 |
{if ! produces.res.list} |
|---|
| 151 |
{if ! core.eprodu} |
|---|
| 152 |
- |
|---|
| 153 |
{/endif} |
|---|
| 154 |
{/endif} |
|---|
| 155 |
</td> |
|---|
| 156 |
<td class="noBorderX"> |
|---|
| 157 |
{if core.arbeiter} |
|---|
| 158 |
<img src="{URL}data/interface/narbeiter.gif" alt="Arbeiter" />{core.arbeiter} |
|---|
| 159 |
{else} |
|---|
| 160 |
- |
|---|
| 161 |
{/endif} |
|---|
| 162 |
</td> |
|---|
| 163 |
<td class="noBorderX"> |
|---|
| 164 |
{if core.bewohner} |
|---|
| 165 |
<img src="{URL}data/interface/arbeiter.gif" alt="Bewohner" />{core.bewohner} |
|---|
| 166 |
{else} |
|---|
| 167 |
- |
|---|
| 168 |
{/endif} |
|---|
| 169 |
</td> |
|---|
| 170 |
</tr> |
|---|
| 171 |
<!-- END cores.listitem --> |
|---|
| 172 |
</table> |
|---|
| 173 |
{!table_end} |
|---|
| 174 |
{else} |
|---|
| 175 |
{!table_begin 450,center} |
|---|
| 176 |
Sie haben noch nicht die nötigen Forschungen um eine passende Core bauen zu können<br /> |
|---|
| 177 |
{!table_end} |
|---|
| 178 |
{/endif} |
|---|
| 179 |
{/endif} |
|---|
| 180 |
<br /> |
|---|
| 181 |
<span class="smallfont"> |
|---|
| 182 |
{!link_to zurück, default, module:base, css_class:back, col:$base.id} |
|---|
| 183 |
</span> |
|---|