chore: remove treasure from runtime story compat contract

This commit is contained in:
2026-04-22 18:40:39 +08:00
parent 6e4c941601
commit 6700e99dc8
4 changed files with 124 additions and 46 deletions

View File

@@ -77,9 +77,6 @@ export const TASK6_RUNTIME_FUNCTION_IDS = [
'npc_quest_accept',
'npc_quest_turn_in',
'npc_trade',
'treasure_inspect',
'treasure_leave',
'treasure_secure',
] as const;
export type Task6RuntimeFunctionId =
(typeof TASK6_RUNTIME_FUNCTION_IDS)[number];
@@ -121,10 +118,6 @@ export type RuntimeStoryOptionInteraction =
| 'quest_accept'
| 'quest_turn_in';
questId?: string;
}
| {
kind: 'treasure';
action: 'inspect' | 'leave' | 'secure';
};
export type RuntimeStoryChoiceAction = RuntimeAction<