Module:TechRecipe/doc: Difference between revisions

From Desynced Wiki
No edit summary
No edit summary
Line 1: Line 1:
== Description ==
== Description ==
The recipe part of the tech pages.   
The recipe part of the tech pages.  <br>
 
If new research components are added to the game, <code>UPLINK_REPLACEMENTS</code> needs be extended to enable replacing the component with the related building. Otherwise it will just show the new component instead.   
If new research components are added to the game, <code>UPLINK_REPLACEMENTS</code> needs be extended to enable replacing the component with the related building. Otherwise it will just show the new component instead.   



Revision as of 07:25, 12 August 2025

Description

The recipe part of the tech pages.

If new research components are added to the game, UPLINK_REPLACEMENTS needs be extended to enable replacing the component with the related building. Otherwise it will just show the new component instead.

Usage

Example {{#invoke:TechRecipe|render|name=<techName>}}

Example

Building

The following call:
{{#invoke:TechRecipe|render|name=Ultra-tech Framework}}

Results in:

Recipe
Fused ElectrodesIC ChipRobotics ResearchUltra-tech Framework
Fused Electrodes 1IC Chip 1Robotics Research 3Arrow RightUltra-tech Framework 1
Researched with
Building/ComponentResearch time
UplinkUplink500 seconds
NexaspireNexaspire100 seconds
Human Science LabHuman Science Lab100 seconds
Total Requirements
Fused ElectrodesIC ChipRobotics ResearchUltra-tech Framework
Fused Electrodes 20IC Chip 20Robotics Research 60Arrow RightUltra-tech Framework 20