About this mod
Makes the small vase and diamond items trigger an enemy spawn upon breaking. Enemy will either be the headman or beamer. Mod will attempt to initiate the spawn close to item's break position. If a viable spawn position cannot be created, the mod will fall back to spawning on closest valid LevelPoint already present in the scene.
- Requirements
- Permissions and credits
- Donations
- Automatically attaches "enemy summon on break" behavior to targeted items ("valuable vase small" and "valuable diamond") during game's standard item spawning pipeline at level setup.
- Does not interfere with any other items
- Includes functionality to manually spawn the target items and attach the break behavior (F8 to toggle between the vase and diamond via simple in-game UI and F7 to spawn the item)
- UI is hidden when not in use
- When the item breaks, it attempts to spawn an enemy near the item's break position.
Enemy Summoning Pipeline
- Relies on game's existing EnemyDirector and LevelGenerator to trigger enemy spawn via existing game logic, ensuring multiplayer compatibility via PhotonNetwork.InstantiateRoomObject.
- Enemy spawning uses dynamically created temporary LevelPoint near item's break position.
- If no valid NavMesh is found at desired spawn position, the mod will fall back to nearest valid LevelPoint already present in the scene.
Mod Compatibility
- Works in multiplayer and supports expected enemy AI behavior.
Requirements
- BepInEx 5.x
Please include my social handle @jerrytheshoe if you upload content that showcases this mod!