You are viewing a potentially older version of this package. View all versions.
CertiFried-ChainExplosives_Updated-1.0.4 icon

ChainExplosives Updated

Interact with one explosive to detonate ALL placed explosives at once! Chain reaction mining!

Date uploaded a week ago
Version 1.0.4
Download link CertiFried-ChainExplosives_Updated-1.0.4.zip
Downloads 11
Dependency string CertiFried-ChainExplosives_Updated-1.0.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Chain Explosives

When one explosive detonates, all nearby explosives chain react! Perfect for massive demolition projects.

Features

  • Chain reaction explosions
  • All explosives in range detonate together
  • Satisfying demolition gameplay

Requirements

  • BepInEx 5.4.21+
  • EquinoxsModUtils 6.1.3+

Installation

Install via r2modman or manually place the DLL in your BepInEx/plugins folder.

Credits

Changelog

[1.0.2] - 2025-01-05

  • Updated icon

[1.0.0] - 2025-01-03

  • Critical bug fix: Original mod never added explosives to detonation list
  • Explosives now properly tracked and detonated in chain reactions
  • Simplified tracking with HashSet for O(1) duplicate detection
  • Added configurable debug mode

CHANGELOG

Changelog

All notable changes to ChainExplosives will be documented in this file.

[1.0.0] - 2026-01-03

Fixed

  • Critical bug fix: Original mod never added explosives to the detonation list
    • addToExplosiveVisuals postfix only logged but never called .Add()
    • detonateAll() iterated over explosiveVisuals which was always empty
  • Explosives are now properly tracked and detonated in chain reactions

Changed

  • Simplified tracking to use ExplosiveInstance directly instead of ExplosiveVisuals
  • Added HashSet<uint> for O(1) duplicate detection
  • Improved detonation loop with proper exception handling
  • Added configurable debug mode for troubleshooting

Technical

  • Modernized to SDK-style .csproj
  • Fixed struct null comparison errors (ExplosiveInstance is a value type)
  • Removed unused chainDelay config (instant detonation works better)
  • Cleaned up Harmony patch registration

Credits