diff options
author | metamuffin <metamuffin@disroot.org> | 2025-10-06 21:23:04 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-10-06 23:03:40 +0200 |
commit | ea86b11b682500160f37b35ea8f06b081cd05036 (patch) | |
tree | b1a2948711354b7089d507f93c04bcc3cb56c1c9 /server/tools/src/book.rs | |
parent | a0e3d80b5f444c6e9474c21da9410ae0f8603e79 (diff) | |
download | hurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar hurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar.bz2 hurrycurry-ea86b11b682500160f37b35ea8f06b081cd05036.tar.zst |
translate html book + more pages
Diffstat (limited to 'server/tools/src/book.rs')
-rw-r--r-- | server/tools/src/book.rs | 43 |
1 files changed, 37 insertions, 6 deletions
diff --git a/server/tools/src/book.rs b/server/tools/src/book.rs index 3e04b54f..bffbe836 100644 --- a/server/tools/src/book.rs +++ b/server/tools/src/book.rs @@ -44,19 +44,50 @@ static RECIPE_PAGES: &[RecipePageParams] = &[ }, RecipePageParams { name: "burger", - repr_items: &["plate:seared-patty,sliced-bun,sliced-lettuce"], + repr_items: &[ + "plate:seared-patty,sliced-bun,sliced-lettuce,sliced-tomato", + "plate:seared-patty,sliced-bun,sliced-cheese,sliced-tomato", + ], + }, + RecipePageParams { + name: "noodles", + repr_items: &["plate:cooked-noodles,sliced-cheese,tomato-juice"], + }, + RecipePageParams { + name: "pizza", + repr_items: &["plate:baked-rolled-dough:sliced-cheese,sliced-mushroom,tomato-juice"], + }, + RecipePageParams { + name: "curry", + repr_items: &["plate:cooked-rice,curry"], + }, + RecipePageParams { + name: "drinks", + repr_items: &[ + "glass:water", + "glass:tomato-juice", + "glass:strawberry-shake", + ], + }, + RecipePageParams { + name: "mochi", + repr_items: &["plate:strawberry-mochi"], + }, + RecipePageParams { + name: "doughnut", + repr_items: &["plate:doughnut"], + }, + RecipePageParams { + name: "doughnut", + repr_items: &["plate:doughnut"], }, - // RecipePageParams { - // name: "noodles", - // repr_items: &["plate:cooked-noodles,tomato-juice"], - // }, ]; pub fn book(data: &Gamedata, serverdata: &Serverdata) -> Result<Book> { let mut pages = Vec::new(); pages.push(BookPage::Contents { - title: trm!("b.toc"), + title: trm!("b.toc.title"), table: vec![], }); let mut toc = Vec::new(); |