Electric Fence walls and gates that instantly kill hostile attackers when powered.
Mods introducing new content into the game.
Version: 0.1.1
Date: 2026-04-01
Changes:
- Reworked electric fence power logic to a script-driven cluster system.
- Fence segments now inherit power from any adjacent connected fence segment near a powered electric pole.
- Removed runtime dependence on hidden copper-wire links between fence helpers.
- Added full save rebuild for existing fences on init and configuration changes.
- Fixed zap energy cost conversion from MJ to Joules.
- Removed unstable chain-damage logic and old hidden connector rebuild behavior.
Version: 0.1.1
Date: 2026-04-01
Fixes:
- Fixed collision_mask format to use CollisionMaskConnector with layers table.
- Improved compatibility with mods that inspect prototype collision masks during data-final-fixes.
- Removed macOS metadata from packaged ZIP.
Version: 1.0.0
Date: 2026-04-01
Features:
- Added electric-fence-wall.
- Added electric-fence-gate.
- Added manual copper-wire connector anchors for each fence segment.
- Added hidden electric charge buffers for per-segment zap energy storage.
- Added runtime zap logic using on_entity_damaged.
- Added configurable zap cost and optional visual or sound effects.