Stretch the cooking list to the panel width; mod documentation
This commit is contained in:
1 parent
d3b785273f
commit
2158f4fdaf
20 files changed
+611
-8
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking — the kitchen of Cthangover
|
||||
|
||||
Cooking is the kitchen of Cthangover's house: the player learns recipes from recipe items, cooks at the kitchen workbench, and watches how many days the party's rations will last. It is a mechanic of the Cthangover game — it opens in the `home_kitchen` scene and uses that game's items — and it is a different thing from Crafting, the general workbench mod used by RPG Plus (see the comparison below).
|
||||
|
||||
## Learning a recipe
|
||||
|
||||
Recipes come as items. Select one in the bag and press **Learn recipe**; the item is used up and the recipe becomes known:
|
||||
|
||||

|
||||
|
||||
## The kitchen
|
||||
|
||||
In the kitchen the story asks what to do. The small panel at the top left counts the rations:
|
||||
|
||||

|
||||
|
||||
- **Rations** — how many are in the bag.
|
||||
- **Daily consumption** — characters in the roster × the rations each eats a day (a setting of the mod, 1 by default).
|
||||
- **Supplies will last** — whole days the rations are enough for.
|
||||
|
||||
**Cook** opens the workbench over the kitchen picture. Known cooking recipes are on the left — the ingredients with their counts, the name and the time — and the selected one is described on the right:
|
||||
|
||||

|
||||
|
||||
Click a recipe, then **Cook**. If the bag holds the ingredients, they are taken, the products are added, the clock moves on by the recipe's time, and a cooking sound plays. Recipes that can be cooked now are listed first.
|
||||
|
||||
After cooking one ration from one wolf meat and two branches:
|
||||
|
||||

|
||||
|
||||
## The data
|
||||
|
||||
The recipe:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
and the item that teaches it:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
The workbench shows only learned recipes of type `Cooking`. The item action that teaches this recipe is code in the mod (one class per recipe).
|
||||
|
||||
The kitchen scenario:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "A room equipped as a kitchen" key=rooms/kitchen/prompt
|
||||
option "Leave" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "Cook" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking and Crafting
|
||||
|
||||
- **Cooking** shows the recipes the player has *learned*, of type `Cooking`, in a full-screen kitchen workbench; it opens with `toggle_cooking_workbench`; it belongs to Cthangover and counts rations.
|
||||
- **Crafting** shows the recipes a *station* lists, without learning; any game opens any station with `craft.open station=…`; ingredients and products are checked before anything is taken.
|
||||
|
||||
Both take ingredients from the bag, give products and move the clock by the recipe's `Time`.
|
||||
|
||||
## If something goes wrong
|
||||
|
||||
1. **The workbench is empty.** No cooking recipe has been learned yet — use a recipe item from the bag first.
|
||||
2. **Cook does nothing.** No recipe is selected, or an ingredient is missing.
|
||||
3. **Rations cannot be eaten.** The ration has no item action; the panel only counts how long the supplies would last, and nothing eats them by itself yet.
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking — la cocina de Cthangover
|
||||
|
||||
Cooking es la cocina de la casa de Cthangover: el jugador aprende recetas a partir de objetos-receta, cocina en el banco de la cocina y vigila cuántos días de raciones le quedan al grupo. Es una mecánica del juego Cthangover —se abre en la escena `home_kitchen` y usa los objetos de ese juego—, y no hay que confundirla con Crafting, el mod de bancos de trabajo general que usa RPG Plus (abajo tienes la comparación).
|
||||
|
||||
## Aprender una receta
|
||||
|
||||
Las recetas llegan como objetos. Selecciona uno en la bolsa y pulsa **Aprender receta**; el objeto se consume y la receta queda aprendida:
|
||||
|
||||

|
||||
|
||||
## La cocina
|
||||
|
||||
En la cocina, la historia pregunta qué hacer. El panel pequeño de la esquina superior izquierda lleva la cuenta de las raciones:
|
||||
|
||||

|
||||
|
||||
- **Raciones** — cuántas hay en la bolsa.
|
||||
- **Consumo diario** — personajes del grupo × raciones que come cada uno al día (un ajuste del mod, 1 por defecto).
|
||||
- **Las provisiones durarán** — días completos que alcanzan las raciones.
|
||||
|
||||
**Cocinar** abre el banco sobre la imagen de la cocina. A la izquierda aparecen las recetas de cocina conocidas —los ingredientes con sus cantidades, el nombre y el tiempo—, y la receta seleccionada se describe a la derecha:
|
||||
|
||||

