<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.coigame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lokasenna</id>
	<title>Captain of Industry Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.coigame.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Lokasenna"/>
	<link rel="alternate" type="text/html" href="http://wiki.coigame.com/Special:Contributions/Lokasenna"/>
	<updated>2026-04-22T13:17:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>http://wiki.coigame.com/index.php?title=Modding&amp;diff=12265</id>
		<title>Modding</title>
		<link rel="alternate" type="text/html" href="http://wiki.coigame.com/index.php?title=Modding&amp;diff=12265"/>
		<updated>2025-12-04T03:46:50Z</updated>

		<summary type="html">&lt;p&gt;Lokasenna: /* Layouts / EntityLayoutParams / EntityLayoutParser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;PAGE IS WIP AND UNDER CONSTRUCTION!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Modding is an exciting endeavor! Hopefully this page can serve as a quick-start on how you can do it to!&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
&lt;br /&gt;
- .NET Framework - https://dotnet.microsoft.com/en-us/download/dotnet-framework/net462&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Quick Start ==&lt;br /&gt;
&lt;br /&gt;
- Clone https://github.com/MaFi-Games/Captain-of-industry-modding into a directory (&amp;lt;code&amp;gt;git clone https://github.com/MaFi-Games/Captain-of-industry-modding.git&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
- Navigate to the directory and into &amp;lt;code&amp;gt;src/ExampleMod&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- Run &amp;lt;code&amp;gt;dotnet build /p:LangVersion=10.0&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We&#039;re using &amp;lt;code&amp;gt;/p:LangVersion=10.0&amp;lt;/code&amp;gt; for building mod, as otherwise it&#039;ll throw errors about too new language features being used. You can also edit &amp;lt;code&amp;gt;ExampleMod.csproj&amp;lt;/code&amp;gt; to contain &amp;lt;code&amp;gt;&amp;lt;LangVersion&amp;gt;10.0&amp;lt;/LangVersion&amp;gt;&amp;lt;/code&amp;gt; in the first &amp;lt;code&amp;gt;PropertyGroup&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Layouts / EntityLayoutParams / EntityLayoutParser  ==&lt;br /&gt;
&lt;br /&gt;
Layouts of structures such as machines or storages are based on a ASCII format passed as list of strings.&lt;br /&gt;
&lt;br /&gt;
Example furnace:&lt;br /&gt;
    [2][2][2][3][3][3][3][3][2]&amp;gt;~Y&lt;br /&gt;
    [2][2][3][5][5][7][7][4][3]   &lt;br /&gt;
 A~&amp;gt;[2][2][3][5][5][7][7][4][3]&amp;gt;&#039;V&lt;br /&gt;
 B~&amp;gt;[2][2][3][5][5][7][7][4][3]&amp;gt;&#039;W&lt;br /&gt;
    [2][2][2][3][3][7][7][4][3]   &lt;br /&gt;
    [2][2][2][2][2][2][2][2][3]&amp;gt;@E&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;A~&amp;gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;B~&amp;gt;&amp;lt;/code&amp;gt; are In Ports, they accept products.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;@E&amp;lt;/code&amp;gt; is exhaust&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;~Y&amp;lt;/code&amp;gt; is slag exit&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;gt;&#039;&amp;lt;/code&amp;gt; are Out Ports, they emit products&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;&amp;gt;&amp;lt;/code&amp;gt; indicates the direction of the port. They can be one of the following:&lt;br /&gt;
&lt;br /&gt;
- &amp;lt;code&amp;gt;&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- &amp;lt;code&amp;gt;&amp;lt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- &amp;lt;code&amp;gt;^&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- &amp;lt;code&amp;gt;v&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is also a &amp;lt;code&amp;gt;+&amp;lt;/code&amp;gt; port type, but meaning is unclear as of yet.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;[1]&amp;lt;/code&amp;gt; - &amp;lt;code&amp;gt;[9]&amp;lt;/code&amp;gt; (&amp;lt;code&amp;gt;[n]&amp;lt;/code&amp;gt; essentially) are heigh units, they define the &amp;quot;hitbox&amp;quot; of the building, how many squares&lt;br /&gt;
it takes up and where pipes/transports can and cannot pass.&lt;br /&gt;
&lt;br /&gt;
Example Chemical Plant:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~E&amp;gt;[7][8][7][6][5][5][5]   &lt;br /&gt;
   [7][7][7][6][5][5][5]   &lt;br /&gt;
#D&amp;gt;[6][6][6][6][5][5][5]&amp;gt;X@&lt;br /&gt;
@A&amp;gt;[5][5][5][5][5][5][5]&amp;gt;Y#&lt;br /&gt;
@B&amp;gt;[5][5][5][5][5][5][5]   &lt;br /&gt;
@C&amp;gt;[5][5][5][5][5][5][5]   &lt;br /&gt;
   [5][5][5][5][5][5][5]   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example Unit storage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   [4][4][4][4][4]   &lt;br /&gt;
 # &amp;gt;4A[4][4][4]X4&amp;gt; # &lt;br /&gt;
   [4][4][4][4][4]   &lt;br /&gt;
 # &amp;gt;4B[4][4][4]Y4&amp;gt; # &lt;br /&gt;
   [4][4][4][4][4]   &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(wrapped on the left and right with whitespace? Why?)&lt;br /&gt;
&lt;br /&gt;
Example loose storage&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;   [6][6][6][6][6]   &amp;quot;,&lt;br /&gt;
&amp;quot; ~ &amp;gt;6A[6][6][6]X6&amp;gt; ~ &amp;quot;,&lt;br /&gt;
&amp;quot;   [6][6][6][6][6]   &amp;quot;,&lt;br /&gt;
&amp;quot; ~ &amp;gt;6B[6][6][6]Y6&amp;gt; ~ &amp;quot;,&lt;br /&gt;
&amp;quot;   [6][6][6][6][6]   &amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example fluid storage:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;   [5][5][5][5][5]   &amp;quot;,&lt;br /&gt;
&amp;quot; @ &amp;gt;5A[5][5][5]X5&amp;gt; @ &amp;quot;,&lt;br /&gt;
&amp;quot;   [5][5][5][5][5]   &amp;quot;,&lt;br /&gt;
&amp;quot; @ &amp;gt;5B[5][5][5]Y5&amp;gt; @ &amp;quot;,&lt;br /&gt;
&amp;quot;   [5][5][5][5][5]   &amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this, we can establish that &amp;lt;code&amp;gt;#&amp;lt;/code&amp;gt; is for transport belts, &amp;lt;code&amp;gt;~&amp;lt;/code&amp;gt; is for loose storage belts and &amp;lt;code&amp;gt;@&amp;lt;/code&amp;gt; is for pipes.&lt;br /&gt;
According to furnace, &amp;lt;code&amp;gt;&#039;&amp;lt;/code&amp;gt; is for melted materials.&lt;br /&gt;
&lt;br /&gt;
You can use the in-game console command &amp;lt;code&amp;gt;print_entity_layout &amp;lt;string&amp;gt;&amp;lt;/code&amp;gt; to print the entity layout of a structure.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;strong&amp;gt;Notice: Some structures in the game use a &amp;quot;old&amp;quot; format of the layout, rather than the current format.&amp;lt;/strong&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References / Samples ==&lt;br /&gt;
&lt;br /&gt;
- https://github.com/MaFi-Games/Captain-of-industry-modding - Official quick-start template&lt;br /&gt;
&lt;br /&gt;
- https://coie.keranik.com/releases - Example mod using a lot of functionality as a sort of cheat engine&lt;/div&gt;</summary>
		<author><name>Lokasenna</name></author>
	</entry>
	<entry>
		<id>http://wiki.coigame.com/index.php?title=The_Ship&amp;diff=12261</id>
		<title>The Ship</title>
		<link rel="alternate" type="text/html" href="http://wiki.coigame.com/index.php?title=The_Ship&amp;diff=12261"/>
		<updated>2025-11-15T08:06:41Z</updated>

		<summary type="html">&lt;p&gt;Lokasenna: Sawmill is obsolete now.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Ship&#039;&#039;&#039; is used for exploring the [[World Map]] and transporting loot from explored locations to the [[Home Island]]. Initially, the [[Shipyard]] has to be repaired, which then allows the player to repair the Ship as well. It can then be fueled with [[Diesel]], and crewed by sailors, who are just workers. As you keep upgrading the ship, it will keep increasing the number of required sailors.&lt;br /&gt;
&lt;br /&gt;
Before you repair a [[Cargo Ship]], an [[Outposts|Outpost]], and setup automatic unloading at a [[Cargo Depot]], you can send the &#039;&#039;&#039;Ship&#039;&#039;&#039; out to load cargo onto it instead. This is useful mostly for initial [[Crude Oil]] importing.&lt;br /&gt;
&lt;br /&gt;
Once you add at least one weapon, it gains a &amp;quot;Battle Score&amp;quot;, representative of how strong it is in battle. You should not attempt to defeat [[Location With Enemy|enemies]] at a location with a much higher score than the &#039;&#039;&#039;Ship&#039;&#039;&#039;. If the &#039;&#039;&#039;Ship&#039;&#039;&#039; is damaged in battle, it will need items such as [[Iron]] and [[Mechanical Parts]] to repair it, which gets more costly as you improve it.&lt;br /&gt;
&lt;br /&gt;
== Ship Upgrades ==&lt;br /&gt;
=== Overview ===&lt;br /&gt;
Parts of the ship can be upgraded. These upgrades increase the ships battle score, and exploration capabilities. In addition, the ship&#039;s appearance will change as upgrades are added.&lt;br /&gt;
&lt;br /&gt;
==== Weapons and Armor ====&lt;br /&gt;
Mainly improve the battle score. You can add two instances of each.&lt;br /&gt;
&lt;br /&gt;
==== Bridge ====&lt;br /&gt;
Increases the radar discovery range of the ship. This allows you to see further areas, and what they contain, although not the loot they have.&lt;br /&gt;
&lt;br /&gt;
Also increases the battle score.&lt;br /&gt;
&lt;br /&gt;
==== Engines ====&lt;br /&gt;
Increase the ship&#039;s movement speed and fuel capacity.&lt;br /&gt;
&lt;br /&gt;
==== Fuel tanks ====&lt;br /&gt;
Increases the ship&#039;s fuel capacity.&lt;br /&gt;
&lt;br /&gt;
=== Details ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Icon&lt;br /&gt;
! Name&lt;br /&gt;
! Recipe&lt;br /&gt;
! Extra Crew&lt;br /&gt;
! Provides&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Bridge&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Bridge.png|128px]]&lt;br /&gt;
| Ship Bridge&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Iron&lt;br /&gt;
  | Input1Qty   = 600&lt;br /&gt;
  }}&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Bridge II.png|128px]]&lt;br /&gt;
| Ship Bridge II&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 600&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 100&lt;br /&gt;
  | Input3Name  = Electronics&lt;br /&gt;
  | Input3Qty   = 100&lt;br /&gt;
  }}&lt;br /&gt;
| 10&lt;br /&gt;
| Hit Point: +500&amp;lt;br/&amp;gt;Radar Range: 1&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Bridge III.png|128px]]&lt;br /&gt;
| Ship Bridge III&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 1200&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 200&lt;br /&gt;
  | Input3Name  = Electronics&lt;br /&gt;
  | Input3Qty   = 600&lt;br /&gt;
  }}&lt;br /&gt;
| 30&lt;br /&gt;
| Hit Point: +1500&amp;lt;br/&amp;gt;Radar Range: 2&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Engine&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Engine.png|128px]]&lt;br /&gt;
| Ship Engine&lt;br /&gt;
| -&lt;br /&gt;
| 15&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Engine II.png|128px]]&lt;br /&gt;
| Ship Engine II&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 160&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 200&lt;br /&gt;
  | Input3Name  = Electronics&lt;br /&gt;
  | Input3Qty   = 60&lt;br /&gt;
  }}&lt;br /&gt;
| 30&lt;br /&gt;
| Fuel: +80&amp;lt;br/&amp;gt;Ship speed increases&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Ship Engine III.png|128px]]&lt;br /&gt;
| Ship Engine III&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 480&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 400&lt;br /&gt;
  | Input3Name  = Electronics II&lt;br /&gt;
  | Input3Qty   = 160&lt;br /&gt;
  }}&lt;br /&gt;
| 60&lt;br /&gt;
| Fuel: +240&amp;lt;br/&amp;gt;Ship speed increases&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Gun&lt;br /&gt;
|-&lt;br /&gt;
| -&lt;br /&gt;
| None&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
| -&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Gun I.png|128px]]&lt;br /&gt;
| Gun I&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Iron&lt;br /&gt;
  | Input1Qty   = 180&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 40&lt;br /&gt;
  }}&lt;br /&gt;
| 10&lt;br /&gt;
| Hit Point: +160&amp;lt;br/&amp;gt;Avg. Damage: 26&amp;lt;br/&amp;gt;Weapon Range: 15&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Gun II.png|128px]]&lt;br /&gt;
| Gun II&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 180&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 80&lt;br /&gt;
  | Input3Name  = Electronics&lt;br /&gt;
  | Input3Qty   = 20&lt;br /&gt;
  }}&lt;br /&gt;
| 15&lt;br /&gt;
| Hit Point: +450&amp;lt;br/&amp;gt;Avg. Damage: 66&amp;lt;br/&amp;gt;Weapon Range: 20&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Gun III.png|128px]]&lt;br /&gt;
| Gun III&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 540&lt;br /&gt;
  | Input2Name  = Mechanical Parts&lt;br /&gt;
  | Input2Qty   = 240&lt;br /&gt;
  | Input3Name  = Electronics&lt;br /&gt;
  | Input3Qty   = 160&lt;br /&gt;
  }}&lt;br /&gt;
| 25&lt;br /&gt;
| Hit Point: +950&amp;lt;br/&amp;gt;Avg. Damage: 113&amp;lt;br/&amp;gt;Weapon Range: 25&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Armor Plating&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Armor Plating.png|128px]]&lt;br /&gt;
| Armor Plating&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Iron&lt;br /&gt;
  | Input1Qty   = 200&lt;br /&gt;
  }}&lt;br /&gt;
| -&lt;br /&gt;
| Hit Point: +250&amp;lt;br/&amp;gt;Armor: 10&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Armor Plating II.png|128px]]&lt;br /&gt;
| Armor Plating II&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 200&lt;br /&gt;
  }}&lt;br /&gt;
| -&lt;br /&gt;
| Hit Point: +750&amp;lt;br/&amp;gt;Armor: 25&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;5&amp;quot; | Fuel Tank&lt;br /&gt;
|-&lt;br /&gt;
| [[File:Extra Fuel Tank.png|128px]]&lt;br /&gt;
| Extra Fuel Tank&lt;br /&gt;
| {{Machine Recipe&lt;br /&gt;
  | Input1Name  = Steel&lt;br /&gt;
  | Input1Qty   = 300&lt;br /&gt;
  }}&lt;br /&gt;
| -&lt;br /&gt;
| Fuel Tank: +40&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{{DEFAULTSORT:Ship, The}}&lt;br /&gt;
[[Category:Content]]&lt;/div&gt;</summary>
		<author><name>Lokasenna</name></author>
	</entry>
	<entry>
		<id>http://wiki.coigame.com/index.php?title=Ore_Sorting_Plant_(Large)&amp;diff=12260</id>
		<title>Ore Sorting Plant (Large)</title>
		<link rel="alternate" type="text/html" href="http://wiki.coigame.com/index.php?title=Ore_Sorting_Plant_(Large)&amp;diff=12260"/>
		<updated>2025-11-15T07:55:12Z</updated>

		<summary type="html">&lt;p&gt;Lokasenna: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Infobox machine&lt;br /&gt;
| Name          = Ore Sorting Plant (Large)&lt;br /&gt;
| Image         = OreSortingPlantT2.png&lt;br /&gt;
| Description   = This facility handles sorting of mixed materials loaded onto your trucks by excavators. This is required as trucks can&#039;t directly deliver mixed loads to storage units or buildings.&lt;br /&gt;
| Recipe        = &lt;br /&gt;
  {{Machine Recipe&lt;br /&gt;
    | Input1Name  = Construction Parts III&lt;br /&gt;
    | Input1Qty   = 450&lt;br /&gt;
    | Input2Name  = Steel&lt;br /&gt;
    | Input2Qty   = 200&lt;br /&gt;
  }}&lt;br /&gt;
| Workers       = 30&lt;br /&gt;
| Electricity   = 700 KW&lt;br /&gt;
| Maintenance   = 26&lt;br /&gt;
| Footprint     = 23x35&lt;br /&gt;
| BoostByUnity  = no&lt;br /&gt;
| Research      = Large Vehicles&lt;br /&gt;
| Designation   = Terraforming&lt;br /&gt;
| DesigImgOverride= Mining.png&lt;br /&gt;
| Variants      = [[Ore Sorting Plant]]&lt;br /&gt;
}}&lt;br /&gt;
The &#039;&#039;&#039;Ore Sorting Plant (Large)&#039;&#039;&#039; is for large mining or terraforming jobs, but as it&#039;s quite expensive (and large), you should consider as to whether multiple smaller ones would be sufficient. Can process up to 2400 units/60[[File:Clock.png|16x16px]] and has 10 outputs.&lt;/div&gt;</summary>
		<author><name>Lokasenna</name></author>
	</entry>
</feed>