Шаблон:Производство(кол-во): различия между версиями

Материал из Star Conflict Wiki
Перейти к навигации Перейти к поиску
Нет описания правки
мНет описания правки
Строка 14: Строка 14:
}} }}
}} }}
<!--Компоненты предмета-->
<!--Компоненты предмета-->
{{#if:{{{item|}}}|
{{#ifeq:{{{item|}}}|metal_plate | resource1=vanadium {{#ifeq:{{{item|}}}|metal_plate | quantity_r1={{#expr: 2 * {{{quantity|1}}} }} }} }}
{{#switch: {{{item}}}
{{#ifeq:{{{item|}}}|pure_silicon | resource1=raw_silicon {{#ifeq:{{{item|}}}|pure_silicon | quantity_r1={{{quantity|1}}} }} }}
|metal_plate = resource1=vanadium
{{#ifeq:{{{item|}}}|osmium_crystal | resource1=raw_osmium {{#ifeq:{{{item|}}}|osmium_crystal | quantity_r1={{{quantity|1}}} }} }}
|metal_plate = quantity_r1={{#expr: 2 *{{quantity|1}} }}
{{#ifeq:{{{item|}}}|graphite_plate | resource1=raw_graphite {{#ifeq:{{{item|}}}|graphite_plate | quantity_r1={{#expr: 2 * {{{quantity|1}}} }} }} }}
|pure_silicon = resource1=raw_silicon
{{#ifeq:{{{item|}}}|enriched_berillium | resource1=berillium {{#ifeq:{{{item|}}}|enriched_berillium | quantity_r1={{#expr: 10 * {{{quantity|1}}} }} }} }}
|osmium_crystal = resource1=raw_osmium
{{#ifeq:{{{item|}}}|neodium_plate | resource1=neodium {{#ifeq:{{{item|}}}|neodium_plate | quantity_r1={{#expr: 10 * {{{quantity|1}}} }} }} }}
|graphite_plate = resource1=raw_graphite
{{#ifeq:{{{item|}}}|cpu_chip | resource1=crystal_shard {{#ifeq:{{{item|}}}|cpu_chip | quantity_r1={{{quantity|1}}} }} }}
|enriched_berillium = resource1=berillium
{{#ifeq:{{{item|}}}|cpu_block | item1=pure_silicon {{#ifeq:{{{item|}}}|cpu_block | quantity_i1={{#expr: 4 * {{{quantity|1}}} }}
|neodium_plate = resource1=neodium
{{#ifeq:{{{item|}}}|cpu_block | item2=cpu_chip {{#ifeq:{{{item|}}}|cpu_block | quantity_i2={{#expr: 2 * {{{quantity|1}}} }} }} }} }} }}
|cpu_chip = resource1=crystal_shard
{{#ifeq:{{{item|}}}|shielded_battery | item1=graphite_plate {{#ifeq:{{{item|}}}|shielded_battery | quantity_i1={{{quantity|1}}}
|cpu_block = item1=pure_silicon
{{#ifeq:{{{item|}}}|shielded_battery | item2=cpu_chip {{#ifeq:{{{item|}}}|shielded_battery | quantity_i2={{{quantity|1}}}
|cpu_block = item2=cpu_chip  
{{#ifeq:{{{item|}}}|shielded_battery | item3=osmium_crystal {{#ifeq:{{{item|}}}|shielded_battery | quantity_i3={{#expr: 3 * {{{quantity|1}}} }} }} }} }} }} }} }}
|shielded_battery = item1=graphite_plate
<!--Компоненты части корабля-->
|shielded_battery = item2=cpu_chip
|shielded_battery = item3=osmium_crystal  
|
}} }}
<!--Компоненты предмета-->

Версия от 15:37, 6 сентября 2016