How patricklumowa/bandits-companion-patch works
Bandits Companion Patch is a Project Zomboid Build 42 mod extending the Bandits mod with custom companion and equipment behavior. The tree shows companion programs and actions, party and equipment logic, and client/server modules; however, no source excerpts were provided, so their call relationships and the precise player-to-result workflow cannot be verified. The README documents the dependency and the duplicate root/42.16 script layouts; nodes use the root paths as representative implementations.
Main entry points: README.md Companion patch
Components 13
Companion behavior
- Zombie programs
media/lua/shared/ZombiePrograms - Zombie actions
media/lua/shared/ZombieActions
Companion systems
- Party management
media/lua/shared/BanditParty.lua - Equipment manager
media/lua/shared/BanditEquipmentManager.lua - Shared behavior
media/lua/shared/Bandit.lua
Game integration
- Client controls
media/lua/client/BanditPlayer.lua - Party and equipment UI
media/lua/client/ISUI - Server commands
media/lua/server/BanditServerCommands.lua - Server spawner
media/lua/server/BanditServerSpawner.lua
Other components
- Player
- Project Zomboid
- Bandits mod
- Companion patch
README.md
Connections 3
- Player → Companion patch: enables
README.md - Project Zomboid → Companion patch: runs with
README.md - Bandits mod → Companion patch: extended by
README.md