Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

JS for Barotrauma (DLC testing)

DLC specific

JS mods here don't reload automatically, after enabling some js mods run js_reload command
At least until i find a way to track mod list changes

Original description:

C# mod that adds JS support to Barotrauma

You can make JS mods now, with js files in JS/Autorun

Also you can run any js expression with 'js' command and debug the game from browser

JS can do anything C# or Lua can do, check Example mod , JS Debugger and killscreen JS example

Wiki [github.com]
Source Code [github.com]
Discussions [github.com]
Issues [github.com]

Why prerelease?

There's no sandboxing or utils because i don't know how you want to use it or what you need
So try stuff and give feedback or i won't add anything

Users should read source code for now, on 1.0.0 js mods will be safe