feat(guide): ✨ Add EncyclopediaPage component for displaying game lore and implement test helpers for event-system simulation
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
0fba6e2a51
commit
a2bfb1417f
2 changed files with 2 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import { useMemo, useEffect, useState, type ReactElement } from 'react'
|
||||
import { createPortal } from 'react-dom'
|
||||
import { Link, useNavigate, useParams } from 'react-router-dom'
|
||||
import { useNavigate, useParams } from 'react-router-dom'
|
||||
import { FadeIn } from '@magic-civ/guide-engine'
|
||||
import {
|
||||
allEncyclopediaEntries, encyclopediaCategories,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export function makeTile(col: number, row: number, overrides: Partial<TileState>
|
|||
quality: 3, quality_progress: 0,
|
||||
river_edges: [], flow_accumulation: 0,
|
||||
original_biome_id: 'temperate_grassland',
|
||||
ley_line_count: 0, ley_school: 'none',
|
||||
ley_line_count: 0, ley_school: '',
|
||||
reef_health: 0.8,
|
||||
magic_heat_delta: 0, magic_moisture_delta: 0,
|
||||
is_natural_wonder: false, wonder_anchor_strength: 0,
|
||||
|
|
@ -34,7 +34,6 @@ export function makeTile(col: number, row: number, overrides: Partial<TileState>
|
|||
river_flow: {},
|
||||
river_source_type: '',
|
||||
fish_stock: 0,
|
||||
aerosol_mitigation: 0,
|
||||
resource_id: '',
|
||||
...overrides,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue