+@if (Production != null || Supply != null || Requirements.Count > 0) {
+
+ @if (StyleType.Equals("Plain"))
+ {
@if (Requirements.Count() > 0) {
-
- @foreach (var requirement in Requirements) {
-
-
-
- @requirement.Requirement.Replace("_", " "):
-
-
- }
-
- }
-
- @if (Production != null && (!Production.Alloy.Equals(0)
- || !Production.Ether.Equals(0)
- || !Production.BuildTime.Equals(0)
- || !Production.Cooldown.Equals(0))) {
-
- @if (!Production.Alloy.Equals(0)) {
-
- Alloy: @Production.Alloy
-
- }
- @if (!Production.Ether.Equals(0)) {
-
- Ether: @Production.Ether
-
- }
- @if (!Production.Pyre.Equals(0)) {
-
- Pyre: @Production.Pyre
-
- }
-
- @if (!Production.BuildTime.Equals(0)) {
-
- Build Time: @Production.BuildTime.ToString()s
-
- }
+
+ @foreach (var requirement in Requirements)
+ {
+ var replaced = DATA.Get()[requirement.DataType];
+
+
+
+ @requirement.Requirement.Replace("_", " "): @replaced.Info().Name
+
+
+ }
+
+ }
+
+ @if (Production != null && (!Production.Alloy.Equals(0)
+ || !Production.Ether.Equals(0)
+ || !Production.BuildTime.Equals(0)
+ || !Production.Cooldown.Equals(0))) {
+
+ @if (!Production.Alloy.Equals(0)) {
+
+ Alloy: @Production.Alloy
+
+ }
+ @if (!Production.Ether.Equals(0)) {
+
+ Ether: @Production.Ether
+
+ }
+ @if (!Production.Pyre.Equals(0)) {
+
+ Pyre: @Production.Pyre
+
+ }
+
+ @if (!Production.BuildTime.Equals(0)) {
+
+ Build Time: @Production.BuildTime.ToString()s
+
+ }
- @if (!Production.Energy.Equals(0)) {
-
- Energy: @Production.Energy
-
- }
-
-
- @if (!Production.Cooldown.Equals(0)) {
-
- Cooldown: @Production.Cooldown.ToString()s
-
- }
-
- }
- @if (Supply != null) {
-
- @if (!Supply.Grants.Equals(0)) {
-
- Grants: @Supply.Grants
-
- }
- @if (!Supply.Takes.Equals(0)) {
-
- Takes: @Supply.Takes Supply
-
- }
-
- }
-
-
-}
+ @if (!Production.Energy.Equals(0)) {
+
+ }
+
+
+ @if (!Production.Cooldown.Equals(0)) {
+
+ }
+