<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Twinsen</id>
	<title>Official Factorio Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.factorio.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Twinsen"/>
	<link rel="alternate" type="text/html" href="https://wiki.factorio.com/Special:Contributions/Twinsen"/>
	<updated>2026-04-22T22:14:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Types/ProductPrototype&amp;diff=176686</id>
		<title>Types/ProductPrototype</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Types/ProductPrototype&amp;diff=176686"/>
		<updated>2019-10-29T14:48:15Z</updated>

		<summary type="html">&lt;p&gt;Twinsen: /* Optional properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Class used for [[Prototype/Recipe]] prodcuts, it loads as [[Types/ItemProductPrototype]] or [[Types/FluidProductPrototype]], depending on the [[#type]].&lt;br /&gt;
== Optional properties ==&lt;br /&gt;
=== type ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/string]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: &amp;quot;item&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Either &amp;quot;item&amp;quot; or &amp;quot;fluid&amp;quot;. If this is &amp;lt;code&amp;gt;item&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/ItemProductPrototype]], if this is  &amp;lt;code&amp;gt;fluid&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/FluidProductPrototype]].&lt;br /&gt;
&lt;br /&gt;
=== show_details_in_recipe_tooltip ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/bool]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: true&lt;br /&gt;
&lt;br /&gt;
When hovering over a recipe in the crafting menu the recipe tooltip will be shown. An additional item tooltip will be shown for every product, as a separate tooltip, if the item tooltip has a description and/or properties to show and if show_details_in_recipe_tooltip is true.&lt;/div&gt;</summary>
		<author><name>Twinsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Types/IngredientPrototype&amp;diff=176684</id>
		<title>Types/IngredientPrototype</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Types/IngredientPrototype&amp;diff=176684"/>
		<updated>2019-10-29T14:47:43Z</updated>

		<summary type="html">&lt;p&gt;Twinsen: /* Optional properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Class used for [[Prototype/Recipe]] ingredients, it loads as [[Types/ItemIngredientPrototype]] or [[Types/FluidIngredientPrototype]], depending on the [[#type]].&lt;br /&gt;
== Optional properties ==&lt;br /&gt;
=== type ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/string]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: &amp;quot;item&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Either &amp;quot;item&amp;quot; or &amp;quot;fluid&amp;quot;. If this is &amp;lt;code&amp;gt;item&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/ItemIngredientPrototype]], if this is  &amp;lt;code&amp;gt;fluid&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/FluidIngredientPrototype]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
{type=&amp;quot;item&amp;quot;, name=&amp;quot;steel-plate&amp;quot;, amount=8}&lt;br /&gt;
&lt;br /&gt;
{type=&amp;quot;fluid&amp;quot;, name=&amp;quot;water&amp;quot;, amount=50}&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Twinsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Types/IngredientPrototype&amp;diff=176681</id>
		<title>Types/IngredientPrototype</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Types/IngredientPrototype&amp;diff=176681"/>
		<updated>2019-10-29T14:42:37Z</updated>

		<summary type="html">&lt;p&gt;Twinsen: /* Optional properties */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Class used for [[Prototype/Recipe]] ingredients, it loads as [[Types/ItemIngredientPrototype]] or [[Types/FluidIngredientPrototype]], depending on the [[#type]].&lt;br /&gt;
== Optional properties ==&lt;br /&gt;
=== type ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/string]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: &amp;quot;item&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Either &amp;quot;item&amp;quot; or &amp;quot;fluid&amp;quot;. If this is &amp;lt;code&amp;gt;item&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/ItemIngredientPrototype]], if this is  &amp;lt;code&amp;gt;fluid&amp;lt;/code&amp;gt;, the definition is loaded as a [[Types/FluidIngredientPrototype]].&lt;br /&gt;
&lt;br /&gt;
=== show_details_in_recipe_tooltip ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/bool]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Default&#039;&#039;&#039;: true&lt;br /&gt;
&lt;br /&gt;
When hovering over a recipe in the crafting menu the recipe tooltip will be shown. An additional item tooltip will be shown for every product, as a separate tooltip, if the item tooltip has a description and/or properties to show and if show_details_in_recipe_tooltip is true.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
{type=&amp;quot;item&amp;quot;, name=&amp;quot;steel-plate&amp;quot;, amount=8}&lt;br /&gt;
&lt;br /&gt;
{type=&amp;quot;fluid&amp;quot;, name=&amp;quot;water&amp;quot;, amount=50}&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Twinsen</name></author>
	</entry>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Prototype/StorageTank&amp;diff=175752</id>
		<title>Prototype/StorageTank</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Prototype/StorageTank&amp;diff=175752"/>
		<updated>2019-08-26T14:44:16Z</updated>

		<summary type="html">&lt;p&gt;Twinsen: /* Mandatory properties */ Documented window_bounding_box partially&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Prototype parent|Prototype/EntityWithHealth}}&lt;br /&gt;
A [[storage tank]].&lt;br /&gt;
&lt;br /&gt;
{{Prototype TOC|storage-tank}}&lt;br /&gt;
&lt;br /&gt;
== Mandatory properties ==&lt;br /&gt;
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|fluid_box|[[Types/FluidBox|FluidBox]]}}&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|window_bounding_box|[[Types/BoundingBox|BoundingBox]]}}&lt;br /&gt;
The location of the window showing the contents. Note that for window_background the width and height are determined by the sprite and window_bounding_box only determines the drawing location. For fluid_background the width is determined by the sprite and the height and drawing location are determined by window_bounding_box.&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|pictures|[[Types/table|table]]}}&lt;br /&gt;
Table with the following mandatory members:&lt;br /&gt;
* picture - [[Types/Sprite4Way|Sprite4Way]]&lt;br /&gt;
* window_background - [[Types/Sprite|Sprite]]&lt;br /&gt;
* fluid_background - [[Types/Sprite|Sprite]]&lt;br /&gt;
* flow_sprite - [[Types/Sprite|Sprite]]&lt;br /&gt;
* gas_flow - [[Types/Animation|Animation]]&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|flow_length_in_ticks|[[Types/uint32|uint32]]}}&lt;br /&gt;
Must be positive.&lt;br /&gt;
&lt;br /&gt;
Used for determining the x position inside the flow_sprite when drawing the storage tank. Does not affect gameplay.&lt;br /&gt;
&lt;br /&gt;
The x position of the sprite will be &amp;lt;code&amp;gt;((game.tick % flow_length_in_ticks) ÷ flow_length_in_ticks) × (flow_sprite.width - 32)&amp;lt;/code&amp;gt;. This means, that over flow_length_in_ticks ticks, the part of the flow_sprite that is drawn in-game is incrementally moved from most-left to most-right inside the actual sprite, that part always has a width of 32px. After flow_length_in_ticks, the part of the flow_sprite that is drawn will start from the left again.&lt;br /&gt;
&lt;br /&gt;
Diagram:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Example state:&lt;br /&gt;
  [  { }     ]&lt;br /&gt;
  [] &amp;lt;- flow_sprite&lt;br /&gt;
  {} &amp;lt;- the part that is drawn in-game, width is 32px&lt;br /&gt;
&lt;br /&gt;
This means:&lt;br /&gt;
State at (tick % flow_length_in_ticks) == 0:&lt;br /&gt;
  [{ }       ]&lt;br /&gt;
State at (tick % flow_length_in_ticks) == (flow_length_in_ticks ÷ 2):&lt;br /&gt;
  [    { }   ]&lt;br /&gt;
State at (tick % flow_length_in_ticks) == (flow_length_in_ticks - 1):&lt;br /&gt;
  [       { }]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Optional properties ==&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|two_direction_only|[[Types/bool|bool]]|false|optional=true}}&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|circuit_wire_max_distance|[[Types/double|double]]|0|optional=true}}&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|draw_copper_wires|[[Types/bool|bool]]|true|optional=true}}&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|draw_circuit_wires|[[Types/bool|bool]]|true|optional=true}}&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|circuit_wire_connection_points|[[Types/table|table]] of [[Types/WireConnectionPoint|WireConnectionPoint]]|optional=true}}&lt;br /&gt;
Mandatory if circuit_wire_max_distance  &amp;gt; 0.&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|circuit_connector_sprites|[[Types/table|table]] of [[Types/CircuitConnectorSprites|CircuitConnectorSprites]]|optional=true}}&lt;br /&gt;
Mandatory if circuit_wire_max_distance  &amp;gt; 0.&lt;br /&gt;
&lt;br /&gt;
{{Prototype property|scale_info_icons|[[Types/bool|bool]]|true|optional=true}}&lt;br /&gt;
If the icons of fluids shown in alt-mode should be scaled to the storage tank&#039;s size.&lt;/div&gt;</summary>
		<author><name>Twinsen</name></author>
	</entry>
</feed>