Now with added biscuits

This commit is contained in:
Neil McPhail 2024-09-12 10:18:14 +00:00
parent 7257311c61
commit 50d55b8143

View File

@ -2,6 +2,9 @@
PROCESS examine; PROCESS examine;
PROCESS help; PROCESS help;
PROCESS crunch;
FLAG crunchvol;
DEFAULTS DEFAULTS
{ {
@ -39,6 +42,11 @@ LOCATION intro
you always {20}{1}EXAMINE{20}{0} everything you can."; you always {20}{1}EXAMINE{20}{0} everything you can.";
} }
LOCATION scene
{
"Placeholder text which will describe Wimpy's abduction and imprisonment";
}
LOCATION trap LOCATION trap
{ {
"Wimpy is trapped in a room with no obvious exits. "Wimpy is trapped in a room with no obvious exits.
@ -105,6 +113,7 @@ VOCABULARY
NOUN: "BISCU", "PACKE"; NOUN: "BISCU", "PACKE";
NOUN: "MUG", "CUP"; NOUN: "MUG", "CUP";
VERB: "HELP"; VERB: "HELP";
VERB: "EAT";
} }
OBJECT notused 0 OBJECT notused 0
@ -121,6 +130,7 @@ OBJECT mug 1
INITIALLYAT CARRIED; INITIALLYAT CARRIED;
WORDS MUG _; WORDS MUG _;
WEIGHT 1; WEIGHT 1;
PROPERTY CONTAINER;
} }
PROCESS examine PROCESS examine
{ {
@ -130,6 +140,20 @@ PROCESS examine
DONE; DONE;
} }
OBJECT biscuits
{
"An inexhaustible supply of delicious biscuits";
INITIALLYAT CARRIED;
WORDS BISCU _;
WEIGHT 1;
}
PROCESS examine
{
_ BISCU: PRESENT biscuits
MESSAGE "Crunchy and tasty, a supply which will never be exhausted; beloved of all Linux podcasters."
DONE;
}
MESSAGES MESSAGES
{ {
0: "Default message"; 0: "Default message";
@ -220,6 +244,11 @@ RESPONSE
DONE; DONE;
HELP _: PROCESS help HELP _: PROCESS help
DONE; DONE;
EAT BISCU: ABSENT biscuits
NOTDONE;
EAT BISCU: PRESENT biscuits
MESSAGE "Wimpy munches loudly on a delicious and nutritious biscuity treat."
PLUS crunchvol 1;
} }
PROCESS 1 PROCESS 1
@ -231,6 +260,11 @@ PROCESS 1
DESC; DESC;
* *: AT intro * *: AT intro
ANYKEY
GOTO scene
DESC;
* *: AT scene
ANYKEY ANYKEY
GOTO trap GOTO trap
DESC; DESC;
@ -241,6 +275,8 @@ PROCESS 1
PROCESS 2 PROCESS 2
{ {
_ BISCU: NOTZERO crunchvol
PROCESS crunch;
} }
PROCESS examine PROCESS examine
@ -254,3 +290,14 @@ PROCESS help
_ _: MESSAGE "Just placeholder text for now." _ _: MESSAGE "Just placeholder text for now."
DONE; DONE;
} }
PROCESS crunch
{
_ _: EQ crunchvol 1
MESSAGE "The loud crunching causes the walls to shake a little.";
_ _: EQ crunchvol 2
MESSAGE "The walls and floor shift due to the enormous crunching noise.";
_ _: EQ crunchvol 3
MESSAGE "The whole room buckles under the crunching boom.";
_ _: CLEAR crunchvol;
}