@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
66 lines (55 loc) • 2.78 kB
JavaScript
/**
* Biomass - Grell terrain control mechanic
*/
import { GameMechanic } from "../../engine/mechanic.js";
export class Biomass extends GameMechanic {
constructor() {
super();
this.name = "Biomass";
this.uuid = "eeb65543-8b96-4fa2-a428-f3c5b802bc03";
// Simple description for API/JSON usage
this.description = "Biomass is the Grell faction's terrain control mechanic that provides 2 HP/second healing to friendly units and enables various tactical advantages.";
// Rich wiki content with {{box}} components
this.wiki = `
## Overview
Biomass is the Grell faction's terrain control mechanic that provides healing and tactical advantages to friendly units.
{{box-grid}}
{{box header="Healing Effect" icon="mdi-heart-plus"}}
**Regenerative Terrain**
- **Regeneration Rate**: Grell units heal **2 HP/second** on biomass
- **Ownership**: Only affects units from the same faction that generated the biomass
- **Enemy Immunity**: Biomass has no effect on enemy units
- **Continuous**: Healing occurs as long as units remain on biomass
{{/box}}
{{box header="Generation Sources" icon="mdi-sprout"}}
**Biomass Creation**
- **Harvesters**: Generate biomass when stationary (not moving)
- **Threshers**: Generate biomass when in siege mode
- **Buildings**: Grell structures automatically generate biomass in their vicinity
- **Expansion**: Biomass spreads organically across terrain
{{/box}}
{{/box-grid}}
## Multiplayer Mechanics
Biomass becomes even more powerful in team games:
{{box-grid}}
{{box header="Allied Synergy" icon="mdi-account-group"}}
**Team Benefits**
- **Overlapping Areas**: Multiple allied players' biomass can cover the same area
- **Stacking Healing**: All allied units heal from any friendly biomass
- **Shared Territory**: Team members benefit from each other's biomass networks
- **Coordinated Control**: Combined biomass creates larger tactical zones
{{/box}}
{{box header="Ability Interactions" icon="mdi-lightning-bolt"}}
**Enhanced Effects**
- **Spell Synergy**: Various Grell abilities interact with biomass terrain
- **Enhanced Casting**: Some abilities gain bonuses when cast on biomass
- **Tactical Positioning**: Biomass enables strategic ability placement
- **Terrain Advantage**: Biomass provides enhanced defensive positions
{{/box}}
{{/box-grid}}
`;
}
}
Biomass.src = "src/zerospace/mechanic/biomass.ts";
export default Biomass;
//# sourceMappingURL=biomass.js.map