|
||||
|
||||
Haz clic en una receta y pulsa **Cocinar**. Si la bolsa tiene los ingredientes, se gastan, se añaden los productos, el reloj avanza lo que dura la receta y suena un sonido de cocina. Las recetas que se pueden cocinar ahora mismo encabezan la lista.
|
||||
|
||||
Tras cocinar una ración con una carne de lobo y dos ramas:
|
||||
|
||||

|
||||
|
||||
## Los datos
|
||||
|
||||
La receta:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
y el objeto que la enseña:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
El banco muestra solo las recetas aprendidas de tipo `Cooking`. La acción del objeto que enseña esta receta es código del mod (una clase por receta).
|
||||
|
||||
El escenario de la cocina:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "Una habitación acondicionada como cocina" key=rooms/kitchen/prompt
|
||||
option "Salir" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "Cocinar" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking y Crafting
|
||||
|
||||
- **Cooking** muestra las recetas que el jugador ha *aprendido*, de tipo `Cooking`, en un banco de cocina a pantalla completa; se abre con `toggle_cooking_workbench`; pertenece a Cthangover y cuenta raciones.
|
||||
- **Crafting** muestra las recetas que lista una *estación*, sin aprenderlas; cualquier juego abre cualquier estación con `craft.open station=…`; los ingredientes y los productos se comprueban antes de gastar nada.
|
||||
|
||||
Los dos toman ingredientes de la bolsa, entregan productos y avanzan el reloj según el `Time` de la receta.
|
||||
|
||||
## Si algo falla
|
||||
|
||||
1. **El banco está vacío.** Todavía no se ha aprendido ninguna receta de cocina — usa antes un objeto-receta de la bolsa.
|
||||
2. **Cocinar no hace nada.** No hay receta seleccionada o falta un ingrediente.
|
||||
3. **Las raciones no se pueden comer.** La ración no tiene acción de objeto; el panel solo cuenta cuánto aguantarían las provisiones, y de momento nada las come por su cuenta.
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking——Cthangover の台所
|
||||
|
||||
Cooking は Cthangover の家の台所です。プレイヤーはレシピのアイテムからレシピを覚え、台所の作業台で調理し、パーティの糧食があと何日もつかを見張ります。Cthangover のメカニクスのひとつで、`home_kitchen` シーンで開き、このゲームのアイテムを使います。RPG Plus が使う汎用作業台の mod「Crafting」とは別物です(比較は下記)。
|
||||
|
||||
## レシピを覚える
|
||||
|
||||
レシピはアイテムとして手に入ります。かばんの中で選んで **レシピを覚える** を押すと、アイテムは消費され、レシピを覚えた状態になります:
|
||||
|
||||

|
||||
|
||||
## 台所
|
||||
|
||||
台所では、物語が「何をする?」と尋ねてきます。左上の小さなパネルが糧食を数えます:
|
||||
|
||||

|
||||
|
||||
- **糧食** — かばんの中にある数。
|
||||
- **1 日の消費** — パーティの人数 × 一人あたり 1 日に食べる糧食(mod の設定、初期値は 1)。
|
||||
- **食料のもつ日数** — 糧食が何日もつかを切り捨てた日数。
|
||||
|
||||
**料理する** を押すと、台所の絵の上に作業台が開きます。左側には覚えた調理レシピ — 材料とその数、名前、時間 — が並び、選んだレシピの説明が右側に出ます:
|
||||
|
||||

|
||||
|
||||
レシピをクリックして **料理する**。かばんに材料があれば、材料を消費し、完成品を加え、時計をレシピの時間だけ進め、調理の音が鳴ります。今すぐ作れるレシピが一覧の先頭に並びます。
|
||||
|
||||
狼の肉 1 と枝 2 から糧食 1 を作ったあと:
|
||||
|
||||

