Umbrella is a collection of EmmyLua typings for Project Zomboid's API. This includes:
- Candle: The exposed Java API typings.
- PZLuaStubs: The Lua API typings.
- PZEventStubs: The Events API typings.
- Types are exposed to IntelliSense through EmmyLua, showing what goes where and what's returned.
- No time spent decompiling the game and running tools to get typings. (They are provided already)
- Built using PZ-Rosetta, using Project Zomboid's JavaDocs to make the typings friendlier. (Parameter names, Documentation notes, etc.)
- Each EmmyLua environment behaves differences. (vscode plugin, IntelliJ IDEA, etc.) This could cause issues.
- Forks of EmmyLua behave differently. This can cause issues depending on use.
- Vscode installed.
- Lua Language Server extension installed.
- Create new project.
- Press Ctrl-Shift-P and search for
Lua: Open Addon Manager
in the context menu that opens. - Search for Umbrella, and click enable.
- Create new project.
- Download the correct version of Umbrella (PZ versions used) from Releases page.
- Copy the downloaded folder into your project somewhere.
- Create new project.
- Clone the repository into a sub-folder.
cd [your folder]
git submodule update --init --remote
If you want to install Umbrella globally, Add a path to Umbrella via this extension setting:
If you want to use Umbrella with IntelliJ IDEA, you need to use a build from before 2023 as modern EmmyLua doesn't currently support indexing. You can download older builds of IntelliJ here.
If you like what I do and helped your community a lot, feel free to buy me a coffee! https://ko-fi.com/jabdoesthings