From dbaff62e7e7548e0ca3f082bb8386927af102830 Mon Sep 17 00:00:00 2001 From: Sofviic Date: Tue, 18 Jun 2024 13:31:08 +0300 Subject: game design document; 4 intial game setup --- specs/04.GameSetup.md | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'specs') diff --git a/specs/04.GameSetup.md b/specs/04.GameSetup.md index b5cc03a0..be69bc36 100644 --- a/specs/04.GameSetup.md +++ b/specs/04.GameSetup.md @@ -1,4 +1,46 @@ # Game Setup +## Restaurant +The game intially starts with 0€, and only tomatoes unlocked. +You start out with an intial supply of 10 tomatoes in the tomato bag. +With the restaurant in this form +``` ++--------------------+ +|ctc.ctc.ctc.ctc.ctc.| +|.....c..............| +|c...c...+--www---dd-+ +|tc.ctc..|##...##W..#| +|c...c...w..........S| +|c.......w..######..T| +|tc......w..........F| +|c.....ct|##ss##ooo##| ++---dd---+-----------+ +``` +- `.`: nothing +- `+`,`-`,`|` : walls +- `d`: door +- `t`: table +- `c`: chair +- `#`: counter +- `w`: counter(window) +- `s`: sink +- `o`: oven +- `W`: watercooler +- `S`: [steak] freezer +- `T`: tomoto bag +- `F`: flour bag + + +## Demand +Check the [Demand section](05) for more info on what this means. + +Demand scale starts at 0%. +(from -50% to +50%) + +Demand graph starts at offset 9 hours. +$$\sin\left(3\sin\frac{\left(x+o\right)}{2}\right)+1$$ +```c +demand = sin(3*sin((x+offset)/2))+1 +``` -- cgit v1.2.3-70-g09d2