|
||||
|
||||
## データ
|
||||
|
||||
レシピ:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
そしてそれを覚えさせるアイテム:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
作業台に表示されるのは、`Cooking` 型で覚えたレシピだけです。このレシピを覚えさせるアイテムアクションは mod 内のコードです(レシピごとに 1 クラス)。
|
||||
|
||||
台所のシナリオ:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "台所として整えられた部屋" key=rooms/kitchen/prompt
|
||||
option "出る" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "料理する" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking と Crafting
|
||||
|
||||
- **Cooking** はプレイヤーが*覚えた* `Cooking` 型のレシピを、全画面の台所用作業台に表示します。開くのは `toggle_cooking_workbench` です。Cthangover 専用で、糧食を数えます。
|
||||
- **Crafting** は*ステーション*が列挙するレシピを、覚えずにそのまま表示します。どのゲームでも `craft.open station=…` でステーションを開けます。材料と完成品は、何かを消費する前に検査されます。
|
||||
|
||||
どちらも材料をかばんから取り、完成品を渡し、レシピの `Time` だけ時計を進めます。
|
||||
|
||||
## うまくいかないとき
|
||||
|
||||
1. **作業台が空のまま。** まだ調理レシピをひとつも覚えていません — まずかばんのレシピアイテムを使ってください。
|
||||
2. **料理するが何もしない。** レシピが選ばれていないか、材料が足りません。
|
||||
3. **糧食を食べられない。** 糧食にはアイテムアクションがありません。パネルは備蓄が何日もつかを数えるだけで、それを自動で食べる仕組みはまだありません。
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking — Cthangover의 부엌
|
||||
|
||||
Cooking은 Cthangover 집안의 부엌입니다. 플레이어는 레시피 아이템으로 레시피를 익히고, 부엌 작업대에서 요리하며, 파티의 식량이 며칠을 버틸지 살핍니다. Cthangover 게임의 메카닉으로 `home_kitchen` 장면에서 열리고 그 게임의 아이템을 씁니다. RPG Plus가 쓰는 범용 작업대 mod인 Crafting과는 다른 것이니 혼동하지 마세요(비교는 아래).
|
||||
|
||||
## 레시피 익히기
|
||||
|
||||
레시피는 아이템으로 옵니다. 가방에서 하나를 고르고 **레시피 배우기**를 누르면 아이템은 소모되고 레시피를 익힌 상태가 됩니다:
|
||||
|
||||

|
||||
|
||||
## 부엌
|
||||
|
||||
부엌에서는 이야기가 무엇을 할지 물어봅니다. 왼쪽 위의 작은 패널이 식량을 셉니다:
|
||||
|
||||

|
||||
|
||||
- **식량** — 가방에 들어 있는 수.
|
||||
- **하루 소비량** — 파티 인원 × 한 사람이 하루에 먹는 식량 수(mod 설정, 기본값 1).
|
||||
- **보급품 지속일** — 식량이 버틸 수 있는 온전한 일수.
|
||||
|
||||
**요리하기**를 누르면 부엌 그림 위에 작업대가 열립니다. 왼쪽에는 익힌 요리 레시피 — 재료와 개수, 이름, 시간 — 이 나열되고, 고른 레시피의 설명이 오른쪽에 표시됩니다:
|
||||
|
||||

|
||||
|
||||
레시피를 클릭하고 **요리하기**를 누르세요. 가방에 재료가 있으면 재료를 소모하고 결과물을 더하며, 게임 시계를 레시피 시간만큼 앞으로 돌리고 요리 소리가 납니다. 지금 만들 수 있는 레시피가 목록 앞쪽에 옵니다.
|
||||
|
||||
늑대 고기 하나와 나뭇가지 두 개로 식량 하나를 만든 뒤:
|
||||
|
||||

