zenno: start conversations tool

This commit is contained in:
2026-03-30 21:53:03 -04:00
parent 34e8c1f812
commit e139eae06d
2 changed files with 18 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import convoJSON from '../../../../global/conversation.json'
import globalJSON from '../../../../global/conversation.json'
/**
* Lobby conversation data.
@@ -38,3 +38,11 @@ export interface Conversation {
*/
condition_type: 0 | 1 | 2 | 3 | 4;
}
export const conversation = {
global: globalJSON as Conversation[],
}
export const byChara = {
global: globalJSON.reduce((m, c) => m.set(c.chara_id, (m.get(c.chara_id) ?? []).concat(c as Conversation)), new Map<Conversation['chara_id'], Conversation[]>()),
}

View File

@@ -1,3 +1,11 @@
<script lang="ts">
import CharaPick from "$lib/CharaPick.svelte";
let charaID = $state(1001)
let convo = $state(1)
</script>
<h1>Lobby Conversations</h1>
<p>Find which horses are in a given lobby conversation, and get recommendations on which ones to assign to fixed locations to maximize the chance of getting it.</p>
<p>TODO</p>
<hr>
<CharaPick id="chara" label="Select a character" bind:value={charaID} required />