Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Fridgetopia
by
Mathbrush
Played 2,995 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Fridgetopia" Fridge is a room. RealFridge is a room. The printed name of RealFridge is "Big Fridge". When play begins: say "Welcome to the fridge! Spell anything you want using TAKE and DROP. Use XYZZY to travel to a fridge with more letters. It's harder to grab the right letter there, though." Use verbose room descriptions. Rule for listing nondescript items: if the player is in Fridge: repeat with current running through actual things in Fridge: say "[current] "; otherwise: repeat with current running through actual things in RealFridge: say "[current] "; Instead of taking inventory: say "[bold type]In Your Hand[roman type][line break]"; repeat with current running through things carried by the player: say "[current] "; Justlooked is a number that varies. Justlooked is 0. Every turn: if JustLooked is 0: try looking; now Justlooked is 0; After taking something: now Justlooked is 0; After looking: now Justlooked is 1. A thing can be actual or not actual. A thing is usually actual. The player is not actual. LetterA is a kind of thing. One LetterA is in Fridge. Nine LetterAs are in RealFridge. Understand "A" as LetterA. The printed name of LetterA is "A". B is a kind of thing. One B is in Fridge. Two Bs are in RealFridge. C is a kind of thing. One C is in Fridge. Two Cs are in RealFridge. D is a kind of thing. One D is in Fridge. Four Ds are in RealFridge. E is a kind of thing. One E is in Fridge. Twelve Es are in RealFridge. F is a kind of thing. One F is in Fridge. Two Fs are in RealFridge. G is a kind of thing. One G is in Fridge. Three Gs are in RealFridge. H is a kind of thing. One H is in Fridge. Two Hs are in RealFridge. LetterI is a kind of thing. One LetterI is in Fridge. Nine LetterIs are in RealFridge. The printed name of LetterI is "I". Understand "I" as LetterI. J is a kind of thing. One J is in Fridge. One J is in RealFridge. K is a kind of thing. One K is in Fridge. One K is in RealFridge. L is a kind of thing. One L is in Fridge. Four Ls are in RealFridge. M is a kind of thing. One M is in Fridge. Two Ms are in RealFridge. N is a kind of thing. One N is in Fridge. Six Ns are in RealFridge. O is a kind of thing. One O is in Fridge. Eight Os are in RealFridge. P is a kind of thing. One P is in Fridge. Two Ps are in RealFridge. Q is a kind of thing. One Q is in Fridge. One Q is in RealFridge. R is a kind of thing. One R is in Fridge. Six Rs are in RealFridge. S is a kind of thing. One S is in Fridge. Four Ss are in RealFridge. T is a kind of thing. One T is in Fridge. Six Ts are in RealFridge. U is a kind of thing. One U is in Fridge. Four Us are in RealFridge. V is a kind of thing. One V is in Fridge. Two Vs are in RealFridge. W is a kind of thing. One W is in Fridge. Two Ws are in RealFridge. X is a kind of thing. One X is in Fridge. One X is in RealFridge. Y is a kind of thing. One Y is in Fridge. Two Ys are in RealFridge. Z is a kind of thing. One Z is in Fridge. One Z is in RealFridge. XYZZYing is an action applying to nothing. Understand "xyzzy" as XYZZYing. Carry out XYZZYing: if the player is in Fridge: repeat with current running through things carried by the player: now current is in Fridge; now the player is in RealFridge. Horrifying is an action out of world. Understand "open Fridge" or "open refrigerator" or "open big" or "open big fridge" as horrifying. Carry out horrifying: say "You open the fridge, spilling all the letters to the ground. As they cry out in fear, a massive, spiraling vortex opens in the fridge, pulling you into it."; end the game saying "You should not have opened the fridge."