zenno: start conversations tool
This commit is contained in:
@@ -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[]>()),
|
||||
}
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user