
rw-r-r- 183 cdaringe 24 Jan 11:37 info.jsonĭrwxr-xr-x - cdaringe 24 Jan 11:37 node_modules
#Factorio current version mod#
If youĪre familiar with the factorio mod directory stucture, Let us cd "path/to/vroom", and study the content. If you want to do these steps manually, please see the vroom codebase, and replicate the artifacts hosted there. This step automatically installs the aforementioned dependencies and sets up the compiler toolchain. Execute the following commands to get going: This mod will make the character accelerate as he runs, allowing the player to travel at warp speed! $ yarn create factorio-mod vroom The following command can be run to bootstrap a fresh mod project automatically: $ yarn create factorio-mod įor demonstration purposes, I will create a mod called vroom. It is assumed that the reader has installed node & yarn before proceeding further.
#Factorio current version install#
Install factorio-type-kit, typescript, and TypeScriptToLua.npm is the default package manager for nodejs, but the following document uses yarn. I recommend using fnm for installing and managing nodejs installations. We will execute the following steps later, but at a glance, here are the general required steps: The following steps are required to author factorio mods in TS: Factorio in TypeScript - Outline The strongest safety guarantees of any language under the sun, it does offer moderate safety, and works wellĪs a Lua replacement. Good news! factorio-type-kit helps bridge that gap via TypeScript. Unfortunately, Factorio's Lua modding API offers no such provisions. Of course we want type safety when programming Factorio mods.
