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?
Intangibility Test
by
Psuedonym
Played 1,375 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Access All Areas" [Partial credit for this game goes the to Inform 7 recipe book, and the handy little sample code for intangibility. ] [Rooms] The extremely difficult door is north of the Standing Room and south of the Upside Down. It is a locked door. The extremely difficult door and the slightly less difficult door are scenery. The description of the Standing Room is "In this small room, you see an extremely difficult door to your north." The description of the Upside Down is "You can see the extremely difficult door to your south, and a slightly less difficult door to your south." The description of the Lapine Room is "The slightly less difficult door is behind you, to the south." [The Hat, and a rule for passing through doors.] The player is carrying the Pointy Hat of Liminal Transgression. The hat is wearable. The description of the Hat is "This hat will allow you to walk through doors. However, you can't pick anything up while wearing it. You can carry things you've already got while intangible, though -- they go intangible with you." [This is the code that makes the hat work! It can be re-purposed for just about any object or condition that allows the player to break a specific rule.] Before going: if the player wears the Pointy Hat: ignore the can't go through closed doors rule. [Introduction] When play begins: say "Hey! This is a test of intangibility mechanics, partly derived from an example in the Inform handbook. Try going through the door to your north, trying on the hat, etc. then checking the code to see what it does." [Just some other stuff to make this all work] There is a box in the Upside Down. The box is a container. The Lapine Room is north of the slightly less difficult door. The slightly less difficult door is north of the Upside Down. The slightly less difficult door is a locked door. There is a bunny in the Lapine Room. The description of the bunny is "Put the bunny back in the box!" [To score points...] After inserting the bunny into the box: say "Yes!"; award 2 points; end the game in victory. After wearing the hat for the first time: say "You are now intangible for as long as you wear the hat, allowing you to walk through doors."; award 1 point. The maximum score is 3. [A little trick to mess with the players and better simulate intangibility] Instead of taking when the player wears the Pointy Hat: say "You're intangible. It doesn't work very well." [Other] Test me with "n / wear hat / n". Test game with "n/wear hat/n/n/get bunny/doff hat/get bunny/s/don hat/s/doff hat/put bunny in box"