forked from basil/tomb
A mod loader for The Coffin of Andy and Leyley.
- TypeScript 99.4%
- HTML 0.4%
- Shell 0.2%
| .husky | Moved some configs into package.json, fixed type check hook | |
| scripts | Added boot log | |
| src | Fix for 2.0.12 | |
| .eslintrc.json | Added new lint rule (consistent type imports) | |
| .gitignore | Woodpecker CI changes | |
| .woodpecker.yml | Woodpecker CI changes | |
| LICENSE | Plugin registering | |
| package.json | Updated build setup | |
| pnpm-lock.yaml | mod.json spec 0.1.0 compatibility | |
| README.md | Made README instructions more direct | |
| tsconfig.json | Partial, untested fix for 2.0.12 | |
Tomb
A mod loader for The Coffin of Andy and Leyley. Expect breaking changes. Draws from prior work in OneLoader and CCLoader.
Getting Started
If you want to make mods, read the Making Mods section of the modding wiki.
If you want to play mods, read the Playing Mods section of the modding wiki.
Developing Tomb
If you want to work on Tomb―for example, fixing a bug―refer to the following instructions. If you want to make a mod instead, please go to the Getting Started section.
Clone this repository into the same folder as the game, so the tomb folder is in the same directory as the www folder, and rename it to tomb-src:
The Coffin of Andy and Leyley/
├── tomb-src/
└── www/
Then, in the tomb-src folder, run:
pnpm i
pnpm dev
This will build Tomb in dev mode, which will reload the game every time you make a change to the source.
TODO
- Allow mods to specify other mods as dependencies (i.e. library mods)
- Allow mods to specify other mods as conflicts
- Gracefully handle mod file conflicts (OneLoader-style)
- More descriptive error when no mod.json is present.
- Error handling papercuts
- Handle multiple errors at once
- Logs?
- Refuse to load if coremod is missing?
- Add unit testing
- Drop object URLS once the network request consumes them.