|
||||
|
||||
## 데이터
|
||||
|
||||
레시피:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
그리고 그것을 가르쳐 주는 아이템:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
작업대에는 `Cooking` 유형의 익힌 레시피만 표시됩니다. 이 레시피를 가르치는 아이템 액션은 mod 안의 코드입니다(레시피당 클래스 하나).
|
||||
|
||||
부엌 시나리오:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "주방으로 꾸며진 방" key=rooms/kitchen/prompt
|
||||
option "나가기" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "요리하기" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking과 Crafting
|
||||
|
||||
- **Cooking**은 플레이어가 *익힌* `Cooking` 유형 레시피를 전체 화면 부엌 작업대에 보여 줍니다. `toggle_cooking_workbench`로 열리고, Cthangover에 속하며 식량을 셉니다.
|
||||
- **Crafting**은 *작업대*가 나열하는 레시피를 익히지 않고 보여 줍니다. 어떤 게임이든 `craft.open station=…`으로 작업대를 열 수 있습니다. 재료와 결과물은 무언가를 소모하기 전에 검사합니다.
|
||||
|
||||
둘 다 가방에서 재료를 가져오고, 결과물을 주고, 레시피의 `Time`만큼 시계를 움직입니다.
|
||||
|
||||
## 문제가 생겼을 때
|
||||
|
||||
1. **작업대가 비어 있습니다.** 아직 익힌 요리 레시피가 없습니다 — 먼저 가방의 레시피 아이템을 사용하세요.
|
||||
2. **요리하기가 아무것도 하지 않습니다.** 레시피를 고르지 않았거나 재료가 부족합니다.
|
||||
3. **식량을 먹을 수 없습니다.** 식량에는 아이템 액션이 없습니다. 패널은 보급품이 얼마나 버틸지 셀 뿐이고, 아직 스스로 식량을 먹는 것은 없습니다.
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking — кухня Cthangover
|
||||
|
||||
Cooking — это кухня дома в Cthangover: игрок изучает рецепты по предметам-рецептам, готовит на кухонном верстаке и следит, на сколько дней хватит отряду пайков. Это механика игры Cthangover — она открывается в сцене `home_kitchen` и использует предметы этой игры — и это не то же самое, что Crafting, универсальный верстак из RPG Plus (сравнение — ниже).
|
||||
|
||||
## Изучение рецепта
|
||||
|
||||
Рецепты приходят в виде предметов. Выберите такой предмет в сумке и нажмите **Изучить рецепт**; предмет тратится, а рецепт становится известен:
|
||||
|
||||

|
||||
|
||||
## Кухня
|
||||
|
||||
На кухне сюжет спрашивает, что делать. Маленькая панель слева вверху считает пайки:
|
||||
|
||||

|
||||
|
||||
- **Пайки** — сколько их лежит в сумке.
|
||||
- **Потребление в сутки** — персонажи в отряде × сколько пайков съедает каждый за день (настройка мода, по умолчанию 1).
|
||||
- **Запасов хватит** — на сколько целых дней хватит пайков.
|
||||
|
||||
Кнопка **Готовить** открывает верстак поверх кухонной картинки. Слева перечислены известные рецепты готовки — ингредиенты с количествами, название и время — а выбранный рецепт описан справа:
|
||||
|
||||

|
||||
|
||||
Щёлкните рецепт и нажмите **Готовить**. Если в сумке есть ингредиенты, они тратятся, продукты добавляются, часы уходят вперёд на время рецепта и звучит звук готовки. Рецепты, которые можно приготовить прямо сейчас, стоят в списке первыми.
|
||||
|
||||
После приготовления одного пайка из одного волчьего мяса и двух веток:
|
||||
|
||||

|
||||
|
||||
## Данные
|
||||
|
||||
Рецепт:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
и предмет, который его обучает:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
Верстак показывает только изученные рецепты типа `Cooking`. Предметное действие, обучающее этому рецепту, — это код в моде (один класс на рецепт).
|
||||
|
||||
Сценарий кухни:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "Комната оборудованная под кухню" key=rooms/kitchen/prompt
|
||||
option "Выйти" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "Готовить" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking и Crafting
|
||||
|
||||
- **Cooking** показывает изученные рецепты — с типом `Cooking` — на полноэкранном кухонном верстаке; открывается действием `toggle_cooking_workbench`; относится к Cthangover и считает пайки.
|
||||
- **Crafting** показывает рецепты, которые перечисляет *станция*, без какого-либо изучения; любая игра открывает любую станцию командой `craft.open station=…`; ингредиенты и продукты проверяются до того, как будет взято что-либо.
|
||||
|
||||
Оба берут ингредиенты из сумки, выдают продукты и переводят часы на `Time` рецепта.
|
||||
|
||||
## Если что-то пошло не так
|
||||
|
||||
1. **Верстак пуст.** Ни один рецепт готовки ещё не изучен — сначала используйте предмет-рецепт из сумки.
|
||||
2. **«Готовить» ничего не делает.** Рецепт не выбран или не хватает какого-то ингредиента.
|
||||
3. **Пайки нельзя съесть.** У пайка нет предметного действия; панель только считает, на сколько хватит запасов, и сама по себе ничего их не съедает.
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking — căn bếp của Cthangover
|
||||
|
||||
Cooking là căn bếp của ngôi nhà trong Cthangover: người chơi học công thức từ vật phẩm công thức, nấu ăn tại bàn bếp trong bếp và để ý xem khẩu phần của đội còn đủ bao nhiêu ngày. Đây là một cơ chế của trò chơi Cthangover — mở trong cảnh `home_kitchen` và dùng các vật phẩm của trò đó — và khác hẳn với Crafting, mod bàn chế tạo chung mà RPG Plus dùng (so sánh ở dưới).
|
||||
|
||||
## Học một công thức
|
||||
|
||||
Công thức đến dưới dạng vật phẩm. Chọn một vật phẩm trong túi đồ và bấm **Học công thức**; vật phẩm bị tiêu hao và công thức trở thành đã biết:
|
||||
|
||||

