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/luafolder to./assets/media/lua. - Run
npm i
-
Development
- Install
gruntjs. - Install
Ruby. - Install
SASS. - Run
gruntfor watching.tsand.scssfiles to compile.
- Install
-
Application
- Run
npx electron main.jsto start the Electron application. - Use
CTRL + Oto open model files. (.json) - Use
CTRL + Sto save model files. - Use
CTRL + Gto 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

