feat: add help page & update desc
This commit is contained in:
@@ -2,6 +2,11 @@ import { acceptHMRUpdate, defineStore } from 'pinia'
|
||||
|
||||
const namespace = 'cook'
|
||||
|
||||
/**
|
||||
* survival: 生存模式
|
||||
*/
|
||||
type CookMode = 'survival' | ''
|
||||
|
||||
export const useRecipeStore = defineStore('recipe', () => {
|
||||
const strict = useStorage(`${namespace}:strict`, false)
|
||||
|
||||
@@ -13,6 +18,8 @@ export const useRecipeStore = defineStore('recipe', () => {
|
||||
// const selectedTools = computed(() => Array.from(curTools.value))
|
||||
// const selectedTools = ref('')
|
||||
|
||||
const mode = ref<CookMode>('')
|
||||
|
||||
function toggleStuff(name: string) {
|
||||
if (!curStuff)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user