<?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=Engineer13</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=Engineer13"/>
	<link rel="alternate" type="text/html" href="https://wiki.factorio.com/Special:Contributions/Engineer13"/>
	<updated>2026-04-05T13:17:09Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://wiki.factorio.com/index.php?title=Prototype/Character&amp;diff=120044</id>
		<title>Prototype/Character</title>
		<link rel="alternate" type="text/html" href="https://wiki.factorio.com/index.php?title=Prototype/Character&amp;diff=120044"/>
		<updated>2015-07-06T17:11:28Z</updated>

		<summary type="html">&lt;p&gt;Engineer13: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Basics==&lt;br /&gt;
Entity that you move around on the screen during the campaign and freeplay. Extends the Prototype/EntityWithHealth&lt;br /&gt;
== Properties ==&lt;br /&gt;
=== crafting_categories ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/CraftingCategory]]&lt;br /&gt;
&lt;br /&gt;
=== mining_categories ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/MiningCategory]]&lt;br /&gt;
&lt;br /&gt;
=== idle_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== idle_with_gun_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== running_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== running_sound_animation_positions (Since 0.8) ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: List of [[Types/float]]&lt;br /&gt;
&lt;br /&gt;
List of positions in the running animation when the walking sound is played.&lt;br /&gt;
    running_sound_animation_positions = {14, 29}&lt;br /&gt;
=== running_mask_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
Currently not used.&lt;br /&gt;
&lt;br /&gt;
=== mining_with_hands_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== mining_with_hands_particles_animation_positions ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: List of [[Types/float]]&lt;br /&gt;
&lt;br /&gt;
List of positions in the mining with hand animation when the mining sound and mining particles are created.&lt;br /&gt;
    mining_with_hands_particles_animation_positions = {29, 63}&lt;br /&gt;
