Difference between revisions of "Template:Recipe draw/sandbox"

From Captain of Industry Wiki
Jump to: navigation, search
(Copied recently code, and copied all recipes in documentation)
(Reworked "Accept" and "Provide": Now shows them when the output is nothing or only pollution, and labs without recyclables are displayed the same way in the game.)
Line 34: Line 34:
-->}}<!--
-->}}<!--


   ** Stop output if we we drew Mining or Dumping **
   ** Stop output if we drew Mining or Dumping **


-->{{#if: {{{Mining|}}}{{{Dumping|}}} ||<!--
-->{{#if: {{{Mining|}}}{{{Dumping|}}} ||<!--
Line 48: Line 48:
   -->}}<!--
   -->}}<!--
-->}}<!--
-->}}<!--
  ** Determine if we should display the "PROVIDES" or "ACCEPTS" text in the output **
-->{{#if: {{{Input1Name|}}}{{{Input2Name|}}}{{{Input3Name|}}}{{{Input4Name|}}}{{{Input5Name|}}}{{{Input6Name|}}} || {{#vardefine: provides | yes}} }} <!--
-->{{#switch: {{lc:{{{Output1Name|}}}{{{Output2Name|}}}{{{Output3Name|}}}{{{Output4Name|}}}{{{Output5Name|}}}{{{Output6Name|}}}}}
    | air pollution
    | water pollution
    | = {{#vardefine: accepts| yes}}
  }}<!--
}}<!--


   ** Main sequence starts here **
   ** Main sequence starts here **


-->{{#ifeq: {{#var: bldg}} | none ||<!--
-->{{#ifeq: {{#var: bldg}} | none ||<!--
  ** Determine if we should display the "PROVIDES" or "ACCEPTS" text in the output **
-->{{#switch: {{lc:{{#var: bldg}}}}
    | flare   
    | smoke stack
    | smoke stack (large)
    | burner (solid)
    | liquid dump
    | gas injection pump = {{#vardefine: accepts | yes}}
    | groundwater pump
    | air separator
    | seawater pump
    | seawater pump (tall)
    | oil pump = {{#vardefine: provides | yes}}
  }}<!--


   ** Draw the building (and colon) unless the user or Template:Infobox_machine set it to hidden. **
   ** Draw the building (and colon) unless the user or Template:Infobox_machine set it to hidden. **
Line 530: Line 524:
   | Unreleased  = yes
   | Unreleased  = yes
}}
}}
</noinclude>
</noinclude>

Revision as of 18:56, 2 October 2022


Mining.png
Transform.png
Copper Ore.png
Rock.png
Transform.png
Dumping.png
Rotary Kiln.png
:
12 
Limestone.png
72
Plus.png
Coal.png
12
10 Clock.png
Transform.png
60 Clock 60s.png
Cement.png
24
Plus.png
Exhaust.png
48
Groundwater Pump.png
:
PROVIDES
Water.png
48
/ 10 Clock.png

/ 60 Clock 60s.png
Smoke Stack.png
:
ACCEPTS
200 
Oxygen.png
600
/ 20 Clock.png

/ 60 Clock 60s.png
Liquid Dump.png
:
ACCEPTS
Waste Water.png
60
/ 2 Clock.png

/ 60 Clock 60s.png
Air Pollution.png
60
Low-pressure Turbine.png
:
Steam Lo.png
48
Clock.png
Transform.png
60 Clock 60s.png
 
Mechanical Power.png
1 MW
Plus.png
Steam Depleted.png
48
Power Generator.png
:
 
Mechanical Power.png
500 KW
Transform.png
 
Electricity.png
250 KW



18 
Sand.png
54
Plus.png
Limestone.png
12
Plus.png
Salt.png
12
20 Clock.png
Transform.png
60 Clock 60s.png
14 
Glass Mix.png
42
Mixer.png
:
18 
Sand.png
54
Plus.png
Limestone.png
12
Plus.png
Salt.png
12
20 Clock.png
Transform.png
60 Clock 60s.png
14 
Glass Mix.png
42
UNRELEASED