1.0.13 • Published 11 months ago
@asledgehammer/pipewrench-modeler v1.0.13
PipeWrench Modeler

Description
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
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.
Setup
- Copy your Project Zomboid
media/luafolder to./assets/media/lua. - Run
npm i
Commands
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
Notes
- 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.
Support

Discord Server
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