(set: $currentLevel to 1)(display: "Menu Button")(if: $h1link is 0)[(if: not ((history:) contains "Hills 5"))[<div class="text">//You look around at the environment to which you've been teleported. Green, rolling hills continue in all directions for miles. Something inside your bag feels {
(if: $fire is 1)[
''warm''
](else-if: $water is 1)[
''wet''
](else-if: $earth is 1)[
''course''
]} against your back.//</div>
Reach inside to reveal your inventory.(click-replace: "Reach inside to reveal your inventory.")[(display: "Inventory No Click")
[[//It doesn't seem to matter which way you go, so you walk to the right.//->h1link]]]]](if: $h1link is 1)[<div class="text">//You look around at the environment to which you've been teleported. Green, rolling hills continue for miles. Something inside your bag feels {
(if: $fire is 1)[
''warm''
](else-if: $water is 1)[
''wet''
](else-if: $earth is 1)[
''course''
]} against your back.//</div>
(display: "Inventory No Click")]
<div id="options">(if: $h1link is 1)[(display: "Right Arrow")]</div>(if: (history:) contains "Hills 5")[<center>This looks like the place to which you were teleported.</center>
{(if: (history:) contains "Hills 7")[(set: $activate11warp to 1)
<style>
#myDIV {
color: black;
-webkit-animation: mymove 3s infinite;
}
@-webkit-keyframes mymove {
50% {color: grey;}
}
</style>
<center><div id="myDIV">//You hear a strange, light whistling sound traveling from across the hills.//</div></center>]}
(display: "Inventory")
(display: "Ground")]
<div id="options">(if: (history:) contains "Hills 5")[(display: "Right Arrow")]</div>
(set: $fire to 0)(display: "Menu Button")<div align="center"><img src="http://gdriv.es/twine/title/logo.png" size="70%">
[[<img src="http://gdriv.es/twine/title/newgame_up.png">->New Game]]
[[<img src="http://gdriv.es/twine/title/loadgame_up.png">->Load Game]]
[[<img src="http://gdriv.es/twine/title/credits_up.png">->Credits]]</div>
(set: $currentLevel to 13)(set: $cheat to 0)(display: "Menu Button")(if: not ((history:) contains "Forest 14"))[<center>//Where are you now and where does this path lead? What will you face in the forest?//</center>
]
<center>The division between the forest and the hills is to your left. To the right in the center of a clearing lies a basin on a tree trunk.</center>
(if: $basin is 0)[<center>[[Peer inside the basin.->Basin]]</center>](if: $basin is 1)[(display: "Inventory")
(display: "Ground")]
<div id="options">(if: $basin is 1)[(display: "Left Arrow")(display: "Right Arrow")]</div>
(set: $h1link to 0)(set: $currentLevel to 2)(display: "Menu Button")<center>(if: not ((history:) contains "Hills 3"))[//What are you doing here? Where have you come from?//]
The rolling hills continue. If you squint your eyes, you can see the edge of a forest in the distance.</center>
(if: not ((history:) contains "Hills 5"))[(display: "Inventory No Click")]
<div id="options">(if: not ((history:) contains "Hills 5"))[(display: "Right Arrow")]</div>(if: (history:) contains "Hills 5")[(display: "Inventory")
(display: "Ground")]
<div id="options">(if: (history:) contains "Hills 5")[(display: "Left Arrow")(display: "Right Arrow")]</div>
(set: $currentLevel to 3)(display: "Menu Button")<center>You're halfway up a particularly tall hill.</center>
(if: $h3arrow is 0)[(if: not ((history:) contains "Hills 4"))[<div class="text">//You're feeling a little tired from walking over these hills. Maybe this little element is weighing you down?//</div>](if: (history:) contains "Hills 5")[(if: not ((history:) contains "Hills 6"))[<center>//Maybe dropping this element wasn't the best idea after all.//</center>]]
(display: "Inventory")(if: not ((history:) contains "Hills 4"))[<img src="http://gdriv.es/twine/bg/HR.png">]
(if: not ((history:) contains "Hills 4"))[(if: $fire is not 1)[(if: $water is not 1)[(if: $earth is not 1)[[[You look down and see where you placed your element.->h3link]]]]]]](if: $h3arrow is 1)[<div class="text">//You're feeling a little tired from walking over these hills. Maybe this little element is weighing you down?//</div>
(display: "Inventory")<img src="http://gdriv.es/twine/bg/HR.png">
(display: "Ground No Bar")]
<div id="options">(if: $h3arrow is 1)[(display: "Right Arrow")]</div>(if: (history:) contains "Hills 5")[(display: "Ground")]
<div id="options">{(if: (history:) contains "Hills 5")[(display: "Left Arrow")(if: $fd is not 3)[(if: $wd is not 3)[(if: $ed is not 3)[(display: "Right Arrow")]]]]
(if: (history:) contains "Hills 5")[(if: $fd is 3)[(display: "Right Arrow")]]
(if: (history:) contains "Hills 5")[(if: $wd is 3)[(display: "Right Arrow")]]
(if: (history:) contains "Hills 5")[(if: $ed is 3)[(display: "Right Arrow")]]}</div>
<center>Created by Stephen Czaja using Twine.
(link-goto: "Return", (history:)'s last)</center>
(set: $cheat to 0)<center>(transition: "dissolve")[//Awaking into darkness, you feel dizzy as you try to make sense of the lights inside your head and the nothingness before your eyes. Suddenly, you hear a disembodied voice.//
''You're late, Wanderer. You were chosen from among those who seek the End, yet your arrival is delayed. Waste no more time: release your fear and wander forth.
The land itself will determine your path, but only your Will can carry you to your goal.''
Select your starting element to enter the world.
[[<img src="http://gdriv.es/twine/icon/fire_icon.png">->New Game Fire]] [[<img src="http://gdriv.es/twine/icon/water_icon.png">->New Game Water]] [[<img src="http://gdriv.es/twine/icon/earth_icon.png">->New Game Earth]]]</center>
{(if: (saved-games:) contains "A")[
(link: "Load Saved Game")[(load-game:"A")]
(else: )[
No saved game available.
]
]}
<center>''Pause Menu''
(link-goto: "Resume", (history:)'s last)
(link:"Save game")[(if:(save-game:"A"))[Game saved!](else: )[Sorry, your game could not be saved.]]
(link-reveal: "Enter Cheat Code")[(put: (prompt: "Enter cheat code:") into $cheat)(if: $cheat is "experiment")[(set: $fire to 1)(go-to: "Presentation")](if: $cheat is "thirteen")[(set: $invmax to 1)(set: $hmonsterDefeated to 1)(set: $h7key to 1)(set: $h5puzzle to 1)(history:) + (a:"Hills 1","Hills 2","Hills 3","Hills 4","Hills 5","Hills 6","Hills 7","Hills 8","Hills 9","Hills 10","Hills 11","Hills 12")(go-to: "Forest 13")]]</center>
<img src="http://gdriv.es/twine/bg/HR.png">
<center>''Inventory''
{<style>
.shadowCSS { box-shadow: 5px 5px 5px rgba(0,0,0,0.5); }
.shadowfilter { -webkit-filter: drop-shadow(0px 0px 3px yellow);
filter: url(shadow.svg#drop-shadow); }
.fire {width: 55px;}
</style>
(if: $fire is 1)[(if: $lava is 0)[(if: $steam is 0)[(if: ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/fire_icon.png">->Fire Drop]]]]]]
(if: $fire is 1)[(if: not ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/fire_icon.png" class="shadowfilter fire"/>->Fire Drop]]]]
(if: $water is 1)[(if: $mud is 0)[(if: $steam is 0)[(if: ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/water_icon.png">->Water Drop]]]]]]
(if: $water is 1)[(if: not ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/water_icon.png" class="shadowfilter fire"/>->Water Drop]]]]
(if: $earth is 1)[(if: $lava is 0)[(if: $mud is 0)[(if: ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/earth_icon.png">->Earth Drop]]]]]]
(if: $earth is 1)[(if: not ((history:) contains "Hills 4"))[[[<img src="http://gdriv.es/twine/icon/earth_icon.png" class="shadowfilter fire"/>->Earth Drop]]]]
(if: $11warp is 1)[[[<img src="http://gdriv.es/twine/icon/11warp_glow.png">->11 Warp Drop]]]
(if: $steam is 1)[[[<img src="http://gdriv.es/twine/icon/steam_icon.png">->Steam Drop]]]
(if: $mud is 1)[[[<img src="http://gdriv.es/twine/icon/mud_icon.png">->Mud Drop]]]
(if: $lava is 1)[[[<img src="http://gdriv.es/twine/icon/lava_icon.png">->Lava Drop]]]
(if: not ((history:) contains "Forest 13"))[
(if: $fire is 1)[(set: $invmax to 1)]
(if: $water is 1)[(set: $invmax to 1)]
(if: $earth is 1)[(set: $invmax to 1)]
(if: $11warp is 1)[(set: $invmax to 1)]]
(if: (history:) contains "Forest 13")[
(if: $fire is 1)[(if: $11warpd is not $currentLevel)[(set: $invmax to 0)]]
(if: $water is 1)[(if: $11warpd is not $currentLevel)[(set: $invmax to 0)]]
(if: $earth is 1)[(if: $11warpd is not $currentLevel)[(set: $invmax to 0)]]
(if: $fire is 1)[(if: $11warpd is $currentLevel)[(set: $invmax to 1)]]
(if: $water is 1)[(if: $11warpd is $currentLevel)[(set: $invmax to 1)]]
(if: $earth is 1)[(if: $11warpd is $currentLevel)[(set: $invmax to 1)]]
(if: $steam is 1)[(set: $invmax to 1)]
(if: $mud is 1)[(set: $invmax to 1)]
(if: $lava is 1)[(set: $invmax to 1)]
(if: $11warp is 1)[(set: $invmax to 1)]]
}(if: $m25 is 0)[(if: $fire is 0)[(if: $water is 0)[(if: $earth is 0)[(if: $11warp is 0)[(if: $steam is 0)[(if: $mud is 0)[(if: $lava is 0)[(set: $invmax to 0)
]]]]]]]]
(set: $h3arrow to 0)(set: $currentLevel to 4)(display: "Menu Button")(if: not ((history:) contains "Hills 5"))[<div class="text">//It's nice having that weight off your back. You wonder why you received it in the first place, though.//</div>]
<center>You're on the peak of a hill, and can see an object at the base of the next one.</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(if: (history:) contains "Hills 5")[(display: "Left Arrow")](display: "Right Arrow")</div>
http://gdriv.es/twine
(set: $fire to 0)
(set: $water to 0)
(set: $earth to 0)
(set: $11warp to 0)
(set: $previous to (history:)'s last)
(set: $droptut to 0)
(set: $fd to 0)
(set: $currentLevel to 0)
(set: $h5puzzle to 0)
(set: $htail to 60)
(set: $hlegs to 60)
(set: $harms to 60)
(set: $hmonsterHP to 180)
(set: $hhealth to 100)
{
(print: "<script>$('html').removeClass(\)</script>")
(if: (passage:)'s tags's length > 0)[
(print: "<script>$('html').addClass('" + (passage:)'s tags.join(' ') + "'\)</script>")
]
}
<div align="right">[[<img src="http://gdriv.es/twine/title/menu_icon.png">->Menu]]</div>
(set: $currentLevel to 5)(display: "Menu Button")<center>{
(if: $fd is 3)[(if: $h5puzzle is 0)[At the bottom of the hill lies an object, covered with a thick layer of thorny plant matter. You cannot reach what is inside.]]
(if: $wd is 3)[(if: $h5puzzle is 0)[At the bottom of the hill lies an object, covered with a thick layer of thorny plant matter. You cannot reach what is inside.]]
(if: $ed is 3)[(if: $h5puzzle is 0)[At the bottom of the hill lies an object, covered with a thick layer of thorny plant matter. You cannot reach what is inside.]]
(if: $fire is 1)[(if: $h5puzzle is 0)[(if: not ((history:) contains "Hills 6"))[At the bottom of the hill lies an object, covered with a thick layer of [[thorny plant matter->H5 Puzzle]]. You cannot reach what is inside.]]]
(if: $water is 1)[(if: $h5puzzle is 0)[(if: not ((history:) contains "Hills 6"))[At the bottom of the hill lies an object, covered with a thick layer of [[thorny plant matter->H5 Puzzle]]. You cannot reach what is inside.]]]
(if: $earth is 1)[(if: $h5puzzle is 0)[(if: not ((history:) contains "Hills 6"))[At the bottom of the hill lies an object, covered with a thick layer of [[thorny plant matter->H5 Puzzle]]. You cannot reach what is inside.]]]
(if: $fire is 1)[(if: $h5puzzle is 1)[(if: not ((history:) contains "Hills 6"))[You placed the fire element on the thorns and they burned away, revealing a strange stone underneath.]]]
(if: $water is 1)[(if: $h5puzzle is 1)[(if: not ((history:) contains "Hills 6"))[You placed the water element on the thorns and they suddenly grew wide apart, revealing a strange stone underneath.]]]
(if: $earth is 1)[(if: $h5puzzle is 1)[(if: not ((history:) contains "Hills 6"))[You threw the earth element at the thorns and they shriveled up, revealing a strange stone underneath.]]]
(if: (history:) contains "Hills 11")[The wind howls through the hills and creates patterns in the vibrant green grass around you.]}
(if: $h5puzzle is 0)[(if: $fire is not 1)[(if: $water is not 1)[(if: $earth is not 1)[//Why do you keep traveling to the right? Surely there's another option.//]]]]
(if: $11warpd is 5)[(if: $activate11warp is 1)[A strange stone on the ground is glowing. (if: $invmax is 1)[If you had space in your inventory you could pick it up.]]](if: $activate11warp is 0)[(if: $h5puzzle is 1)[A strange stone is on the ground, but you cannot pick it up.]]</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(if: $h5puzzle is 1)[(display: "Right Arrow")]</div>
<img src="http://gdriv.es/twine/bg/HR.png">
<center>''Ground''
{(if: (history:) contains "Hills 6")[(if: $fd is $currentLevel)[(if: $invmax is 0)[[[<img src="http://gdriv.es/twine/icon/fire_icon.png">->Fire Pickup]]](else: )[<img src="http://gdriv.es/twine/icon/fire_icon.png">]]
(if: $wd is $currentLevel)[(if: $invmax is 0)[[[<img src="http://gdriv.es/twine/icon/water_icon.png">->Water Pickup]]](else: )[<img src="http://gdriv.es/twine/icon/water_icon.png">]]
(if: $ed is $currentLevel)[(if: $invmax is 0)[[[<img src="http://gdriv.es/twine/icon/earth_icon.png">->Earth Pickup]]](else: )[<img src="http://gdriv.es/twine/icon/earth_icon.png">]]]
<style>
.shadowCSS { box-shadow: 5px 5px 5px rgba(0,0,0,0.5); }
.shadowfilter { -webkit-filter: drop-shadow(0px 0px 3px yellow);
filter: url(shadow.svg#drop-shadow); }
.fire {width: 55px;}
</style>
(if: not ((history:) contains "Hills 6"))[(if: $fd is $currentLevel)[[[<img src="http://gdriv.es/twine/icon/fire_icon.png" class="shadowfilter fire"/>->Fire Pickup]]]]
(if: not ((history:) contains "Hills 6"))[(if: $wd is $currentLevel)[[[<img src="http://gdriv.es/twine/icon/water_icon.png" class="shadowfilter fire"/>->Water Pickup]]]]
(if: not ((history:) contains "Hills 6"))[(if: $ed is $currentLevel)[[[<img src="http://gdriv.es/twine/icon/earth_icon.png" class="shadowfilter fire"/>->Earth Pickup]]]]
(if: $11warpd is $currentLevel)[(if: $activate11warp is 1)[(if: $invmax is 0)[[[<img src="http://gdriv.es/twine/icon/11warp_glow.png">->11 Warp Pickup]]]]]
(if: $11warpd is $currentLevel)[(if: $activate11warp is 1)[(if: $invmax is 1)[<img src="http://gdriv.es/twine/icon/11warp_glow.png">]]]
(if: $11warpd is $currentLevel)[(if: $activate11warp is 0)[<img src="http://gdriv.es/twine/icon/11warp_noglow.png">]]
(if: $h7keyd is $currentLevel)[(if: $invmax is 0)[[[<img src="http://gdriv.es/twine/icon/h7_key.png">->H7 Key Pickup]]]]
(if: $h7keyd is $currentLevel)[(if: $invmax is 1)[<img src="http://gdriv.es/twine/icon/h7_key.png">]]
}</center>(if: $fd is not $currentLevel)[(if: $wd is not $currentLevel)[(if: $ed is not $currentLevel)[(if: $11warpd is not $currentLevel)[(if: $h7keyd is not $currentLevel)[
]]]]]
<img src="http://gdriv.es/twine/bg/HR.png">
(set: $currentLevel to 6)(display: "Menu Button")
(if: not ((history:) contains "Hills 7"))[<center>//What was that stone? Why was it hidden?//</center>
]
<center>At the crest of the next hill lies something that extends from side to side for miles.</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(display: "Right Arrow")</div>
(set: $currentLevel to 7)(display: "Menu Button")(if: not ((history:) contains "Hills 8"))[<center>//This barrier looks impenetrable.//</center>]
<center>(if: $h7key is 0)[There's a large gate blocking your path to the right. An inscription on the front says:
''"If you wish to move past this gate at seven,
Then go back six and find eleven."''
Through the bars of the gate you can see a key on the ground on the other side, but it's out of reach.](if: $h7key is 1)[A large gate that extends on either side as far as the eye can see stands before you. It's open and you can pass through.]</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(if: $h7key is 1)[(display: "Right Arrow")]</div>
(if: $h7key is 0)[(set: $h7keyd to 8)](set: $currentLevel to 8)(display: "Menu Button")<center>(if: $h7key is 1)[You are on the inside of the infinitely large wall. The gate is unlocked.](else: )[A large gate prevents you from continuing to the left. There is a key on the ground, though.]
(if: $h7key is 0)[//Who left this key here? They must have locked the gate in a hurry.//]</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(if: $h7key is 1)[(display: "Left Arrow")](display: "Right Arrow")</div>
(set: $currentLevel to 9)(display: "Menu Button")(if: not ((history:) contains "Hills 8"))[<center>//Without the weight of your element you feel light on your feet, but oddly defenseless.//</center>
]
<center>You look to your left and your right and feel claustrophobic, despite the expansiveness of this world. There is nothing here of note, so you continue on your journey.</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(display: "Right Arrow")</div>
(set: $currentLevel to 10)(display: "Menu Button")(if: not ((history:) contains "Hills 9"))[<center>//The forest is near, yet remains difficult to reach. What lies within?//</center>
]
<center>You see the footprints of an unknown animal buried in some mud. They're facing to the right.</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(display: "Right Arrow")</div>
(set: $currentLevel to 11)(display: "Menu Button"){(if: not ((history:) contains "Hills 12"))[(if: not ((history:) contains "Hills 10"))[
<style>
#myDIV {
color: black;
-webkit-animation: mymove 3s infinite;
}
@-webkit-keyframes mymove {
50% {color: grey;}
}
</style>
<center><div id="myDIV">//You feel that familiar dizzy feeling, yet again. Did you just warp?//</div></center>]]}{(if: $hplayerDefeated is 1)[
<style>
#myDIV {
color: black;
-webkit-animation: mymove 3s infinite;
}
@-webkit-keyframes mymove {
50% {color: grey;}
}
</style>
(set: $hplayerDefeated to 0)<center><div id="myDIV">//The monster defeated your element and pushed you back.//</div></center>]}
<center>As you look down to the right you can see the entrance to the forest.(if: $hmonsterDefeated is not 1)[ A strange creature stands before the entrance.]</center>
{(if: $hmonsterDefeated is not 1)[
(set: $htail to 60)
(set: $hlegs to 60)
(set: $harms to 60)
(set: $hmonsterHP to 180)
(set: $hhealth to 116)
]}
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")(display: "Right Arrow")</div>
(set: $currentLevel to 12)(display: "Menu Button")(if: not ((history:) contains "Hills 10"))[<center>//For the first time you see another living being in this world. Is it strong?//</center>]
<center>{
(if: $hmonsterHP is not 0)[A strange being stands between you and the entrance to the forest. (if: $fire is not 1)[(if: $water is not 1)[(if: $earth is not 1)[With no way to protect yourself, you stay away from the beast.]]]
(if: $fire is 1)[With your fire element you can attack its
(if: $htail is not 0)[(if: $water is 1)[[[fiery tail->Attack Tail with Water]]](else: )[[[fiery tail->Attack Tail]]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is not 0)[, ]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is 0)[ or ]]](if: $hlegs is not 0)[(if: $fire is 1)[[[earthen legs->Attack Legs with Fire]]](else: )[[[earthen legs->Attack Legs]]]](if: $harms is not 0)[ or ](if: $harms is not 0)[(if: $earth is 1)[[[liquified arms->Attack Arms with Earth]]](else: )[[[liquified arms->Attack Arms]]]].]
(if: $water is 1)[With your water element you can attack its
(if: $htail is not 0)[(if: $water is 1)[[[fiery tail->Attack Tail with Water]]](else: )[[[fiery tail->Attack Tail]]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is not 0)[, ]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is 0)[ or ]]](if: $hlegs is not 0)[(if: $fire is 1)[[[earthen legs->Attack Legs with Fire]]](else: )[[[earthen legs->Attack Legs]]]](if: $harms is not 0)[ or ](if: $harms is not 0)[(if: $earth is 1)[[[liquified arms->Attack Arms with Earth]]](else: )[[[liquified arms->Attack Arms]]]].]
(if: $earth is 1)[With your earth element you can attack its
(if: $htail is not 0)[(if: $water is 1)[[[fiery tail->Attack Tail with Water]]](else: )[[[fiery tail->Attack Tail]]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is not 0)[, ]]](if: $htail is not 0)[(if: $hlegs is not 0)[(if: $harms is 0)[ or ]]](if: $hlegs is not 0)[(if: $fire is 1)[[[earthen legs->Attack Legs with Fire]]](else: )[[[earthen legs->Attack Legs]]]](if: $harms is not 0)[ or ](if: $harms is not 0)[(if: $earth is 1)[[[liquified arms->Attack Arms with Earth]]](else: )[[[liquified arms->Attack Arms]]]].]]
(if: $hmonsterHP is 0)[(set: $hmonsterDefeated to 1)<center>Monster defeated! The way to the forest is clear.</center>]}
(if: $fire is not 1)[](if: $fire is 1)[(if: $hmonsterDefeated is not 1)[Monster Health: $hmonsterHP
Fire Element Health: $hhealth]
(if: $hhealth is 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")](if: $hhealth < 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")]](if: $water is not 1)[](if: $water is 1)[(if: $hmonsterDefeated is not 1)[Monster Health: $hmonsterHP
Water Element Health: $hhealth]
(if: $hhealth is 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")](if: $hhealth < 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")]](if: $earth is not 1)[](if: $earth is 1)[(if: $hmonsterDefeated is not 1)[Monster Health: $hmonsterHP
Earth Element Health: $hhealth]
(if: $hhealth is 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")](if: $hhealth < 0)[(set: $hplayerDefeated to 1)(goto: "Hills 11")]]</center>
(display: "Inventory")
(display: "Ground")
<div id="options">(display: "Left Arrow")</div><div id="options">(if: $hmonsterDefeated is 1)[(display: "Right Arrow")]
To Do:
- Maybe every passage has descriptive text that is 134 characters or less. That way it can be tweeted with hashtag #REFT.
- Make UI look like pages in a book?
- Add to ground and inventory an icon to represent an empty item slot.
- Maybe "page numbers" are gifts to the player to help them from getting lost?
- Add transitions at beginning as game starts and after using warp stone.
- Create puzzle in the forest domain that is made easier by acquiring an item. This item is received from an optional puzzle. This puzzle that's made easier should take 5-8 tries to complete without the helpful item, and 1-4 tries to complete with it.
(set: $fire to 1)(set: $firefirst to 1)(goto: "Hills 1")
(set: $water to 1)(set: $waterfirst to 1)(goto: "Hills 1")
(set: $earth to 1)(set: $earthfirst to 1)(goto: "Hills 1")
[[<img src="http://gdriv.es/twine/ui/arrowbrown_right.png" align="right">->Next Level]]
(if: $currentLevel is 1)[
(goto: "Hills 2")]
(else-if: $currentLevel is 2)[
(goto: "Hills 3")]
(else-if: $currentLevel is 3)[
(goto: "Hills 4")]
(else-if: $currentLevel is 4)[
(goto: "Hills 5")]
(else-if: $currentLevel is 5)[
(goto: "Hills 6")]
(else-if: $currentLevel is 6)[
(goto: "Hills 7")]
(else-if: $currentLevel is 7)[
(goto: "Hills 8")]
(else-if: $currentLevel is 8)[
(goto: "Hills 9")]
(else-if: $currentLevel is 9)[
(goto: "Hills 10")]
(else-if: $currentLevel is 10)[
(goto: "Hills 11")]
(else-if: $currentLevel is 11)[
(goto: "Hills 12")]
(else-if: $currentLevel is 12)[
(goto: "Forest 13")]
(else-if: $currentLevel is 13)[
(goto: "Forest 14")]
(else-if: $currentLevel is 14)[
(goto: "Forest 15")]
(else-if: $currentLevel is 15)[
(goto: "Forest 16")]
(else-if: $currentLevel is 16)[
(goto: "Forest 17")]
(else-if: $currentLevel is 17)[
(goto: "Forest 18")]
(else-if: $currentLevel is 18)[
(goto: "Forest 19")]
(else-if: $currentLevel is 19)[
(goto: "Forest 20")]
(else-if: $currentLevel is 20)[
(goto: "Forest 21")]
(else-if: $currentLevel is 21)[
(goto: "Forest 22")]
(else-if: $currentLevel is 22)[
(goto: "Forest 23")]
(else-if: $currentLevel is 23)[
(goto: "Forest 24")]
(else-if: $currentLevel is 100)[
(goto: "Presentation 2")]
(else-if: $currentLevel is 101)[
(goto: "Presentation 3")]
(else-if: $currentLevel is 102)[
(goto: "Presentation 4")]
[[<img src="http://gdriv.es/twine/ui/arrowbrown_left.png" align="left">->Previous Level]]
(if: $currentLevel is 2)[
(goto: "Hills 1")]
(else-if: $currentLevel is 3)[
(goto: "Hills 2")]
(else-if: $currentLevel is 4)[
(goto: "Hills 3")]
(else-if: $currentLevel is 5)[
(goto: "Hills 4")]
(else-if: $currentLevel is 6)[
(goto: "Hills 5")]
(else-if: $currentLevel is 7)[
(goto: "Hills 6")]
(else-if: $currentLevel is 8)[
(goto: "Hills 7")]
(else-if: $currentLevel is 9)[
(goto: "Hills 8")]
(else-if: $currentLevel is 10)[
(goto: "Hills 9")]
(else-if: $currentLevel is 11)[
(goto: "Hills 10")]
(else-if: $currentLevel is 12)[
(goto: "Hills 11")]
(else-if: $currentLevel is 13)[
(goto: "Hills 12")]
(else-if: $currentLevel is 14)[
(goto: "Forest 13")]
(else-if: $currentLevel is 15)[
(goto: "Forest 14")]
(else-if: $currentLevel is 16)[
(goto: "Forest 15")]
(else-if: $currentLevel is 17)[
(goto: "Forest 16")]
(else-if: $currentLevel is 18)[
(goto: "Forest 17")]
(else-if: $currentLevel is 19)[
(goto: "Forest 18")]
(else-if: $currentLevel is 20)[
(goto: "Forest 19")]
(else-if: $currentLevel is 21)[
(goto: "Forest 20")]
(else-if: $currentLevel is 22)[
(goto: "Forest 21")]
(else-if: $currentLevel is 23)[
(goto: "Forest 22")]
(else-if: $currentLevel is 24)[
(goto: "Forest 23")]
(else-if: $currentLevel is 101)[
(goto: "Presentation")]
(else-if: $currentLevel is 102)[
(goto: "Presentation 2")]
(else-if: $currentLevel is 103)[
(goto: "Presentation 3")]
Double-click this passage to edit it.
(set: $fd to $currentLevel)(set: $fire to 0)(goto: (history:)'s last)
(set: $wd to $currentLevel)(set: $water to 0)(goto: (history:)'s last)
(set: $ed to $currentLevel)(set: $earth to 0)(goto: (history:)'s last)
(set: $fd to 0)
(if: $water is 0)[(set: $fire to 1)]
(if: $earth is 0)[(set: $fire to 1)]
(if: $water is 1)[(set: $steam to 1)]
(if: $earth is 1)[(set: $lava to 1)]
(goto: (history:)'s last)
(set: $wd to 0)
(if: $fire is 0)[(set: $water to 1)]
(if: $water is 0)[(set: $water to 1)]
(if: $fire is 1)[(set: $steam to 1)]
(if: $earth is 1)[(set: $mud to 1)]
(goto: (history:)'s last)
(set: $ed to 0)
(if: $water is 0)[(set: $earth to 1)]
(if: $fire is 0)[(set: $earth to 1)]
(if: $water is 1)[(set: $mud to 1)]
(if: $fire is 1)[(set: $lava to 1)]
(goto: (history:)'s last)
<img src="http://gdriv.es/twine/bg/HR.png">
<center>''Inventory''
{(if: $fire is 1)[<img src="http://gdriv.es/twine/icon/fire_icon.png">]
(if: $water is 1)[<img src="http://gdriv.es/twine/icon/water_icon.png">]
(if: $earth is 1)[<img src="http://gdriv.es/twine/icon/earth_icon.png">]
</center>}<img src="http://gdriv.es/twine/bg/HR.png">
(set: $h5puzzle to 1)(set: $11warpd to 5)(goto: (history:)'s last)
(set: $11warpd to $currentLevel)(set: $11warp to 0)(goto: (history:)'s last)
(set: $11warpd to 0)(set: $11warp to 1)(goto: "Hills 11")
(set: $h7keyd to 0)(set: $h7key to 1)(goto: "Hills 8")
(set: $htail to $htail - 20)(set: $hmonsterHP to $hmonsterHP - 20)(if: $harms is not 0)[(if: $hlegs is not 0)[(set: $hhealth to $hhealth - 12)]](if: $harms is not 0)[(if: $hlegs is 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $hlegs is not 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $hlegs is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $hlegs to $hlegs - 20)(set: $hmonsterHP to $hmonsterHP - 20)(if: $harms is not 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 12)]](if: $harms is not 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $harms to $harms - 20)(set: $hmonsterHP to $hmonsterHP - 20)(if: $hlegs is not 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 12)]](if: $hlegs is not 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 8)]](if: $hlegs is 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 8)]](if: $hlegs is 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $htail to $htail - 10)(set: $hmonsterHP to $hmonsterHP - 10)(if: $harms is not 0)[(if: $hlegs is not 0)[(set: $hhealth to $hhealth - 12)]](if: $harms is not 0)[(if: $hlegs is 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $hlegs is not 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $hlegs is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $hlegs to $hlegs - 10)(set: $hmonsterHP to $hmonsterHP - 10)(if: $harms is not 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 12)]](if: $harms is not 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 8)]](if: $harms is 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $harms to $harms - 10)(set: $hmonsterHP to $hmonsterHP - 10)(if: $hlegs is not 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 12)]](if: $hlegs is not 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 8)]](if: $hlegs is 0)[(if: $htail is not 0)[(set: $hhealth to $hhealth - 8)]](if: $hlegs is 0)[(if: $htail is 0)[(set: $hhealth to $hhealth - 4)]](goto: (history:)'s last)
(set: $h3arrow to 1)<center>''Ground''
{(if: $fd is $currentLevel)[<img src="http://gdriv.es/twine/icon/fire_icon.png">]
(if: $wd is $currentLevel)[<img src="http://gdriv.es/twine/icon/water_icon.png">]
(if: $ed is $currentLevel)[<img src="http://gdriv.es/twine/icon/earth_icon.png">]}</center><img src="http://gdriv.es/twine/bg/HR.png">
(set: $h1link to 1)(go-to: "Hills 1")
(set: $h3arrow to 1)(go-to: "Hills 3")
(if: not ((history:) contains "Forest 14"))[(if: $firefirst is 1)[(set: $ed to 13)]]
(if: not ((history:) contains "Forest 14"))[(if: $earthfirst is 1)[(set: $wd to 13)]]
(if: not ((history:) contains "Forest 14"))[(if: $waterfirst is 1)[(set: $fd to 13)]]
(set: $basin to 1)(go-to: "Forest 13")
(set: $wd to $currentLevel)(set: $water to 0)(set: $ed to $currentLevel)(set: $earth to 0)(set: $mud to 0)(goto: (history:)'s last)
(set: $fd to $currentLevel)(set: $fire to 0)(set: $wd to $currentLevel)(set: $water to 0)(set: $steam to 0)(goto: (history:)'s last)
(set: $fd to $currentLevel)(set: $fire to 0)(set: $ed to $currentLevel)(set: $earth to 0)(set: $lava to 0)(goto: (history:)'s last)
(set: $currentLevel to 100)(display: "Menu Button")<center>''What is REFT?''</center>
<center>REFT is an experimental text-based first-person puzzle adventure game that features linear movement along a fixed path through multiple environments.</center>
<div id="options">(display: "Right Arrow")</div>
(set: $currentLevel to 101)(display: "Menu Button")
<center>''What are the main game mechanics?''</center>
-Dynamic subjective thought/objective description text.(click-replace: "-Dynamic subjective thought/objective description text.")[//Wow, this game is cool!//]
-Varied puzzles centered around text analysis.(click-replace: "-Varied puzzles centered around text analysis.")[Don't //not// click the links to reveal more of the game!]
-Graphical inventory system with pickup and drop functions.(click-replace: "-Graphical inventory system with pickup and drop functions.")[(display: "Inventory")
(display: "Ground")]
-Right and left movement along a linear path through multiple environments.(click-replace: "-Right and left movement along a linear path through multiple environments.")[(display: "Left Arrow")(display: "Right Arrow")]
(set: $currentLevel to 102)(display: "Menu Button")<center>''Applying Game Design Best Practices''</center>
1. Story: What is going to happen next?
2. Visual aesthetics
3. Next goal that is clear and within-reach: "Just one more"
4. Feeling of constant improvement
<div id="options">(display: "Left Arrow")(display: "Right Arrow")</div>
(set: $currentLevel to 14)(display: "Menu Button")
<center>''Working in Twine''</center>
- Passage Economy
<a href="http://gdriv.es/twine/presentation/structure.png">Complete Game Structure</a>
- Using HTML, CSS, and Javascript
<a href="http://gdriv.es/twine/presentation/simple.png">Simple Passage</a>
<a href="http://gdriv.es/twine/presentation/complex.png">Complex Passage</a>
<div id="options">(display: "Left Arrow")</div>
(go-to: "Title Screen")
(set: $currentLevel to 103)(display: "Menu Button")
<center>''Working in Twine''</center>
- Passage Economy
<a href="http://gdriv.es/twine/presentation/structure.png">Complete Game Structure</a>
- Using HTML, CSS, and Javascript
<a href="http://gdriv.es/twine/presentation/simple.png">Simple Passage</a>
<a href="http://gdriv.es/twine/presentation/complex.png">Complex Passage</a>
<center>[[Exit Presentation]]</center>
<div id="options">(display: "Left Arrow")</div>