|
||||
|
||||
## Căn bếp
|
||||
|
||||
Trong bếp, cốt truyện hỏi bạn muốn làm gì. Bảng nhỏ ở góc trên bên trái đếm khẩu phần:
|
||||
|
||||

|
||||
|
||||
- **Khẩu phần** — bao nhiêu cái trong túi đồ.
|
||||
- **Tiêu thụ mỗi ngày** — số nhân vật trong đội × khẩu phần mỗi người ăn mỗi ngày (thiết lập của mod, mặc định là 1).
|
||||
- **Lương thực đủ dùng** — số ngày tròn trọn mà khẩu phần đủ dùng.
|
||||
|
||||
**Nấu ăn** mở bàn bếp đè lên hình căn bếp. Bên trái là các công thức nấu ăn đã học — nguyên liệu kèm số lượng, tên và thời gian — còn công thức đang chọn được mô tả bên phải:
|
||||
|
||||

|
||||
|
||||
Bấm vào một công thức rồi bấm **Nấu ăn**. Nếu túi đồ có đủ nguyên liệu, chúng bị lấy đi, sản phẩm được thêm vào, đồng hồ chạy thêm đúng thời gian của công thức và tiếng nấu ăn vang lên. Những công thức nấu được ngay xếp đầu danh sách.
|
||||
|
||||
Sau khi nấu một khẩu phần từ một thịt sói và hai cành cây:
|
||||
|
||||

|
||||
|
||||
## Dữ liệu
|
||||
|
||||
Công thức:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
và vật phẩm dạy công thức đó:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
Bàn bếp chỉ hiển thị những công thức đã học thuộc loại `Cooking`. Hành động vật phẩm dạy công thức này là mã nằm trong mod (mỗi công thức một lớp).
|
||||
|
||||
Kịch bản của căn bếp:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "Một căn phòng được cải tạo thành nhà bếp" key=rooms/kitchen/prompt
|
||||
option "Rời đi" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "Nấu ăn" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking và Crafting
|
||||
|
||||
- **Cooking** hiển thị những công thức người chơi đã *học*, thuộc loại `Cooking`, trong bàn bếp toàn màn hình; mở bằng `toggle_cooking_workbench`; thuộc về Cthangover và đếm khẩu phần.
|
||||
- **Crafting** hiển thị các công thức mà một *trạm* liệt kê, không cần học; trò chơi nào cũng có thể mở trạm bằng `craft.open station=…`; nguyên liệu và sản phẩm được kiểm tra trước khi lấy bất cứ thứ gì.
|
||||
|
||||
Cả hai đều lấy nguyên liệu từ túi đồ, đưa ra sản phẩm và đẩy đồng hồ thêm `Time` của công thức.
|
||||
|
||||
## Khi có gì đó không ổn
|
||||
|
||||
1. **Bàn bếp trống trơn.** Chưa học công thức nấu ăn nào — hãy dùng vật phẩm công thức trong túi đồ trước.
|
||||
2. **Nấu ăn không làm gì cả.** Chưa chọn công thức, hoặc thiếu một nguyên liệu.
|
||||
3. **Khẩu phần không thể ăn.** Khẩu phần không có hành động vật phẩm; bảng chỉ đếm xem lương thực đủ dùng bao lâu, và chưa có gì tự ăn chúng.
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
# Cooking——Cthangover 的厨房
|
||||
|
||||
Cooking 就是 Cthangover 里的家用厨房:玩家从配方物品中学习配方,在厨房工作台做饭,并留意队伍的口粮还能撑几天。它是 Cthangover 游戏的一个机制——在 `home_kitchen` 场景中打开,使用该游戏的物品——它与 Crafting(RPG Plus 使用的通用工作台 mod)不是一回事(对比如下)。
|
||||
|
||||
## 学习配方
|
||||
|
||||
配方以物品的形式出现。在背包中选中一个,按下**学习配方**;物品被消耗,配方随即学会:
|
||||
|
||||

