Modding

From Captain of Industry Wiki
Revision as of 16:43, 16 January 2023 by Captain Of Coit (talk | contribs) (Minor addition about layouts)
Jump to: navigation, search

PAGE IS WIP AND UNDER CONSTRUCTION!

Modding is an exciting endeavor! Hopefully this page can serve as a quick-start on how you can do it to!

Use `dotnet build /p:LangVersion=10.0` for building mod, as otherwise it'll throw errors about too new language features being used.


Layouts / EntityLayoutParams

Layouts of structures such as machines or storages are based on a ASCII format passed as list of strings.

References / Samples

- https://github.com/MaFi-Games/Captain-of-industry-modding - Official quick-start template

- https://github.com/altmank/CaptainOfCheats - Example mod using a lot of functionality as a sort of cheat engine