- Start the game with
-devconsole
launch argument (Steam Guide / Epic Games Guide) - Press the Backtick (Grave Accent) to toggle console
Command | Description |
---|---|
SetGameTime(Day) | Changes the day |
SetResource("Id", Amount) | Changes the resource amount. Quotes are required for the resource id |
ShowDebugButtonsPanel | Cheats / Debugging buttons |
Id | Name |
---|---|
Coal | Coal |
Wood | Wood |
Steel | Steel |
Steam Cores | Steam Cores |
Raw Food | Raw Food |
Food Rations | Food Rations |
Bodies | Bodies |
Wooden Materials | Structural Profiles |
Steam Tools | Steam Exchangers |
Steel Plates | Steel Composites |
Frostpunk v1.6.1 Dump or run the following (Source):
local a={}function dump(b,c)a[b]=true;local d={}local e=0;for f in pairs(b)do e=e+1;d[e]=f end;table.sort(d)for f,g in ipairs(d)do print(c,g)g=b[g]if type(g)=="table"and not a[g]then dump(g,c.."-")end end end;dump(_G,"-")
Open ConsoleOutput.html
located in the root of the game directory to view them all.
I've figured out how to load Lua scripts into Frostpunk.
Create the file
%APPDATA%\11bitstudios\Frostpunk\script.lua
with the following contents:Then run
gLua:ExecuteFile("script", "project")
in the in-game console.Technicals
When analyzing the
ConsoleOutput.html
there are several directories getting mounted to what appears to be a virtual filesystem.%APPDATA%
: user%APPDATA%\11bitstudios\Frostpunk
: project%USERPROFILE%\Pictures\Frostpunk
: screensThe
ExecuteFile
syntax appears to beExecuteFile(<File Name>, [FileSystem Name])
(<>
is required and[]
is optional).