PipeWrench Modeler is both a TypeScript definitions generator for Lua files for Project Zomboid and a human assistance tool for improving what comes out of the generator. The generator converts Lua files into TypeScript definitions for the PipeWrench development environment.
Models are instructions provided by humans that are digested by the generator. These models provide information that helps define what the generator cannot identify and understand, such as parameter names, function returns, etc. Models are stored in a JSON format.
- Copy your Project Zomboid
media/lua
folder to./assets/media/lua
. - Run
npm i
-
Development
- Install
gruntjs
. - Install
Ruby
. - Install
SASS
. - Run
grunt
for watching.ts
and.scss
files to compile.
- Install
-
Application
- Run
npx electron main.js
to start the Electron application. - Use
CTRL + O
to open model files. (.json
) - Use
CTRL + S
to save model files. - Use
CTRL + G
to generate typings in./dist
- Run
- The modeler is in BETA. The following is still in development:
- The menu-bar at the top isn't defined.
- Deleting models in the menu on the left.
- Arrow-key support for the search menu.
- Rough edges with CSS.
If you like what I do and helped your community a lot, feel free to buy me a coffee! https://ko-fi.com/jabdoesthings https://www.paypal.com/paypalme/JabJabJab