"Smash The Rock" by "John P. Freeman"
When play begins:
seed the random-number generator with 0;
say "[bold type]Basic Text Adventure Info:[roman type][line break]Go North = n (repeat for s, e, w, ne, nw, se, sw)[line break]Examine <thing> = x <thing> (examines it)[line break]Look = l (tells you what's around)[line break]Inventory = i (see what's in your inventory)[line break]Take <thing> (picks up thing)[line break]Unlock <container> with <thing> (opens container with thing)[line break]Open <container> (opens container)[line break]Smash <thing1> with <thing2> (smashes thing1 with thing2)[line break]Talk to <blank> (talk to someone)[line break][line break]"
Include Basic Screen Effects by Emily Short.
[Global Variables]
RockSmashed is a truth state that varies. RockSmashed is usually false.
MetTrader is a truth state that varies. MetTrader is usually false.
PictureMoved is a truth state that varies. PictureMoved is usually false.
[Items]
Things can be Attackable or Unattackable. Things are usually Unattackable.
Things can be Tapewormed or TapewormFree. Things are usually TapewormFree.
Things have a number called damage. Damage is usually 1.
Things have a number called price. Price is usually 1.
Things can be Smashing, Pouring, or Lingering. Things are usually Smashing.
Understand "hand" or "hands" as yourself.
Understand "The Rock" as The Rock.
[Coins]
A coinPile is a kind of thing. Understand "coin/coins/gold" as a coinPile.
A Gold Coin is a kind of coinPile.
[Understand "Gold Coins" as the plural of a Gold Coin.]
A player has a number called coins.
The player has coins 0.
Instead of taking a Gold Coin:
Increase the coins of the player by 1;
Remove the noun from play;
Say "Taken.";
if MetTrader is true:
Say "The Trader would like these.";
otherwise:
Say "If only you had someone to trade with . . .".
A Small Pile of Coins is a kind of coinPile.
Instead of taking a Small Pile of Coins:
Increase the coins of the player by 4;
remove the noun from play;
Say "Taken.";
if MetTrader is true:
Say "The Trader would like these.";
otherwise:
Say "If only you had someone to trade with . . .".
A Sizable Pile of Coins is a kind of coinPile.
Instead of taking a Sizable Pile of Coins:
Increase the coins of the player by 9;
remove the noun from play;
Say "Taken.";
if MetTrader is true:
Say "The Trader would like these.";
otherwise:
Say "If only you had someone to trade with . . .".
A Large Pile of Coins is a kind of coinPile.
Instead of taking a Large Pile of Coins:
Increase the coins of the player by 16;
remove the noun from play;
Say "Taken.";
if MetTrader is true:
Say "The Trader would like these.";
otherwise:
Say "If only you had someone to trade with . . .".
A Coin Pouch is a thing.
The player carries a Coin Pouch.
Instead of dropping A Coin Pouch:
say "Your love of capitalism prevents you from dropping your coins." instead.
[VERBS]
Talking is an action applying to one thing.
Understand "talk to [something]" and "t [something]" and "talk [something]" as talking.
Check talking:
if the noun is not a person:
Say "The [noun] is a [noun], which aren't great at conversation." instead.
Carry out talking:
if the noun is The Rock:
choose a random row in the Table of Rocksults;
say "The rock laughs at you. [line break]'[Insult entry]'[line break]" instead;
if the noun is The Trader:
if MetTrader is false:
now MetTrader is true;
say "The woman looks up to see you and a mild satisfaction strikes their face for a brief moment. [line break]'So! It seems that damned Rock found another plaything. I've long given up trying to destroy it, but you have fun trying. Oh how rude of me, I am a trader by trade, but you can call me The Trader. I've been in this room long enough to find many trinkets; if you talk to me I'd love to hand them over. For a price, that is.' [line break](You may sell with 'sell <item>' or buy with 'buy <item>.' See what's in stock by talking to The Trader. See your coin count in the top right of your screen)[line break]";
otherwise:
say "'So you wish to see what I've got to offer? I hope you've got coins.'";
repeat through the Table of Trades:
say " [Article entry][Printed name of Item entry] - [Price of Item entry][line break]";
otherwise:
say "The [noun] doesn't care to speak to you right now.".
Understand the commands "attack" and "punch" and "destroy" and "kill" and "murder" and "hit" and "whack" and "break" and "smash" and "merk" and "wreck" as something new.
Attacking it with is an action applying to two visible things. Understand "attack [something] with [something]" as attacking it with.
Understand the commands "punch" and "destroy" and "kill" and "murder" and "hit" and "whack" and "break" and "smash" and "merk" and "wreck" as "attack".
Check attacking something with something:
if the noun is Unattackable:
if the noun is yourself:
say "Yeoch! That was quite unpleasant." instead;
otherwise:
say "You see no reason to smash the [noun]." instead.
Carry out attacking something with something:
if the second noun is yourself:
say "You smash The [noun] with your hands. It was not very effective.";
Decrease the health of the noun by 1;
otherwise if the second noun is not enclosed by the player:
say "I don't see a [second noun] in your inventory." instead;
otherwise if damage of second noun is 1:
say "You smash The [noun] with the [second noun]. It was not very effective.";
Decrease the health of the noun by 1;
otherwise if the second noun is Lingering:
if the second noun is the Tapeworm:
say "The Tapeworm latches onto The Rock and wriggles its way inside. Gross.";
now The Rock is Tapewormed;
remove the second noun from play;
otherwise:
say "The [second noun] bounces off The [noun] and lands on the ground. They stand up and brush themself off.";
now the second noun is in the location;
otherwise if damage of second noun is greater than 1:
if the second noun is Smashing:
say "You smash The [noun] with the [second noun]. ";
otherwise if the second noun is Pouring:
say "You splash the [second noun] onto The [noun]. ";
if the damage of the second noun is less than 10:
say "It seems to have done some damage.";
otherwise if the damage of the second noun is less than 100:
say "The Rock seems to wince the tiniest bit.";
otherwise:
say "The Rock shudders with whatever the rock version of pain is.";
Decrease the health of the noun by the damage of second noun;
let N be a random number from 1 to 250;
if N is less than the damage of the second noun:
if the second noun is Smashing, say "The [second noun] crumbles in your hands, rendering it useless.";
if the second noun is Pouring, say "The [second noun] seems to have run out.";
remove the second noun from play;
otherwise if damage of second noun is less than 0:
say "You smash The [noun] with The [second noun]. The Rock absorbs The [noun] into itself and becomes noticeably sturdier.";
remove the second noun from play;
Decrease the health of the noun by the damage of second noun.
Selling it is an action applying to one carried thing. Understand "sell [something]" as selling it.
Check selling it:
if the player cannot see The Trader:
say "No one here is looking to buy." instead.
Carry out selling it:
if the noun is a helper:
Say "You've grown far too attached to [if the noun is not Franklin]your [end if][noun] to sell them.";
otherwise if the Price of the noun is 0 and the noun is not A Coin Pouch:
say "The Trader looks at you with genuine disgust.[line break]'What the . . . What is this? Why the hell would you give me this? I don't want this, take it away from me, please. Damn, time to bleach my eyes again.'";
otherwise:
say "The Trader greets your item with glee.[line break]'[A noun]? What a curious find. A marvelous trinket! I must have it, here's [Price of the noun] gold coin[if the Price of the noun is not 1]s[end if]";
If the noun is not A Coin Pouch:
Increase the coins of the player by the Price of the noun;
say ".'";
otherwise:
say ". Plus a new Coin Pouch!'";
Remove the noun from play;
if the noun is A Coin Pouch:
Now the player carries A Coin Pouch.
Understand the command "buy" as something new.
Understand "buy [thing]" as buying.
Instead of buying something:
if the player cannot see The Trader:
say "No one here is looking to sell." instead;
otherwise:
if there is an item of the noun in the Table of Trades:
if the price of the noun is greater than the coins of the player:
say "You can't quite afford that." instead;
otherwise:
decrease the coins of the player by the price of the noun;
now the noun is not fixed in place;
now the noun is not undescribed;
now the noun is not scenery;
move the noun to the player;
choose a row with item of the noun in the Table of Trades;
say "The Trader reluctantly hands over [PurchaseArticle entry][noun], then greedily takes your coins.";
blank out the whole row;
otherwise:
say "The Trader opens their chest and looks around puzzlingly.[line break]'It seems I don't have a [noun] at the moment.'" instead.
Gambling is an action applying to one number. Understand "bet [number]" as gambling.
Check Gambling:
if the player cannot see the Slot Machine:
say "There's nothing here to gamble with. You need to find somewhere to get your fix . . ." instead.
Carry out gambling:
if the number understood is less than 1:
say "You can't gamble less than one coin.";
otherwise if the coins of the player is 0:
say "Ha, broke.";
otherwise:
if the number understood is greater than the coins of the player:
say "Nice try buddy. ";
now the number understood is the coins of the player;
say "You slip [the number understood in words] gold coin[if the number understood is not 1]s[end if] into the machine and the wheels of the machine start spinning . . .[line break]";
wait for any key;
let N be a random number from 1 to 10;
if N is greater than 4:
let winnings be the number understood multiplied by 2;
say "Winner Winner Winner! The machine pops out [winnings] gold coins which you grab greedily. You realize you're on a winning streak and should gamble more.";
Increase the coins of the player by the number understood;
otherwise:
say "Whomp Whomp, someone's our big loser! You realize that with all this bad luck you're in for a big score soon.";
Decrease the coins of the player by the number understood.
[CENTER]
Center of Room is a room. [if unvisited]You stand in the center of a giant, windowless room that extends out into the distance. You wonder why someone in their right mind would make such a large room, at least until you notice the enormous rock in front of you with two small googly eyes hot glued to it. Clearly the designer of the room was not in their right mind, so you may as well not question it. The Rock is sitting on top of a small trapdoor, the room's only identifiable exit. You jump as The Rock shouts at you.[line break]'Oi ya bastard! I certainly be doubtin that you be gettin out of ere. Least not without goin through me first, but with yer scrawny lil arms ye aint go much chance o that! Heh heh heh . . . ' The googly eyes shake as it laughs. 'Smash me if ye dare!'[line break]The pirate accent seems fake and you doubt The Rock is committed enough to continue it next time. [line break][end if]The room extends in all directions[if unvisited], including northeast, southwest, etc. You hear bored but melodic humming to the north.[otherwise].[end if]
The Rock is here. "". The Rock is a neuter person. The indefinite article of The Rock is "The". The Rock is Attackable.
1 Gold Coin is here.
The Andesite Chest is here. It is a locked container. It is fixed in place.
The matching key of the Andesite Chest is the Andesite Key.
The Gold Key is in the Andesite Chest.
1 Sizable Pile of Coins is in the Andesite Chest.
[N]
Northern Side is north of Center of Room. [If unvisited]An old woman covered in robes sits on a small stool behind a large wooden chest. A dangling sign on the front says 'Sellin Stuff'. Talking to them may lead to good deals.[line break][end if]The room ends to the north, but continues in all other directions.
The Trader is here. "[if MetTrader is false]An old woman is here.[otherwise]The Trader is here."
The Trader is a woman. The indefinite article of The Trader is "The".
Understand "old woman" or "woman" as The Trader.
[S]
Southern Side is south of Center of Room. [If unvisited]In front of you massive obsidian steps lead up to an ominous alter. At the top is an Obsidian Chest flanked by two burning Black Candles. You wonder who keeps replacing the candles, but that's not important right now. Before you is an Ornate Obsidian Key. How convenient![line break][end if]The room ends to the south, but continues in all other directions..
An Obsidian Key is a kind of thing. Understand "Obsidian Keys" as the plural of Obsidian Key.
The Ornate Obsidian Key is an Obsidian Key. It is here.
The Obsidian Chest is a locked container. It is here. It is fixed in place.
Another Obsidian Chest is a locked container. It is fixed in place.
A Piece of Paper is a thing. It has Damage 500.
The Obsidian Skull is a thing. It has Price 128. The indefinite article of The Obsidian Skull is "The".
The Obsidian Pile is a Large Pile of Coins. The printed name of the Obsidian Pile is "Large Pile of Coins".
Yet Another Obsidian Chest is a locked container. It is fixed in place.
Check unlocking The Obsidian Chest with something:
If the second noun is an Obsidian Key:
say "As you turn the key, you jump back as the Obsidian Chest rumbles and shakes before dissolving into a fine obsidian powder that blows away in a gust of wind. Where there used to be the Obsidian Chest you now see . . . Another Obsidian Chest.";
Remove The Obsidian Chest from play;
Remove the second noun from play;
Now Another Obsidian Chest is in Southern Side instead.
Check unlocking Another Obsidian Chest with something:
If the second noun is an Obsidian Key:
say "As you turn the key, you are slightly less surprised to see this Obsidian Chest rumble and shake before dissolving into a fine obsidian powder. Inside it was Yet Another Obsidian Chest.";
Remove Another Obsidian Chest from play;
Remove the second noun from play;
Now Yet Another Obsidian Chest is in Southern Side instead.
Check unlocking Yet Another Obsidian Chest with something:
If the second noun is an Obsidian Key:
say "As you turn the key for the final time, the final Obsidian Chest dissolves into even more obsidian powder. As the last of the dust blows away you see The Obsidian Skull, a Large Pile of Coins, and a Piece of Paper.";
Remove Yet Another Obsidian Chest from play;
Remove the second noun from play;
Now The Obsidian Skull is in Southern Side;
Now the Obsidian Pile is in Southern Side;
Now A Piece of Paper is in Southern Side instead.
A Black Candle is a kind of thing. They have Price 10. They are undescribed. Understand "Black Candles" as the plural of Black Candle.
Two Black Candles are here.
The Obsidian Steps are here. They are scenery. The description of the Obsidian Steps is "Each step is engraved with ominous runes. Thankfully you majored in rune deciphering back at rune school. [line break]'The Obsidian Chest is beyond one key, if you seek its contents three shall it be'".
[E]
Eastern Side is east of Center of Room. [If unvisited]You are greeted by flashing lights and beepy boops from a Slot Machine built into the wall. Slumped in a chair facing it is an Entire Human Skeleton, with a Sizable Pile of Coins and an Emerald Key scattered below them. [line break][end if]The room ends to the east, but continues in all other directions..
Eastern Side is southeast of Northern Side.
Eastern Side is northeast of Southern Side.
1 Sizable Pile of Coins is here.
The Emerald Key is here.
An Entire Human Skeleton is here. It has Price 9.
The Slot Machine is here. It is fixed in place. The description of the Slot Machine is "[If unvisited][line break][end if]Someone scratched a message on the back of the machine: Let's go gambling! Try 'Bet 1'".
A chair is here. "It looks surprisingly comfortable given the location. Likely so that people want to gamble longer." The chair is scenery.
[W]
Western Side is west of Center of Room. [If unvisited]Pushed against the western side of the room is a giant haystack. You wonder what you might find in there . . .[line break][end if]The room ends to the west, but continues in all other directions..
Western Side is southwest of Northern Side.
Western Side is northwest of Southern Side.
1 Small Pile of Coins is here.
The Haystack is here. It is fixed in place.
Instead of searching the Haystack:
let N be a random number between 0 and 1;
if the number of filled rows in the Table of Hay is 0:
say "You doubt there's anything else to find in here.";
otherwise:
if N is 1:
choose a random row in the Table of Hay;
say "While searching in the hay you find [a item entry].";
if the item entry is a Gold Coin:
increase the coins of the player by 1;
otherwise:
now the player carries the item entry;
blank out the whole row;
otherwise:
say "After flopping around in the hay for a couple minutes, you don't seem to find anything.".
[NE]
Northeast Corner is northeast of Center of Room. [If unvisited]In the corner of the room is a chest made entirely of rubies. Pacing around the center of the room is a large, angry goose. It honks at you angrily.[line break][end if]The room's walls block you to the north and east.".
Northeast Corner is north of Eastern Side.
Northeast Corner is east of Northern Side.
The Ruby Chest is here. It is a locked container. It is fixed in place.
The matching key of the Ruby Chest is the Ruby Key.
The Rare Ruby is inside the Ruby Chest. It has Price 32.
The Angry Goose is here. The Angry Goose is a neuter person.
[SE]
Southeast Corner is southeast of Center of Room. [If unvisited]In the corner of the room is a chest made entirely of gold. Wriggling on the floor in front of you is a tapeworm.[line break][end if]The room's walls block you to the south and east.".
Southeast Corner is south of Eastern Side.
Southeast Corner is east of Southern Side.
The Gold Chest is here. It is a locked container. It is fixed in place.
The matching key of the Gold Chest is the Gold Key.
The Diamond Key is in the Gold Chest.
1 Large Pile of Coins is in the Gold Chest.
The Tapeworm is here. It is edible. It has Price 0. It has Damage 3. It is Lingering.
After eating the Tapeworm:
now the player is Tapewormed;
say "Did you . . . did you just eat that tapeworm? Why . . . you know what, fine. I guess you have a tapeworm now. Congratulations." instead.
[SW]
Southwest Corner is southwest of Center of Room. [If unvisited]In the corner of the room is a chest made entirely of emeralds. On the floor before you sits a massive Russian Nesting Doll. [line break][end if]The room's walls block you to the south and west.".
Southwest Corner is south of Western Side.
Southwest Corner is west of Southern Side.
The Emerald Chest is here. It is a locked container. It is fixed in place.
The matching key of the Emerald Chest is the Emerald Key.
The Rare Emerald is inside the Emerald Chest. It has Price 16.
The Massive Russian Nesting Doll is here. It is an openable closed container.
The Enormous Russian Nesting Doll is inside the Massive Russian Nesting Doll. It is an openable closed container.
The Giant Russian Nesting Doll is inside the Enormous Russian Nesting Doll. It is an openable closed container.
The Huge Russian Nesting Doll is inside the Giant Russian Nesting Doll. It is an openable closed container.
The Large Russian Nesting Doll is inside the Huge Russian Nesting Doll. It is an openable closed container.
The Sizable Russian Nesting Doll is inside the Large Russian Nesting Doll. It is an openable closed container.
The Average Russian Nesting Doll is inside the Sizable Russian Nesting Doll. It is an openable closed container.
The Undersized Russian Nesting Doll is inside the Average Russian Nesting Doll. It is an openable closed container.
The Small Russian Nesting Doll is inside the Undersized Russian Nesting Doll. It is an openable closed container.
The Little Russian Nesting Doll is inside the Small Russian Nesting Doll. It is an openable closed container.
The Petite Russian Nesting Doll is inside the Little Russian Nesting Doll. It is an openable closed container.
The Miniature Russian Nesting Doll is inside the Petite Russian Nesting Doll. It is an openable closed container.
The Tiny Russian Nesting Doll is inside the Miniature Russian Nesting Doll. It is an openable closed container.
The Ruby Key is inside the Tiny Russian Nesting Doll.
[NW]
Northwest Corner is northwest of Center of Room. [If unvisited]In the corner of the room is a majestic chest made entirely of diamonds. On the wall next to it is a far less majestic framed picture of The Rock photoshopped onto a picture of a shirtless Dwayne Johnson. It is . . . hard to look at.[line break][end if]The room's walls block you to the north and west.".
Northwest Corner is north of Western Side.
Northwest Corner is west of Northern Side.
The Diamond Chest is here. It is a locked container. It is fixed in place.
The matching key of the Diamond Chest is the Diamond Key.
The Rare Diamond is inside the Diamond Chest. It has Price 64.
The Glossy Obsidian Key is inside the Diamond Chest. It is an Obsidian Key.
The Picture is here. It has price 0.
The printed name of the Picture is "Framed Picture of The Rock Photoshopped onto a Picture of a Shirtless Dwayne Johnson".
Understand "picture/frame/framed/dwayne/johnson/photoshopped" as the Picture.
[END]
The The End of the Game is a room.
The trapdoor is a door.
The trapdoor is down from Center of Room and above The End of the Game.
After going to The End of the Game:
let score be the coins of the player multiplied by 3;
decrease score by the turn count;
if the player is Tapewormed:
decrease score by 25;
end the story saying "[line break]After climbing down a long ladder you find yourself looking down a much, much longer hallway. At the end you can just barely see light. Finally, escape. Behind you you hear The Trader descending the ladder.[line break]'So you actually did it, I didn't think you had it in you. If only the creator of the game made rooms outside of this one. Unfortunately, it seems this room is called The End of the Game, so I doubt there's anything past this.'[line break][line break]You have successfully smashed The Rock. [line break]Score: [score][line break](Hint: Score is Three Times Gold Coins minus Turns Spent[if the player is Tapewormed], minus another 25 for having a tapeworm, you absolute idiot[end if])[line break] ".
[Rules]
Understand the command "take" as something new.
Understand the command "get" as something new.
Understand the command "pick" as something new.
Understand "take [something]" as taking.
Understand "get [something]" as taking.
Understand "pick up [something]" as taking.
Understand "pick [something] up" as taking.
The parser error internal rule response (H) is "One at a time, please!".
test me with "get all / take all / pick all up / pick up all"
Before opening the trapdoor:
if RockSmashed is true:
say "You push aside the rubble, thankful that The Rock has finally shut up, and open the trapdoor.";
otherwise:
say "That seems to be quite difficult with The Rock on top it." instead.
Instead of pushing The Rock:
say "The Rock is far too heavy to push.".
Instead of taking The Rock:
say "The Rock is far too heavy to pick up.".
Instead of pulling The Rock:
say "The Rock is far too heavy to pull.".
Instead of pushing The Haystack:
say "Pushing haystacks is difficult.".
Instead of taking The Haystack:
say "That's far too much hay to fit in your pocket.".
Instead of pulling The Haystack:
say "Pulling haystacks is difficult.".
After Pushing the Picture:
if PictureMoved is false:
now PictureMoved is true;
now the Andesite Key is in the location;
say "Pushing the horrible picture reveals a small hole in the wall. Inside it is an Andesite Key.".
After Pulling the Picture:
if PictureMoved is false:
now PictureMoved is true;
now the Andesite Key is in the location;
say "Pulling the horrible picture reveals a small hole in the wall. Inside it is an Andesite Key.".
After Taking the Picture:
if PictureMoved is false:
now PictureMoved is true;
now the Andesite Key is in the location;
say "Taking the horrible picture reveals a small hole in the wall. Inside it is an Andesite Key.".
After looking in Center of Room:
if RockSmashed is false:
choose a random row in the Table of Rocksults;
say "The rock laughs at you. [line break]'[Insult entry]'[line break]".
After dropping a Helper:
say "[if the noun is not Franklin]Your [end if][noun] stands up and brushes itself off.".
Before doing anything to something when there is an item of the noun in the Table of Trades:
if the player's command includes "buy":
continue the action;
otherwise:
say "You can't see any such thing." instead.
Before doing anything to the Angry Goose:
say "You take a step towards the Angry Goose, but jump away in terror as it lets out a terrifying 'Muak!'" instead.
The Rubble is a thing. It is nowhere.
The indefinite article of The Rubble is "The".
Every turn:
Now the right hand status line is "Gold Coins: [coins of the player]";
Now the Price of the Coin Pouch is the coins of the player;
Repeat with helper running through Helpers:
if the location of helper is the location of The Rock and the helper is not enclosed by the player:
if the location of the helper is the location of the player:
say "You see [if helper is not Franklin]your [end if][helper] chip away at The Rock.[line break]";
otherwise:
say "You hear [if helper is not Franklin]your [end if][helper] chipping away at The Rock in the distance.[line break]";
decrease the health of The Rock by the damage of the helper;
If the location of the player is the location of the Angry Goose:
if the coins of the player is greater than 2:
say "The Angry Goose honks angrily at you and steals two coins.";
decrease the coins of the player by 2;
otherwise if the coins of the player is 0:
say "The Angry Goose glares at you threateningly.";
otherwise:
say "The Angry Goose honks angrily at you and steals the rest of your coins.";
now the coins of the player is 0;
If The Rock is Tapewormed:
decrease the health of The Rock by 3;
If the health of The Rock is at most 0 and RockSmashed is false:
say "[if the location of The Rock is not the location of the player]In the distance you see The Rock begin [otherwise]The Rock begins [end if]shaking as it slowly crumbles into dust.[line break]'Oh geez, oh no, not like this! I didn't want it to end like this! I still have so many insults! Uuuh . . . you're . . . you look really dumb right now. And your forehead is big. More like a fivehead. Heheheh, how was that? Was that good? Ok ima die now.'[line break]Within moments all that's left is a pile of rubble. You could feel bad, but you have trapdoors to go through.";
Remove The Rock from play;
Now RockSmashed is true;
Now The Rubble is in the Center of Room.
[Descriptions]
The description of the player is "How are you going to do that without a mirror?".
The description of the Trader is "They seem willing to talk and trade, assuming you have the wares.".
The description of A Coin Pouch is "A small fabric pouch tied with string. It is empty.".
The description of the Haystack is "This Haystack is quite searchable.".
The description of Franklin is "You see everything special about Franklin.".
Every turn:
if the number of filled rows in the Table of Hay is 0:
Now the description of the Haystack is "You doubt there's anything else to find in there.";
Now the description of A Coin Pouch is "A small fabric pouch tied with string. [if coins of the player is 0]It is empty. [otherwise if coins of the player is 1]There's one coin inside. [otherwise]You count [coins of the player] gold coins inside. [end if]".
The description of The Rubble is "A pile of debris taking up a solid chunk of the room. Two googly eyes are sat cartoonishly on top.".
The Rock has a number called health.
The Rock has health 1000.
Before examining The Rock:
if health of The Rock is greater than 1000:
now the description of the rock is "The Rock is somehow cleaner and sturdier than before.[line break](Rock Health: [health of the rock])";
otherwise if health of The Rock is greater than 800:
now the description of the rock is "The Rock is sturdy, with no scratches or scrapes to speak of.[line break](Rock Health: [health of the rock])";
otherwise if health of The Rock is greater than 600:
now the description of the rock is "The Rock has a scrape or two, but is overall unscathed.[line break](Rock Health: [health of the rock])";
otherwise if health of The Rock is greater than 400:
now the description of the rock is "The Rock has seen better days, but shows no meaningful signs of breaking soon.[line break](Rock Health: [health of the rock])";
otherwise if health of The Rock is greater than 200:
now the description of the rock is "The Rock is quite worse for wear, with deep gouges and divots all over.[line break](Rock Health: [health of the rock])";
otherwise if health of The Rock is greater than 0:
now the description of the rock is "The Rock is barely holding itself together. Deep cracks so deep you cant see the bottom cover all faces, and the surface is covered in its own dust.[line break](Rock Health: [health of the rock])".
[Tables]
Table of Rocksults
Insult
"Your heads denser than mine."
"You should take a long walk off a short pier."
"Thou shalt not pass."
"Ive seen stalagmites with more muscles than you."
"Whatre you going to do big guy? Sit on me?"
"Youre softer than limestone."
"This is assault. Get it? A salt? Hehehehehe."
"I cannot granite you access."
"You probably weigh more than I do."
"I'm just going to be honest with you, I do not like you very much."
"They could fill a library with all the things you don't know. In fact they do, they call them libraries."
"Uuh . . . I can't think of anything. Coming up with insults is hard, don't judge me!"
Table of Trades
Item Article PurchaseArticle
Rubber Mallet "" "the "
Chisel "" "the "
Hammer "" "the "
Stone "The " "The "
Garden Gnome "" "the "
Log "The " "the "
40% HCl "" "the "
Dwarf "" "the "
Sledgehammer "" "the "
Boulder "The " "The "
Bucket 'o' Napalm "" "the "
Franklin "" ""
A Helper is a kind of thing.
A Rubber Mallet is a thing. It has Price 2. It has Damage 3. It is in Northern Side. It is fixed in place and undescribed and scenery.
A Chisel is a thing. It has Price 5. It has Damage 5. It is in Northern Side. It is fixed in place and undescribed and scenery.
A Hammer is a thing. It has Price 8. It has Damage 10. It is in Northern Side. It is fixed in place and undescribed and scenery.
The Stone is a thing. It has Price 12. It has Damage -50. It is in Northern Side. It is fixed in place and undescribed and scenery. The indefinite article of The Stone is "The".
A Garden Gnome is a Helper. It has Price 16. It has Damage 4. It is in Northern Side. It is fixed in place and undescribed and scenery. It is Lingering.
The Log is a thing. It has Price 20. It has Damage 25. It is in Northern Side. It is fixed in place and undescribed and scenery. The indefinite article of The Log is "The".
40% HCl is a thing. It has Price 24. It has Damage 50. It is in Northern Side. It is fixed in place and undescribed and scenery. It is Pouring.
A Dwarf is a Helper. It has Price 32. It has Damage 10. It is in Northern Side. It is fixed in place and undescribed and scenery. It is Lingering.
A Sledgehammer is a thing. It has Price 36. It has Damage 100. It is in Northern Side. It is fixed in place and undescribed and scenery.
The Boulder is a thing. It has Price 42. It has Damage -500. It is in Northern Side. It is fixed in place and undescribed and scenery. The indefinite article of The Boulder is "The".
A Bucket 'o' Napalm is a thing. It has Price 50. It has Damage 200. It is in Northern Side. It is fixed in place and undescribed and scenery. It is Pouring.
Franklin is a Helper. It has Price 64. It has Damage 25. It is in Northern Side. It is fixed in place and undescribed and scenery. It is Lingering.
[The Derocker is in the Center of Room. It has Price 10000. It has Damage 10000. ]
Table of Hay
Item
Gold Coin 1
Gold Coin 2
Gold Coin 3
Gold Coin 4
Gold Coin 5
Shiny Needle
Rusty Needle
Dull Needle
Copper Needle
Dusty Obsidian Key
Gold Coin 1 is a Gold Coin. The printed name of Gold Coin 1 is "a Gold Coin".
Gold Coin 2 is a Gold Coin. The printed name of Gold Coin 2 is "a Gold Coin".
Gold Coin 3 is a Gold Coin. The printed name of Gold Coin 3 is "a Gold Coin".
Gold Coin 4 is a Gold Coin. The printed name of Gold Coin 4 is "a Gold Coin".
Gold Coin 5 is a Gold Coin. The printed name of Gold Coin 5 is "a Gold Coin".
A Needle is a kind of thing. They have Price 5. They have damage 3.
The Shiny Needle is a Needle. The Rusty Needle is a Needle. The Dull Needle is a Needle. The Copper Needle is a Needle.
The Dusty Obsidian Key is an Obsidian Key.
Release along with a website, an interpreter, source text, a file of "Playthrough" called "playthrough.txt" and a file of "Report" called "report.pdf".