WorldObserver is part of the DREAM mod family (Build 42):
- DREAM (multi-repo convenience): https://github.com/christophstrasen/DREAM
Prereqs (for the dev/ scripts): rsync, inotifywait (inotify-tools), inkscape, and a Lua 5.1 interpreter for the smoke test.
git submodule update --init external/LQR external/lua-reactivexDeploy to your local Workshop wrapper folder:
./dev/sync-workshop.shWatch + deploy (default: Workshop wrapper under ~/Zomboid/Workshop):
./dev/watch.shHeadless unit tests:
busted --helper=tests/helper.lua tests/unitNote: tests assume DREAMBase is available at ../DREAMBase (DREAM layout) or external/DREAMBase.
luacheck Contents/mods/WorldObserver/42/media/lua/shared/WorldObserver Contents/mods/WorldObserver/42/media/lua/shared/WorldObserver.luacd external/LQR
busted tests/unitThis repo ships a .pre-commit-config.yaml mirroring CI (luacheck + unit tests).
Enable hooks:
pre-commit installRun on demand:
pre-commit run --all-filesLoader smoke test (after syncing):
./dev/sync-workshop.sh
SOURCE=workshop ./dev/smoke.sh