
Intro
A quick introduction to PythonToSW.
What is PythonToSW
PythonToSW is a Python package that allows you to code up addons for Stormworks: Build and Rescue in Python rather than using Lua. It uses HTTP under the hood to communicate with an in-game addon to carry out function calls.
Unfortunately, since HTTP is used, any PythonToSW addon will be 2x slower than a normal addon due to the request rate limit (one request every two ticks, or 32 requests/s).
Installation
To install or update PythonToSW, simply run:
pip install PythonToSW --upgradeLearn More
Knowledge on Stormworks addons is recommended before proceeding. Consider reading the in-game addon documentation as this documentation assumes you know a decent amount about Stormworks addons.
Refer to Examples to find examples.
Refer to Guides to learn PythonToSW one step at a time.
Refer to Behind The Scenes to learn what happens in the code for PythonToSW without actually reading the code.
Links
Last updated
Was this helpful?