UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

74 lines (62 loc) 3.25 kB
/** * Detection */ import { GameMechanic } from "../../engine/mechanic.js"; export class Detection extends GameMechanic { constructor() { super(); this.name = "Detection"; this.uuid = "55369627-d1c1-4124-bfb1-360e495493b9"; // Simple description for API/JSON usage this.description = "Detection is a crucial counter-mechanic that allows units and structures to reveal cloaked or stealthed enemies, maintaining tactical balance against invisibility strategies."; // Rich wiki content with {{box}} components this.wiki = ` ## Overview Detection is a crucial counter-mechanic that allows units and structures to reveal cloaked or stealthed enemies, maintaining tactical balance against invisibility strategies. {{box-grid}} {{box header="Detection Capabilities" icon="mdi-radar"}} **What Detection Reveals** - **Cloaked Units**: Temporarily invisible units using active abilities - **Stealthed Units**: Permanently invisible units with passive concealment - **Hidden Structures**: Concealed buildings or installations - **Infiltrators**: Units attempting stealth-based attacks {{/box}} {{box header="Detection Range" icon="mdi-circle-expand"}} **Coverage Mechanics** - **Variable Range**: Each detector has its own detection radius - **Vision Overlap**: Detection often extends beyond normal vision range - **Mobile Detection**: Some units can move while maintaining detection - **Strategic Placement**: Range affects battlefield control {{/box}} {{/box-grid}} ## Tactical Applications Detection serves both aggressive and defensive strategic roles: {{box-grid}} {{box header="Offensive Applications" icon="mdi-crosshairs-gps"}} **Aggressive Detection** - **Target Acquisition**: Reveal enemies for your forces to attack - **Intel Gathering**: Uncover enemy positions and movements - **Area Denial**: Force stealth units out of key locations - **Tactical Advantage**: Remove enemy stealth positioning benefits {{/box}} {{box header="Defensive Applications" icon="mdi-shield-search"}} **Protection & Security** - **Base Security**: Protect key areas from stealth infiltration - **Early Warning**: Detect incoming stealth attacks - **Resource Protection**: Secure harvesters and production facilities - **Perimeter Control**: Maintain awareness of base approaches {{/box}} {{box header="Strategic Considerations" icon="mdi-chess-queen"}} **Meta-Game Balance** - **Counter-Play Dynamic**: Essential response to stealth-heavy strategies - **Resource Investment**: Detection units require dedicated resources - **Positioning**: Detector placement affects battlefield control - **Target Priority**: Detectors are high-value targets for stealth units {{/box}} {{/box-grid}} `; } } Detection.src = "src/zerospace/mechanic/detection.ts"; export default Detection; //# sourceMappingURL=detection.js.map