feat(story): 아스키나라 세계관 스토리 텍스트 적용
progress_service.dart: - 프롤로그: 코드의 신, 컴파일러 현자, 글리치 신 예언 - 버퍼 오버플로우로 마을 리셋, 널 왕국으로 여정 - 태스크: Data Market, Tech Shop, Debug Zone pq_logic.dart: - 시네마틱: Cache Zone, 디버깅 세션, 백도어 발견 - 퀘스트 동사: Patch, Locate, Transfer, Download, Stabilize - Loading → Compiling 변경
This commit is contained in:
@@ -498,7 +498,7 @@ QuestResult completeQuest(PqConfig config, DeterministicRandom rng, int level) {
|
||||
}
|
||||
final name = best.split('|').first;
|
||||
return QuestResult(
|
||||
caption: 'Exterminate ${definite(name, 2)}',
|
||||
caption: 'Patch ${definite(name, 2)}',
|
||||
reward: reward,
|
||||
monsterName: best,
|
||||
monsterLevel: bestLevel,
|
||||
@@ -506,18 +506,18 @@ QuestResult completeQuest(PqConfig config, DeterministicRandom rng, int level) {
|
||||
);
|
||||
case 1:
|
||||
final item = interestingItem(config, rng);
|
||||
return QuestResult(caption: 'Seek ${definite(item, 1)}', reward: reward);
|
||||
return QuestResult(caption: 'Locate ${definite(item, 1)}', reward: reward);
|
||||
case 2:
|
||||
final item = boringItem(config, rng);
|
||||
return QuestResult(caption: 'Deliver this $item', reward: reward);
|
||||
return QuestResult(caption: 'Transfer this $item', reward: reward);
|
||||
case 3:
|
||||
final item = boringItem(config, rng);
|
||||
return QuestResult(
|
||||
caption: 'Fetch me ${indefinite(item, 1)}',
|
||||
caption: 'Download ${indefinite(item, 1)}',
|
||||
reward: reward,
|
||||
);
|
||||
default:
|
||||
// Placate: 2번 시도하여 레벨에 가장 가까운 몬스터 선택
|
||||
// Stabilize: 2번 시도하여 레벨에 가장 가까운 몬스터 선택
|
||||
// 원본 Main.pas:971-984 (fQuest.Caption := '' 처리됨)
|
||||
var best = '';
|
||||
var bestLevel = 0;
|
||||
@@ -530,9 +530,9 @@ QuestResult completeQuest(PqConfig config, DeterministicRandom rng, int level) {
|
||||
}
|
||||
}
|
||||
final name = best.split('|').first;
|
||||
// Placate는 fQuest.Caption := '' 로 비움 → monsterIndex 미저장
|
||||
// Stabilize는 fQuest.Caption := '' 로 비움 → monsterIndex 미저장
|
||||
return QuestResult(
|
||||
caption: 'Placate ${definite(name, 2)}',
|
||||
caption: 'Stabilize ${definite(name, 2)}',
|
||||
reward: reward,
|
||||
);
|
||||
}
|
||||
@@ -803,26 +803,26 @@ List<QueueEntry> interplotCinematic(
|
||||
|
||||
switch (rng.nextInt(3)) {
|
||||
case 0:
|
||||
// 시나리오 1: 우호적 오아시스
|
||||
// 시나리오 1: 안전한 캐시 영역 도착
|
||||
q(
|
||||
QueueKind.task,
|
||||
1,
|
||||
'Exhausted, you arrive at a friendly oasis in a hostile land',
|
||||
'Exhausted, you reach a safe Cache Zone in the corrupted network',
|
||||
);
|
||||
q(QueueKind.task, 2, 'You greet old friends and meet new allies');
|
||||
q(QueueKind.task, 2, 'You are privy to a council of powerful do-gooders');
|
||||
q(QueueKind.task, 1, 'There is much to be done. You are chosen!');
|
||||
q(QueueKind.task, 2, 'You reconnect with old allies and fork new ones');
|
||||
q(QueueKind.task, 2, 'You attend a council of the Debugger Knights');
|
||||
q(QueueKind.task, 1, 'Many bugs await. You are chosen to patch them!');
|
||||
break;
|
||||
|
||||
case 1:
|
||||
// 시나리오 2: 강력한 적과의 전투
|
||||
// 시나리오 2: 강력한 버그와의 전투
|
||||
q(
|
||||
QueueKind.task,
|
||||
1,
|
||||
'Your quarry is in sight, but a mighty enemy bars your path!',
|
||||
'Your target is in sight, but a critical bug blocks your path!',
|
||||
);
|
||||
final nemesis = namedMonster(config, rng, level + 3);
|
||||
q(QueueKind.task, 4, 'A desperate struggle commences with $nemesis');
|
||||
q(QueueKind.task, 4, 'A desperate debugging session begins with $nemesis');
|
||||
|
||||
var s = rng.nextInt(3);
|
||||
final combatRounds = rng.nextInt(1 + plotCount);
|
||||
@@ -830,16 +830,16 @@ List<QueueEntry> interplotCinematic(
|
||||
s += 1 + rng.nextInt(2);
|
||||
switch (s % 3) {
|
||||
case 0:
|
||||
q(QueueKind.task, 2, 'Locked in grim combat with $nemesis');
|
||||
q(QueueKind.task, 2, 'Locked in intense debugging with $nemesis');
|
||||
break;
|
||||
case 1:
|
||||
q(QueueKind.task, 2, '$nemesis seems to have the upper hand');
|
||||
q(QueueKind.task, 2, '$nemesis corrupts your stack trace');
|
||||
break;
|
||||
case 2:
|
||||
q(
|
||||
QueueKind.task,
|
||||
2,
|
||||
'You seem to gain the advantage over $nemesis',
|
||||
'Your patch seems to be working against $nemesis',
|
||||
);
|
||||
break;
|
||||
}
|
||||
@@ -848,45 +848,45 @@ List<QueueEntry> interplotCinematic(
|
||||
q(
|
||||
QueueKind.task,
|
||||
3,
|
||||
'Victory! $nemesis is slain! Exhausted, you lose conciousness',
|
||||
'Victory! $nemesis is patched! System reboots for recovery',
|
||||
);
|
||||
q(
|
||||
QueueKind.task,
|
||||
2,
|
||||
'You awake in a friendly place, but the road awaits',
|
||||
'You wake up in a Safe Mode, but the kernel awaits',
|
||||
);
|
||||
break;
|
||||
|
||||
case 2:
|
||||
// 시나리오 3: 배신 발견
|
||||
// 시나리오 3: 내부자 위협 발견
|
||||
final guy = impressiveGuy(config, rng);
|
||||
q(
|
||||
QueueKind.task,
|
||||
2,
|
||||
"Oh sweet relief! You've reached the kind protection of $guy",
|
||||
'What relief! You reach the secure server of $guy',
|
||||
);
|
||||
q(
|
||||
QueueKind.task,
|
||||
3,
|
||||
'There is rejoicing, and an unnerving encouter with $guy in private',
|
||||
'There is celebration, and a suspicious private handshake with $guy',
|
||||
);
|
||||
q(
|
||||
QueueKind.task,
|
||||
2,
|
||||
'You forget your ${boringItem(config, rng)} and go back to get it',
|
||||
'You forget your ${boringItem(config, rng)} and go back to retrieve it',
|
||||
);
|
||||
q(QueueKind.task, 2, "What's this!? You overhear something shocking!");
|
||||
q(QueueKind.task, 2, 'Could $guy be a dirty double-dealer?');
|
||||
q(QueueKind.task, 2, 'What is this!? You intercept a corrupted packet!');
|
||||
q(QueueKind.task, 2, 'Could $guy be a backdoor for the Glitch God?');
|
||||
q(
|
||||
QueueKind.task,
|
||||
3,
|
||||
'Who can possibly be trusted with this news!? -- Oh yes, of course',
|
||||
'Who can be trusted with this intel!? -- The Binary Temple, of course',
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
// 마지막에 plot|2|Loading 추가
|
||||
q(QueueKind.plot, 2, 'Loading');
|
||||
// 마지막에 plot 추가
|
||||
q(QueueKind.plot, 2, 'Compiling');
|
||||
|
||||
return entries;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user