|
|
Line 77: |
Line 77: |
| ** Draw 1st input unless {{#var: provides}} is `yes`. ** | | ** Draw 1st input unless {{#var: provides}} is `yes`. ** |
|
| |
|
| -->{{#ifeq: {{#var: provides}} | yes ||<!-- | | -->{{#ifeq: {{#var: provides}} | yes || <!-- |
| | | -->{{Recipe item | Name = {{{Input1Name|}}} | Quantity = {{{Input1Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input1Unit|}}} }} <!-- |
| -->{{#if: {{{Input1Name|}}} |<!-- | |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Input1Unit|}}} | | {{{Input1Qty|}}} {{{Input1Unit|}}} }}</div><!--
| |
| -->[[File:{{{Input1Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input1Name}}}]]<!--
| |
| -->{{#if: {{{Input1Unit|}}} | <!--
| |
| --><div class="lower">{{{Input1Qty|}}} {{{Input1Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input1Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| -->}}<!-- | | -->}}<!-- |
|
| |
|
Line 94: |
Line 84: |
|
| |
|
| -->{{#ifeq: {{#var: provides}} | yes |<!-- | | -->{{#ifeq: {{#var: provides}} | yes |<!-- |
| | | -->{{Recipe item | Name = {{{Output1Name|}}} | Quantity = {{{Output1Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output1Unit|}}} }}<!-- |
| ** Draw the 1st output **
| | -->{{Recipe item | Name = {{{Output2Name|}}} | Quantity = {{{Output2Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output2Unit|}}} | Plus = yes }}<!-- |
| | | -->{{Recipe item | Name = {{{Output3Name|}}} | Quantity = {{{Output3Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output3Unit|}}} | Plus = yes }}<!-- |
| -->{{#if: {{{Output1Name|}}} |<!-- | | -->{{Recipe item | Name = {{{Output4Name|}}} | Quantity = {{{Output4Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output4Unit|}}} | Plus = yes }}<!-- |
| --><div class="block"><!--
| | -->{{Recipe item | Name = {{{Output5Name|}}} | Quantity = {{{Output5Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output5Unit|}}} | Plus = yes }}<!-- |
| --><div class="upper">{{#if: {{{Output1Unit|}}} | | {{{Output1Qty|}}} {{{Output1Unit|}}} }}</div><!--
| | -->{{Recipe item | Name = {{{Output6Name|}}} | Quantity = {{{Output6Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output6Unit|}}} | Plus = yes }}<!-- |
| -->[[File:{{{Output1Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output1Name}}}]]<!--
| |
| -->{{#if: {{{Output1Unit|}}} | <!--
| |
| --><div class="lower">{{{Output1Qty|}}} {{{Output1Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output1Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 2nd output **
| |
| | |
| -->{{#if: {{{Output2Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output2Unit|}}} | | {{{Output2Qty|}}} {{{Output2Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output2Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output2Name}}}]]<!--
| |
| -->{{#if: {{{Output2Unit|}}} | <!--
| |
| --><div class="lower">{{{Output2Qty|}}} {{{Output2Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output2Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 3rd output **
| |
| | |
| -->{{#if: {{{Output3Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output3Unit|}}} | | {{{Output3Qty|}}} {{{Output3Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output3Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output3Name}}}]]<!--
| |
| -->{{#if: {{{Output3Unit|}}} | <!--
| |
| --><div class="lower">{{{Output3Qty|}}} {{{Output3Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output3Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 4th output **
| |
| | |
| -->{{#if: {{{Output4Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output4Unit|}}} | | {{{Output4Qty|}}} {{{Output4Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output4Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output4Name}}}]]<!--
| |
| -->{{#if: {{{Output4Unit|}}} | <!--
| |
| --><div class="lower">{{{Output4Qty|}}} {{{Output4Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output4Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 5th output **
| |
| | |
| -->{{#if: {{{Output5Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output5Unit|}}} | | {{{Output5Qty|}}} {{{Output5Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output5Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output5Name}}}]]<!--
| |
| -->{{#if: {{{Output5Unit|}}} | <!--
| |
| --><div class="lower">{{{Output5Qty|}}} {{{Output5Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output5Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 6th output **
| |
| | |
| -->{{#if: {{{Output6Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output6Unit|}}} | | {{{Output6Qty|}}} {{{Output6Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output6Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output6Name}}}]]<!--
| |
| -->{{#if: {{{Output6Unit|}}} | <!--
| |
| --><div class="lower">{{{Output6Qty|}}} {{{Output6Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output6Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| -->}}<!-- | | -->}}<!-- |
|
| |
|
| ** Draw 2nd input ** | | ** Draw 2nd-6th input ** |
|
| |
|
| -->{{#if: {{{Input2Name|}}} |<!-- | | -->{{Recipe item | Name = {{{Input2Name|}}} | Quantity = {{{Input2Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input2Unit|}}} | Plus = yes }}<!-- |
| --><div class="block">{{#var: img_plus}}</div><!--
| | -->{{Recipe item | Name = {{{Input3Name|}}} | Quantity = {{{Input3Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input3Unit|}}} | Plus = yes }}<!-- |
| --><div class="block"><!--
| | -->{{Recipe item | Name = {{{Input4Name|}}} | Quantity = {{{Input4Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input4Unit|}}} | Plus = yes }}<!-- |
| --><div class="upper">{{#if: {{{Input2Unit|}}} | | {{{Input2Qty|}}} {{{Input2Unit|}}} }}</div><!--
| | -->{{Recipe item | Name = {{{Input5Name|}}} | Quantity = {{{Input5Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input5Unit|}}} | Plus = yes }}<!-- |
| -->[[File:{{{Input2Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input2Name}}}]]<!--
| | -->{{Recipe item | Name = {{{Input6Name|}}} | Quantity = {{{Input6Qty|}}} | Time = {{{Time|}}} | Unit = {{{Input6Unit|}}} | Plus = yes }}<!-- |
| -->{{#if: {{{Input2Unit|}}} | <!--
| |
| --><div class="lower">{{{Input2Qty|}}} {{{Input2Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input2Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| | |
| ** Draw 3rd input **
| |
| | |
| -->{{#if: {{{Input3Name|}}} |<!--
| |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Input3Unit|}}} | | {{{Input3Qty|}}} {{{Input3Unit|}}} }}</div><!--
| |
| -->[[File:{{{Input3Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input3Name}}}]]<!--
| |
| -->{{#if: {{{Input3Unit|}}} | <!--
| |
| --><div class="lower">{{{Input3Qty|}}} {{{Input3Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input3Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 4th input **
| |
| | |
| -->{{#if: {{{Input4Name|}}} |<!--
| |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Input4Unit|}}} | | {{{Input4Qty|}}} {{{Input4Unit|}}} }}</div><!--
| |
| -->[[File:{{{Input4Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input4Name}}}]]<!--
| |
| -->{{#if: {{{Input4Unit|}}} | <!--
| |
| --><div class="lower">{{{Input4Qty|}}} {{{Input4Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input4Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 5th input **
| |
| | |
| -->{{#if: {{{Input5Name|}}} |<!--
| |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Input5Unit|}}} | | {{{Input5Qty|}}} {{{Input5Unit|}}} }}</div><!--
| |
| -->[[File:{{{Input5Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input5Name}}}]]<!--
| |
| -->{{#if: {{{Input5Unit|}}} | <!--
| |
| --><div class="lower">{{{Input5Qty|}}} {{{Input5Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input5Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 6th input **
| |
| | |
| -->{{#if: {{{Input6Name|}}} |<!--
| |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Input6Unit|}}} | | {{{Input6Qty|}}} {{{Input6Unit|}}} }}</div><!--
| |
| -->[[File:{{{Input6Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Input6Name}}}]]<!--
| |
| -->{{#if: {{{Input6Unit|}}} | <!--
| |
| --><div class="lower">{{{Input6Qty|}}} {{{Input6Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Input6Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
|
| |
|
| ** Draw the recipe times unless it has a unit defined (KW, MW, etc). ** | | ** Draw the recipe times unless it has a unit defined (KW, MW, etc). ** |
Line 296: |
Line 145: |
| -->{{#ifeq: {{#var: provides}} | yes ||<!-- | | -->{{#ifeq: {{#var: provides}} | yes ||<!-- |
|
| |
|
| ** Draw 1st output ** | | ** If {{#var: accepts}} is `yes`, then draw a vertical line ** |
|
| |
|
| -->{{#if: {{{Output1Name|}}} |<!-- | | -->{{#if: {{{Output1Name|}}} |<!-- |
|
| |
| ** If {{#var: accepts}} is `yes`, then draw a vertical line **
| |
|
| |
| -->{{#ifeq: {{#var: accepts}} | yes |<!-- | | -->{{#ifeq: {{#var: accepts}} | yes |<!-- |
| --><div style="display: inline-block; | | --><div style="display: inline-block; |
Line 310: |
Line 156: |
| ></div><!-- | | ></div><!-- |
| -->}}<!-- | | -->}}<!-- |
|
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output1Unit|}}} | | {{{Output1Qty|}}} {{{Output1Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output1Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output1Name}}}]]<!--
| |
| -->{{#if: {{{Output1Unit|}}} | <!--
| |
| --><div class="lower">{{{Output1Qty|}}} {{{Output1Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output1Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!-- | | -->}}<!-- |
|
| |
|
| ** Draw 2nd output ** | | ** Draw all output ** |
|
| |
|
| -->{{#if: {{{Output2Name|}}} |<!-- | | -->{{Recipe item | Name = {{{Output1Name|}}} | Quantity = {{{Output1Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output1Unit|}}} }}<!-- |
| --><div class="block">{{#var: img_plus}}</div><!--
| | -->{{Recipe item | Name = {{{Output2Name|}}} | Quantity = {{{Output2Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output2Unit|}}} | Plus = yes }}<!-- |
| --><div class="block"><!--
| | -->{{Recipe item | Name = {{{Output3Name|}}} | Quantity = {{{Output3Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output3Unit|}}} | Plus = yes }}<!-- |
| --><div class="upper">{{#if: {{{Output2Unit|}}} | | {{{Output2Qty|}}} {{{Output2Unit|}}} }}</div><!--
| | -->{{Recipe item | Name = {{{Output4Name|}}} | Quantity = {{{Output4Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output4Unit|}}} | Plus = yes }}<!-- |
| -->[[File:{{{Output2Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output2Name}}}]]<!--
| | -->{{Recipe item | Name = {{{Output5Name|}}} | Quantity = {{{Output5Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output5Unit|}}} | Plus = yes }}<!-- |
| -->{{#if: {{{Output2Unit|}}} | <!--
| | -->{{Recipe item | Name = {{{Output6Name|}}} | Quantity = {{{Output6Qty|}}} | Time = {{{Time|}}} | Unit = {{{Output6Unit|}}} | Plus = yes }}<!-- |
| --><div class="lower">{{{Output2Qty|}}} {{{Output2Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output2Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 3rd output **
| |
| | |
| -->{{#if: {{{Output3Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output3Unit|}}} | | {{{Output3Qty|}}} {{{Output3Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output3Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output3Name}}}]]<!--
| |
| -->{{#if: {{{Output3Unit|}}} | <!--
| |
| --><div class="lower">{{{Output3Qty|}}} {{{Output3Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output3Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 4th output **
| |
| | |
| -->{{#if: {{{Output4Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output4Unit|}}} | | {{{Output4Qty|}}} {{{Output4Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output4Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output4Name}}}]]<!--
| |
| -->{{#if: {{{Output4Unit|}}} | <!--
| |
| --><div class="lower">{{{Output4Qty|}}} {{{Output4Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output4Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 5th output **
| |
| | |
| -->{{#if: {{{Output5Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output5Unit|}}} | | {{{Output5Qty|}}} {{{Output5Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output5Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output5Name}}}]]<!--
| |
| -->{{#if: {{{Output5Unit|}}} | <!--
| |
| --><div class="lower">{{{Output5Qty|}}} {{{Output5Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output5Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| | |
| ** Draw 6th output **
| |
| | |
| -->{{#if: {{{Output6Name|}}} |<!-- | |
| --><div class="block">{{#var: img_plus}}</div><!--
| |
| --><div class="block"><!--
| |
| --><div class="upper">{{#if: {{{Output6Unit|}}} | | {{{Output6Qty|}}} {{{Output6Unit|}}} }}</div><!--
| |
| -->[[File:{{{Output6Name}}}.png{{!}}{{#var: imgsz_reg}}{{!}}link={{{Output6Name}}}]]<!--
| |
| -->{{#if: {{{Output6Unit|}}} | <!--
| |
| --><div class="lower">{{{Output6Qty|}}} {{{Output6Unit|}}}</div>|<!--
| |
| --><div class="lower blue">{{#expr: 60/{{{Time|1}}}*{{{Output6Qty|}}} round 2 }}</div><!--
| |
| -->}}<!--
| |
| --></div><!--
| |
| -->}}<!--
| |
| -->}}<!-- | | -->}}<!-- |
|
| |
|
Line 422: |
Line 198: |
|
| |
|
| {{Recipe draw/sandbox | | {{Recipe draw/sandbox |
| | Building = Groundwater Pump | | | Building = Air Separator |
| | Time = 10 | | | Time = 20 |
| | Output1Name = Water | | | Output1Name = Oxygen |
| | Output1Qty = 8 | | | Output1Qty = 12 |
| | | Output2Name = Nitrogen |
| | | Output2Qty = 12 |
| }} | | }} |
|
| |
|
Line 440: |
Line 218: |
| | Input1Qty = 2 | | | Input1Qty = 2 |
| | Time = 2 | | | Time = 2 |
| | Output1Name = Air Pollution | | | Output1Name = Water Pollution |
| | Output1Qty = 2 | | | Output1Qty = 2 |
| }} | | }} |
Line 467: |
Line 245: |
| }} | | }} |
|
| |
|
| {{recipe define | | {{Recipe draw/sandbox |
| | | Building = Waste Sorting Plant |
| | Time = 20 | | | Time = 20 |
| | Input1Name = Recyclables | | | Input1Name = Recyclables |
Line 481: |
Line 260: |
| }} | | }} |
|
| |
|
| {{recipe define | | {{Recipe draw/sandbox |
| | | Building = Exhaust Scrubber |
| | Input1Name = Exhaust | | | Input1Name = Exhaust |
| | Input1Qty = 30 | | | Input1Qty = 30 |