|
||||
|
||||
## 厨房
|
||||
|
||||
在厨房里,剧情会问你要做什么。左上角的小面板统计口粮:
|
||||
|
||||

|
||||
|
||||
- **口粮**——背包里有多少。
|
||||
- **每日消耗**——队伍中的人数 × 每人每天吃的口粮数(mod 的设置项,默认为 1)。
|
||||
- **补给可维持**——口粮够用几个整天。
|
||||
|
||||
按下**烹饪**,会在厨房画面上打开工作台。左侧列出已经学会的烹饪配方——原料及数量、名称和时间——右侧是所选配方的说明:
|
||||
|
||||

|
||||
|
||||
点选一个配方,再按**烹饪**。如果背包里有原料,就会消耗原料、加入成品、把时钟拨快配方所需的时间,并播放烹饪音效。现在就能做的配方排在列表最前面。
|
||||
|
||||
用一份狼肉和两根树枝做出一份口粮之后:
|
||||
|
||||

|
||||
|
||||
## 数据
|
||||
|
||||
配方:
|
||||
|
||||
```json
|
||||
{
|
||||
"Kind": "recipe",
|
||||
"Items": [
|
||||
{
|
||||
"Id": "recipe/wolf_meat_to_ration",
|
||||
"Name": "recipe/wolf_meat_to_ration/name",
|
||||
"Description": "recipe/wolf_meat_to_ration/desc",
|
||||
"Type": "Cooking",
|
||||
"Time": 15,
|
||||
"Input": [ { "Id": "food/wolf_meat", "Count": 1 }, { "Id": "resource/branches", "Count": 2 } ],
|
||||
"Output": [ { "Id": "food/ration", "Count": 1 } ]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
以及教会这个配方的物品:
|
||||
|
||||
```json
|
||||
{ "Id": "recipe/wolf_meat_to_ration", "ItemType": "Recipe,Used", "ItemAction": "action/recipe/wolf_meat_to_ration" }
|
||||
```
|
||||
|
||||
工作台只显示已学习的 `Cooking` 类型配方。教会这个配方的物品动作是 mod 里的代码(每个配方一个类)。
|
||||
|
||||
厨房场景的剧本:
|
||||
|
||||
```scenario
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
---
|
||||
select "一个布置成厨房的房间" key=rooms/kitchen/prompt
|
||||
option "离开" key=rooms/kitchen/opt_exit -> :exit
|
||||
option "烹饪" key=rooms/kitchen/opt_cook -> :cook
|
||||
|
||||
:cook
|
||||
action toggle_cooking_workbench
|
||||
end
|
||||
```
|
||||
|
||||
## Cooking 与 Crafting
|
||||
|
||||
- **Cooking** 显示玩家已*学习*的 `Cooking` 类型配方,在厨房工作台中全屏打开;用 `toggle_cooking_workbench` 开启;属于 Cthangover,并统计口粮。
|
||||
- **Crafting** 显示*站点*列出的配方,无需学习;任何游戏都能用 `craft.open station=…` 打开任何站点;在拿走任何东西之前,会先检查原料和成品。
|
||||
|
||||
两者都从背包取原料、产出成品,并按配方的 `Time` 推进时钟。
|
||||
|
||||
## 出问题了?
|
||||
|
||||
1. **工作台是空的。** 还没有学习任何烹饪配方——先使用背包里的配方物品。
|
||||
2. **按“烹饪”没有反应。** 没有选中配方,或者缺少原料。
|
||||
3. **口粮不能吃。** 口粮没有物品动作;面板只是统计补给能维持多久,目前还没有任何东西会自动吃掉它们。
|
||||
Reference in new issue
Block a user