Difference between revisions of "User:ArnePeirs/Part"

From Kerbal Space Program Wiki
Jump to: navigation, search
m
(Add new cost/mass calculations for command pods, servo's and fireworks)
Line 4: Line 4:
 
|hovertext={{Infobox/Part/Dict|Image}}
 
|hovertext={{Infobox/Part/Dict|Image}}
 
|lines=
 
|lines=
<!-- Type -->
+
<!-- Type + Manufacturer -->
 
{{Infobox/Line|{{#if: {{Infobox/Part/roles|{{{type|}}}|{{{role|}}}}}|'''{{Infobox/Part/roles|{{{type|}}}|{{{role|}}}}}'''}} <span style{{=}}"font-size:smaller; white-space:normal;">{{Dict|by}} {{#if: {{{type|}}}{{{role|}}}|<br/>}}{{Infobox/Part/Manufacturer entry|{{Infobox/Part/ManufacturerUntranslated|{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|?}}}}|{{Infobox/Part/Manufacturer|{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|?}}}}}}{{#if: {{{manufacturer2|}}}|  
 
{{Infobox/Line|{{#if: {{Infobox/Part/roles|{{{type|}}}|{{{role|}}}}}|'''{{Infobox/Part/roles|{{{type|}}}|{{{role|}}}}}'''}} <span style{{=}}"font-size:smaller; white-space:normal;">{{Dict|by}} {{#if: {{{type|}}}{{{role|}}}|<br/>}}{{Infobox/Part/Manufacturer entry|{{Infobox/Part/ManufacturerUntranslated|{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|?}}}}|{{Infobox/Part/Manufacturer|{{#if: {{{manufacturer|}}}|{{{manufacturer}}}|?}}}}}}{{#if: {{{manufacturer2|}}}|  
<!-- Manufacturer -->
+
<!-- Manufacturer2 -->
 
{{Dict|and}} {{Infobox/Part/Manufacturer entry|{{Infobox/Part/ManufacturerUntranslated|{{#if: {{{manufacturer2|}}}|{{{manufacturer2}}}|?}}}}|{{Infobox/Part/Manufacturer|{{#if: {{{manufacturer2|}}}|{{{manufacturer2}}}|?}}}}}}}}</span>|style=text-align: center}}{{#if: {{{size|}}}|<br/>
 
{{Dict|and}} {{Infobox/Part/Manufacturer entry|{{Infobox/Part/ManufacturerUntranslated|{{#if: {{{manufacturer2|}}}|{{{manufacturer2}}}|?}}}}|{{Infobox/Part/Manufacturer|{{#if: {{{manufacturer2|}}}|{{{manufacturer2}}}|?}}}}}}}}</span>|style=text-align: center}}{{#if: {{{size|}}}|<br/>
 
<!-- Radial Size -->
 
<!-- Radial Size -->
{{Infobox/Line|[[Radial size{{if lang}}|{{Infobox/Part/Dict|Size}}]]|<span style{{=}}"white-space:normal;">{{Radial size|{{{size}}}}}{{#if: {{{size2|}}}|, {{Radial size|{{{size2}}}}}}}{{#if: {{{size3|}}}|, {{Radial size|{{{size3}}}}}}}</span>}}}}
+
{{Infobox/Line|[[Radial size{{if lang}}|{{Infobox/Part/Dict|Size}}]]|<span style{{=}}"white-space:normal;">{{Radial size|{{{size}}}}}{{#if: {{{size2|}}}|, {{Radial size|{{{size2}}}}}}}{{#if: {{{size3|}}}|, {{Radial size|{{{size3}}}}}}}{{#if: {{{size4|}}}|, {{Radial size|{{{size4}}}}}}}</span>}}}}
 
<!-- Cost -->
 
<!-- Cost -->
{{Infobox/Line|{{Dict|Cost}}|{{Formatnum|{{{costs}}}|2}}&nbsp;{{Mark|fund}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{or|}}}{{{ab|}}}|{{Formatnum|{{#expr: {{{costs}}}-(({{{lf|0}}})*0.8+({{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|}}}|{{{lf}}}*11/9|0}}}})*0.18+({{{mp|0}}})*1.2+({{{sf|0}}})*0.6+({{{xg|0}}})*4+({{{ia|0}}})*0+({{{or|0}}})*0.02+({{{ab|0}}})*0.5)}}|2}}&nbsp;{{Mark|fund}}}}
+
{{Infobox/Line|{{Dict|Cost}}|{{Formatnum|{{#expr: {{{costs}}}+({{{capacity|0}}}*35+{{{motorCost|0}}}*(100*0.01*{{{motorOutput|0}}}))}}|2}}&nbsp;{{Mark|fund}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{eva|}}}{{{or|}}}{{{ab|}}}{{{capacity|}}}{{{motorOutput|}}}{{{motorCost|}}}|{{Formatnum|{{#expr: {{{costs}}}-({{{lf|0}}}*0.8+{{{ox|{{{lf|0}}}*11/9}}}*0.18+{{{mp|0}}}*1.2+{{{sf|0}}}*0.6+{{{xg|0}}}*4+{{{ia|0}}}*0+{{{eva|0}}}*0+{{{or|0}}}*0.02+{{{ab|0}}}*0.5)}}|2}}&nbsp;{{Mark|fund}}}}
 
|type1={{Infobox/Part/Dict|Total}}
 
|type1={{Infobox/Part/Dict|Total}}
 
|type2={{Infobox/Part/Dict|Dry}}}}
 
|type2={{Infobox/Part/Dict|Dry}}}}
 
<!-- Mass -->
 
<!-- Mass -->
{{Infobox/Line|{{Infobox/Part/Dict|Mass}}|{{Formatnum|{{#expr: {{{mass}}}+({{{lf|0}}})*0.005+({{#if: {{{ox|}}}|{{{ox}}}|{{#if: {{{lf|}}}|{{{lf}}}*11/9|0}}}})*0.005+({{{mp|0}}})*0.004+({{{sf|0}}})*0.0075+({{{xg|0}}})*0.0001+({{{ia|0}}})*0.005+({{{or|0}}})*0.01+({{{ab|0}}})*0.001}}| {{#ifexpr: {{{mass}}} < 0.04  | 5 | 2 }} }}&nbsp;{{Dict|t}} {{#ifeq: {{lc:{{{physics insignificant}}}}}|y|{{#tag:ref|{{Infobox/Part/Dict|Massless}}|name="phyinsig"}}}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{or|}}}{{{ab|}}}|{{Formatnum|{{{mass}}}| {{#ifexpr: {{{mass}}} < 0.04  | 5 | 2 }} }}&nbsp;{{Dict|t}}}}
+
{{Infobox/Line|{{Infobox/Part/Dict|Mass}}|{{Formatnum|{{#expr: {{{mass}}}+({{{lf|0}}}*0.005+{{{ox|{{{lf|0}}}*11/9}}}*0.005+{{{mp|0}}}*0.004+{{{sf|0}}}*0.0075+{{{xg|0}}}*0.0001+{{{ia|0}}}*0.005+{{{eva|0}}}*0.005+{{{or|0}}}*0.01+{{{ab|0}}}*0.001+{{#ifeq: {{{crew}}}|0|{{{capacity|0}}}*0.049|0}}+{{{motorMass|0}}}*(100*0.01*{{{motorOutput|0}}})+{{{maxShots|0}}}*{{{shellMass|0}}}*0.001+{{#if: {{{shellMass|}}}|{{{mass}}}|0}})}}|2}}&nbsp;{{Dict|t}} {{#ifeq: {{lc:{{{physics insignificant}}}}}|y|{{#tag:ref|{{Infobox/Part/Dict|Massless}}|name="phyinsig"}}}}|{{#if: {{{lf|}}}{{{ox|}}}{{{mp|}}}{{{sf|}}}{{{xg|}}}{{{ia|}}}{{{eva|}}}{{{or|}}}{{{ab|}}}{{{capacity|}}}{{{crew|}}}{{{motorOutput|}}}{{{motorMass|}}}{{{maxShots|}}}{{{shellMass|}}}|{{Formatnum|{{#expr: {{{mass}}}-({{{capacity|0}}}*{{#ifexpr: {{{crew|0}}}>0|0.094|0.045}})+(1*{{{shellMass|0}}}*0.001+{{#if: {{{shellMass|}}}|{{{mass}}}|0}})}}|2}}&nbsp;{{Dict|t}}}}
 
|type1={{Infobox/Part/Dict|Total}}
 
|type1={{Infobox/Part/Dict|Total}}
 
|type2={{Infobox/Part/Dict|Dry}}}}
 
|type2={{Infobox/Part/Dict|Dry}}}}

Revision as of 00:35, 21 September 2024

ArnePeirs
Part image
Adapter by
O.M.B. Demolition Enterprises

Radial size Large, Small, Tiny
Cost (total) 800.00 Funds
Mass (total) 0.200 t [1]
Drag 0.3 [1]
Max. Temp. 3400 K
Impact Tolerance 12 m/s
Research Meta-materials.png Meta-Materials
Unlock cost 1 200 Funds
Since version 0.21
Part configuration part.cfg
Electricity required 0.025 ⚡/s
Dissipated heat 50 kW [2]
Retractable No

  1. 1.0 1.1 The mass and drag are from the part config, but the game handles it as physicsless.
  2. This radiator only cools the part it is directly attached to, and parts directly connected to that part.