Boss defeats at zones 10/20/30 now pause the game and reveal a one-time Data Archive story entry. Also lower per-zone pirate HP growth from 1.4x to 1.2x. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D5SuZW1XGCkahPX7cHMoRP
17 lines
607 B
TypeScript
17 lines
607 B
TypeScript
import type { LoreEntry } from '../game/types';
|
|
|
|
export function LoreModal({ entry, onDismiss }: { entry: LoreEntry; onDismiss: () => void }) {
|
|
return (
|
|
<div className="lore-overlay" onClick={onDismiss}>
|
|
<div className="lore-panel" onClick={(e) => e.stopPropagation()}>
|
|
<div className="lore-kicker">Архив Данных</div>
|
|
<div className="lore-title">{entry.title}</div>
|
|
<p className="lore-text">{entry.text}</p>
|
|
<button type="button" className="lore-btn" onClick={onDismiss}>
|
|
Продолжить
|
|
</button>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|