&lt;br /&gt;
=== mining_with_tool_animation ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== mining_with_tool_particles_animation_positions ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: List of [[Types/float]]&lt;br /&gt;
&lt;br /&gt;
List of positions in the mining with tool animation when the mining sound and mining particles are created.&lt;br /&gt;
&lt;br /&gt;
=== running_aim ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/RotatedAnimation]]&lt;br /&gt;
&lt;br /&gt;
=== mining_speed ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
=== running_speed ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
=== distance_per_frame ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
=== maximum_corner_sliding_distance ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
=== heartbeat ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/FileName]]&lt;br /&gt;
&lt;br /&gt;
The sound file played when the character&#039;s health is low&lt;br /&gt;
&lt;br /&gt;
=== eat ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/FileName]]&lt;br /&gt;
&lt;br /&gt;
The sound file played when the character eats (fish for example)&lt;br /&gt;
&lt;br /&gt;
=== light ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/LightDefinition]]&lt;br /&gt;
&lt;br /&gt;
=== inventory_size ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/InventorySize]]&lt;br /&gt;
&lt;br /&gt;
The size of the character&#039;s inventory&lt;br /&gt;
&lt;br /&gt;
=== build_distance ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/uint]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
=== drop_item_distance ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/uint]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
=== reach_distance ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/uint]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
=== reach_resource_distance ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/double]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
=== ticks_to_keep_gun ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/uint]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
=== ticks_to_keep_aiming_direction ===&lt;br /&gt;
&#039;&#039;&#039;Type&#039;&#039;&#039;: [[Types/uint]]&lt;br /&gt;
&lt;br /&gt;
Added in 0.11.17&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
    {&lt;br /&gt;
    type = &amp;quot;player&amp;quot;,&lt;br /&gt;
    name = &amp;quot;player&amp;quot;,&lt;br /&gt;
    icon = &amp;quot;__base__/graphics/icons/player.png&amp;quot;,&lt;br /&gt;
    flags = {&amp;quot;pushable&amp;quot;, &amp;quot;placeable-player&amp;quot;, &amp;quot;placeable-off-grid&amp;quot;, &amp;quot;breaths-air&amp;quot;},&lt;br /&gt;
    max_health = 100,&lt;br /&gt;
    healing_per_tick = 0.01,&lt;br /&gt;
    collision_box = {{-0.2, -0.2}, {0.2, 0.2}},&lt;br /&gt;
    selection_box = {{-0.2, -0.2}, {0.2, 0.2}},&lt;br /&gt;
    crafting_categories = {&amp;quot;crafting&amp;quot;},&lt;br /&gt;
    mining_categories = {&amp;quot;mining&amp;quot;},&lt;br /&gt;
    inventory_size = 60,&lt;br /&gt;
    build_distance = 6,&lt;br /&gt;
    drop_item_distance = 6,&lt;br /&gt;
    reach_distance = 6,&lt;br /&gt;
    reach_resource_distance = 2.7,&lt;br /&gt;
    ticks_to_keep_gun = 600,&lt;br /&gt;
    ticks_to_keep_aiming_direction = 100,&lt;br /&gt;
    running_speed = 0.15,&lt;br /&gt;
    distance_per_frame = 0.13,&lt;br /&gt;
    maximum_corner_sliding_distance = 0.7,&lt;br /&gt;
    eat =&lt;br /&gt;
    {&lt;br /&gt;
      {&lt;br /&gt;
        filename = &amp;quot;__base__/sound/eat.wav&amp;quot;,&lt;br /&gt;
        volume = 1&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    heartbeat =&lt;br /&gt;
    {&lt;br /&gt;
      {&lt;br /&gt;
        filename = &amp;quot;__base__/sound/heartbeat.ogg&amp;quot;,&lt;br /&gt;
        volume = 1.5&lt;br /&gt;
      }&lt;br /&gt;
    },&lt;br /&gt;
    idle_animation =&lt;br /&gt;
    {&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 48,&lt;br /&gt;
      frame_height = 66,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      frame_count = 120,&lt;br /&gt;
      stripes =&lt;br /&gt;
      {&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-1.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-2.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-3.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        }&lt;br /&gt;
      },&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    idle_with_gun_animation =&lt;br /&gt;
    {&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 48,&lt;br /&gt;
      frame_height = 66,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      frame_count = 120,&lt;br /&gt;
      stripes =&lt;br /&gt;
      {&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-with-gun-1.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-with-gun-2.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-idle-with-gun-3.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        }&lt;br /&gt;
      },&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    light = {intensity = 0.4, size = 25},&lt;br /&gt;
    mining_speed = 0.01,&lt;br /&gt;
    mining_with_hands_animation =&lt;br /&gt;
    {&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 48,&lt;br /&gt;
      frame_height = 66,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      frame_count = 80,&lt;br /&gt;
      stripes =&lt;br /&gt;
      {&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-mine-with-hands-1.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-mine-with-hands-2.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 40&lt;br /&gt;
        }&lt;br /&gt;
      },&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    mining_with_hands_particles_animation_positions = {29, 63},&lt;br /&gt;
    mining_with_tool_animation =&lt;br /&gt;
    {&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 64,&lt;br /&gt;
      frame_height = 88,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      frame_count = 48,&lt;br /&gt;
      stripes =&lt;br /&gt;
      {&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-mine-with-tool-1.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 24&lt;br /&gt;
        },&lt;br /&gt;
        {&lt;br /&gt;
          filename = &amp;quot;__base__/graphics/entity/player/character-mine-with-tool-2.png&amp;quot;,&lt;br /&gt;
          width_in_frames = 24&lt;br /&gt;
        }&lt;br /&gt;
      },&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    mining_with_tool_particles_animation_positions = {28},&lt;br /&gt;
    running_aim =&lt;br /&gt;
    {&lt;br /&gt;
      filename = &amp;quot;__base__/graphics/entity/player/character-clothes-run-aim.png&amp;quot;,&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 58,&lt;br /&gt;
      frame_height = 72,&lt;br /&gt;
      frame_count = 30,&lt;br /&gt;
      direction_count = 18,&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    running_animation =&lt;br /&gt;
    {&lt;br /&gt;
      filename = &amp;quot;__base__/graphics/entity/player/character-clothes-run.png&amp;quot;,&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 48,&lt;br /&gt;
      frame_height = 66,&lt;br /&gt;
      frame_count = 30,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    running_mask_animation =&lt;br /&gt;
    {&lt;br /&gt;
      filename = &amp;quot;__base__/graphics/entity/player/character-clothes-run-mask.png&amp;quot;,&lt;br /&gt;
      priority = &amp;quot;medium&amp;quot;,&lt;br /&gt;
      frame_width = 48,&lt;br /&gt;
      frame_height = 66,&lt;br /&gt;
      frame_count = 30,&lt;br /&gt;
      direction_count = 5,&lt;br /&gt;
      shift = {0, -0.6}&lt;br /&gt;
    },&lt;br /&gt;
    running_sound_animation_positions = {14, 29}&lt;br /&gt;
  },&lt;/div&gt;</summary>
		<author><name>Engineer13</name></author>
	</entry>
</feed>