test(simulation): ✅ Add reusable test helpers for ecology and event system modules
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
18aa88fd94
commit
896fd77e82
2 changed files with 3 additions and 4 deletions
|
|
@ -54,13 +54,13 @@ export function makeTile(col: number, row: number, seed: number): TileState {
|
|||
flow_accumulation: 0.0,
|
||||
original_biome_id: initial_biome,
|
||||
ley_line_count: 0,
|
||||
ley_school: 'none',
|
||||
ley_school: '',
|
||||
reef_health: isWaterTile ? 1.0 : 0.0,
|
||||
magic_heat_delta: 0.0,
|
||||
magic_moisture_delta: 0.0,
|
||||
is_natural_wonder: false,
|
||||
wonder_anchor_strength: 0.0,
|
||||
wonder_anchor_school: 'none',
|
||||
wonder_anchor_school: 'none' as const,
|
||||
wonder_anchor_schools: [],
|
||||
wonder_tier: 0,
|
||||
substrate_id,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
import type { TileState, GridState } from '@magic-civ/engine-ts/types'
|
||||
import type { EventCatalog, CrossTriggers } from '@magic-civ/engine-ts/eventSystem'
|
||||
import type { TileState, GridState, EventCatalog, CrossTriggers } from '@magic-civ/engine-ts'
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Shared test helpers for event-system tests
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue