Drive-In Window extended TC with Chef
- This is still a work in progress. It may be changed in the future.
Drive-In Window extended TC with Chef is an esolang by User:Yoyolin0409.
The layout is similar to what someone would order at a restaurant.
This is actually a fusion of Drive-In Window, Drive-In Window TC, Drive-In Window extended, Chef, Grocery List.
Commands and Syntax
Example:
Hi, welcome to Name of restaurant (Yes! Type anything here!). Here is a menu. Thing: <Currency Symbols><Multiples of 10> Thing2: <Currency Symbols><Multiples of 10> Here are your sides. Side: <Currency Symbols><1~9> Side2: <Currency Symbols><1~9> May I take your order? <command> OK, that will be <anything>. Thanks for <anything>!
Currency Symbols
$€£¥₩฿₹₨රු₫₱₮₪₽₴₺﷼ℳ₣₤₿¤¢
Once a Currency Symbol is selected, all subsequent Currency Symbols must use that symbol
In-program commands
Variable creation
To "create" new variable(s) (=person) if you have no variables yet:
Hello! We are 3 people!
(creates 3 variables. From 1 to 3)
if you already have variables:
Person 5 joined us!
(creates the variable 5)
Variable rename
Person 1's name is "Mark"
(You can now use Mark to replace Person 1)
Syntax
All people start out with a value of 0. With commands, you can change their value throughout the program. They can be under 0 or over 255.
Below is a table of commands and their syntax.
| Code | Meaning |
|---|---|
Person N would like menu_item. |
Assign menu_item price to person N (there can be as many people as needed). |
Person N would like menu_item with side_item. |
Assign menu_item price (plus side_item) to person N (there can be as many people as needed).
If you say "would also like", then it just adds the value to person N. |
Person N would like menu_item, hold the side_item. |
Assign menu_item price minus side_item to person N.
If you say "would not like", then it just subtracts the value from person N. |
Person N will pay for his order! |
Output person N's value as an Unicode character. |
OK, what should Person N get? |
Input Unicode character and save its value into person N. |
OK, how much money should Person N have? |
Input number and save into person N. |
Let's just do this until Person N has no more money! |
Loop the following code until person N is 0. |
Lets just do this until Person N has money! |
Loop the following code until person N isn't 0. |
Lets just do this until Person N has <Currency symbols>X! |
Loop the following code until person N is X. |
When Person N has no more money, do this! |
if person N==0: |
When Person N has money, do this! |
if person N!=0: |
When Person N has <Currency symbols>X, do this! |
if person N==X: |
Or... |
elif #see "If elif else" |
If none of them. |
else |
Like this! |
end for loop and if |
Person N has no more money! |
Sets person N to 0 |
Person N borrows X from Person B. |
B-X, N+X |
Person N needs <Currency symbols>X more/less for his order! |
Add (or subtract) X from person N. |
Person N would like what Person X has. |
Copies the value of person X to person N.
If you say "would also like", then it just adds person X's value to person N. |
Just wait while we decide... |
Pause until a key is pressed. |
Person N would like to get takeout. |
Pushes the value of Person N to their own stack. |
Person N would like to bring in food. |
Pops the value of Person N's stack to their value. |
[Person N is/I am/God is] leaving a review to <Name of restaurant>: [anything not containing a period]. |
Comment/nop. |
Person N is leaving. |
Temporarily disable access to Person N |
Person N is back. |
Temporarily enable access to Person N |
No! Person N is died. |
Delete Person N |
The car has now left. I think their license plate number is <anything>. |
Cancel all Persons for a period of time |
The car with license plate number <anything> is back!
|
Enable Person for all corresponding license plate numbers |
OOF! The car exploded!
|
Delete all Person |
I'm leaving!
|
Stop the program immediately |
I'm going to cook.
|
Start Chef Mode |
Cooking complete!
|
End Chef Mode |
If elif else
When Person 1 has no more money, do this! <thing> Like this! Or when Person 1 has money, do this! <thing> Like this! If none of them. <thing> Like this!
Chef Mode
| Code | Meaning |
|---|---|
| Okay, let me see. There're <list> in the kitchen. | All materials used thereafter must be listed here, including units. You can use the Chef format for the Method., but use commas instead of line breaks. |
Example
Hello World!
Hi, welcome to A. Here is a menu. thing1: $10 thing2: $30 thing3: $70 Here are your sides. thing4: $1 thing5: $2 thing6: $3 May I take your order? God is leaving a review to A: H capitalized, no comma, with space, W capitalized, with exclamation mark variants. Hello! We are 3 people! Person 1's name is "HW" Person 2's name is "elloorld" Person 3's name is " !" HW would like the thing3 with thing5. HW will pay for his order! elloorld would like the thing2, hold the thing4. elloorld would also like what HW has. elloorld will pay for his order! elloorld needs $7 more for his order! elloorld will pay for his order! elloorld will pay for his order! elloorld needs $3 more for his order! elloorld will pay for his order! ! would like the thing2 with thing5. ! will pay for his order! HW would also like the thing1 with thing6. HW needs $2 more for his order! HW will pay for his order! elloorld will pay for his order! elloorld needs $3 more for his order! elloorld will pay for his order! elloorld needs $6 less for his order! elloorld will pay for his order! elloorld needs $8 less for his order! elloorld will pay for his order! ! needs $1 more for his order! ! will pay for his order! Just wait while we decide... OOF! The car exploded! I'm leaving! I am leaving a review to A: I HATE THIS! OK, that will be horrible. Thanks for not letting me die!