Difference between revisions of "User:ArnePeirs/Part"

From Kerbal Space Program Wiki
Jump to: navigation, search
(test new part config)
 
m (Fixed calculations)
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Data template used}}</noinclude>
+
<includeonly>{{Infobox|width=280
{{Infobox/Part
+
|name={{Dict/part name|{{#if: {{{name|}}}|{{{name}}}|{{BASEPAGENAME}}}}}}
|file=AE-FF1_Airstream_Protective_Shell_(1.25m).png
+
|file={{{file|}}}
|type=fr
+
|hovertext={{Infobox/Part/Dict|Image}}
|size=1.5
+
|lines=
|manufacturer=FLOOYD
+
<!-- Type + Manufacturer -->
|costs=450
+
{{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|}}}|
|mass=0.15
+
<!-- Manufacturer2 -->
|drag=0.2
+
{{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/>
|temp=2600
+
<!-- Radial Size -->
|tolerance=9
+
{{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>}}}}
|research=Advanced Construction
+
<!-- Cost -->
|unlock cost=4500
+
{{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}}}}
|since=1.4.1
+
|type1={{Infobox/Part/Dict|Total}}
|dlc=y
+
|type2={{Infobox/Part/Dict|Dry}}}}
|filename=fairingSize1p5.cfg
+
<!-- Mass -->
|more={{Infobox/Part/test subject
+
{{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}}}|0|{{{capacity|0}}}*{{#ifeq: {{{applyKerbalMass|y}}}|y|0.049|0.094}}|0}}+{{{motorMass|0}}}*(100*0.01*{{{motorOutput|0}}})+{{{maxShots|0}}}*{{{shellMass|0}}}*0.001+{{#if: {{{shellMass|}}}|{{{mass}}}|0}})}}|3}}&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}}}*{{#ifeq: {{{applyKerbalMass|y}}}|y|{{#ifexpr: {{{crew|0}}}>0|0.094|0.045}}|0}})+({{{ia|0}}}*0.005+1*{{{shellMass|0}}}*0.001+{{#if: {{{shellMass|}}}|{{{mass}}}|0}})}}|3}}&nbsp;{{Dict|t}}}}
|environments=127
+
|type1={{Infobox/Part/Dict|Total}}
|event=False
+
|type2={{Infobox/Part/Dict|Dry}}}}
|staging=True
+
<!-- Drag -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Drag}}|{{{drag}}} {{#ifeq: {{lc:{{{physics insignificant}}}}}|y|{{#tag:ref|{{Infobox/Part/Dict|Massless}}|name="phyinsig"}}}}}}
 +
<!-- Max. Temp. -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Temp}}|{{{temp}}}&nbsp;{{Dict|K}}}}
 +
<!-- Impact Tolerance -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Tolerance}}|{{{tolerance}}}&nbsp;{{Dict|m}}/{{Dict|s}}}}
 +
<!-- Research -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Research}}|{{#if: {{{research|}}}|{{#if: {{Infobox/Part/ricon|{{{research}}}}}|[[{{Infobox/Part/ricon|
 +
{{{research}}}}}|24x24px|link=Technology tree{{if lang}}#{{{research}}}]]&nbsp;}}[[Technology tree{{if lang}}#{{{research}}}|{{Dict/sci node|{{{research}}}}}]]|{{Dict|Unknown}}}}}}
 +
<!-- Unlock cost -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Unlock}}|{{Formatnum|{{{unlock cost}}}}}&nbsp;{{Mark|fund}}}}
 +
<!-- Since version -->
 +
{{Infobox/Line|{{Dict|Since}}|{{#if: {{{since|}}}|{{version|{{{since}}}|}}|{{Dict|Unknown}}}}}}
 +
<!-- Part configuration -->
 +
{{Infobox/Line|{{Infobox/Part/Dict|Config}}|{{#if: {{{part|}}}<!--
 +
-->|style="word-break:break-all;" {{!}} [[{{#switch: {{lc:{{{dlc|}}}}}<!--
 +
  -->|mh=MakingHistory/<!--
 +
  -->|bg=Serenity/<!--
 +
  -->|#default=}}<!--
 +
-->Parts/{{#if: {{{parent|}}}|{{{parent}}}/}}{{{part}}}/{{{filename}}}|{{{filename}}}]]<!--
 +
-->|{{Infobox/Part/Dict|Unknown}}[[Category:Infobox/Part with missing parameters]]
 +
}}}}{{#if: {{{more|}}}|<br/>
 +
{{{more|}}}}}
 +
|notes={{{notes|}}}{{#if: {{{nref|}}}{{#ifeq: {{lc:{{{physics insignificant}}}}}|y|1}}|{{#tag:references}}}}
 +
}}</includeonly><noinclude>
 +
{{User:ArnePeirs/Part
 +
|file=TVR-400L Stack Quad-Adapter.png
 +
|type=ada
 +
|size=large
 +
|size2=small
 +
|size3=tiny
 +
|manufacturer=OMB
 +
|costs=800
 +
|mass=0.2
 +
|drag=0.3
 +
|temp=3400
 +
|tolerance=12
 +
|research=Meta-Materials
 +
|unlock cost=1200
 +
|since=0.21
 +
|filename=part.cfg
 +
|part=adapterLargeSmallQuad
 +
|physics insignificant=y
 +
|more={{Infobox/Part/radiator
 +
|retractable=n
 +
|parent cooling=y
 +
|require=0.025
 +
|dissipate=2500
 
}}
 
}}
 
}}
 
}}
 +
 +
New costs and mass calculations
 +
</noinclude>

Latest revision as of 13:30, 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.

New costs and mass calculations