<<audio "outside" volume 0.5 loop play>>
Clouds slowly pass by as you look up into the [[sky]].
The sunrays hit your face, giving off a comfortable warmth that radiates from the center of your face down to your neck.
<span class="lightText"> You close your eyes... </span>
A soothing voice tells you to breathe.
[[Take a Deep Breath|story2]]
<<audio "breath1" play>><<audio "outside" volume 0.5 fadeout loop>>
You take a deep breath to grasp the moment, it was peace of mind at it's finest.
Peace...
and quiet...
A lighted marijuana joint sits in between your fingers. Smoke it?
[[Smoke|hitjoint]]
[[Throw it Out|non-smoker]]saved audio
<<cacheaudio "menuTheme" "music/Little Piano by Blazo.mp3">> Main Menu music
<<cacheaudio "outside" "sounds/outside.mp3">> outside noise
<<cacheaudio "breath1" "sounds/breath1.mp3">> Breath1
<<cacheaudio "outsideBirds" "sounds/outside2.mp3">> outsideBirds noise
<<cacheaudio "burningCig1" "sounds/burningCig1.mp3">> burningCigar noise
<<cacheaudio "pockets1" "sounds/pockets1.mp3">> diggingInPockets noise
<<cacheaudio "stepsRun" "sounds/stepsRun.mp3">> Running Footsteps noise
<<cacheaudio "crumple1" "sounds/crumple1.mp3">> Crumpling paper noise
<<cacheaudio "doorOpen1" "sounds/doorOpen1.mp3">> Opening Door noise
<<cacheaudio "doorClose1" "sounds/doorClose1.mp3">> Closing Door noise
<<cacheaudio "classroom1" "sounds/classroom1.mp3">> Classroom noise
<<cacheaudio "whispers1" "sounds/whispers1.mp3">> Whisper noise
variable indicates that the passage sobers up player by 0.5
<<set $soberUp to true>>
variable indicates how high the player is
<<set $highness to 0>>
variable indicates player's inventory
<<set $pocket to ["lighter", "wallet", "phone", "eyedrops", "weed"]>>
variable indicates name of previous passage
<<set $previous to previous()>>
variable indicates player has used eyedrops
<<set $usedEyedrops to false>><<set $highness to 2>><<set $soberUp to false>><<audio "outsideBirds" volume 0.2 loop play>><<audio "burningCig1" volume 1 fadeout>>
You take the joint and put it to your mouth.
You inhale the medication and let it sit in your lungs for a few seconds before exhaling it into the air.
Birds start singing in the distance.
Chirp! Chirp!
A smile widens on your face.
[[Hit the Joint Again|hitjointagain]]
[[Open Your Eyes|story3]]You were about to throw out the joint, but then you realized
"I'm not throwing this away."
<<if visited("non-smoker") <= 1 >> <<elseif visited("non-smoker") == 2 >>You felt a supernatural force hinting you to smoke the joint. Might be the wind, you're not quite sure what it is. <<elseif visited("non-smoker") == 3 >>The joint is taped to your fingers. You can't get rid of it. No, actually it's superglued to your fingers. <<elseif visited("non-smoker") == 4 >> This game is called "<span style="font-weight:bold">Pothead</span> Tales". I made this game so you can play as a pothead. Can you just smoke the joint, so we can progress our story?<<else>><<goto "non-smokerEnd">>
<</if>>
[[Throw it out|non-smoker]]
[[Hit the joint|hitjoint]]<<audio "pockets1" volume 2 fadeout>>You dig through your pockets to see what you have.
You find the following items:
<<print $pocket>>
<<if $pocket.includes("eyedrops")>>
<<linkreplace "Use Eyedrops">>You used the eyedrops. It stings a bit.
(Note: Inventory will update upon clicking/tapping back.)<<set $usedEyedrops to true>><<set $pocket.delete("eyedrops")>><</linkreplace>>
<</if>>
<<set $previous to previous()>>
[[Back|$previous][$soberUp to false]]
<<if $previous isnot "pocket">><<set $highness += 1>><</if>><<set $soberUp to false>><<audio "burningCig1" volume 0.5 fadeout>>
<<if $highness >= 4>> Well shit. <</if>>You decide to take another hit. <<if $highness >= 4>>You apparently love to smoke.<</if>>
This time, you hold it in your lungs for a little longer, then exhaled it into the air... again.
<<if $highness is 5 or $highness is 6>> You start to get thirsty. When was the last time you had some water?
<<elseif $highness is 7>> You're really high now.
<<elseif $highness is 8>> You're head is pounding. You might've smoked a bit too much.
<<elseif $highness >= 9>> Paranoia starts to kick in. Your insecurities start weighing on you. You're way too stoned now.
<<else>><</if>>
<<if $highness >= 10>> <<goto "highend">> <</if>>
[[Hit the Joint Again|hitjointagain][$previous to "hitjointagain"]]
<<if visited("story3") < 1>>
[[Open Your Eyes|story3]]
<<elseif visited("story4") < 1>>
[[Go to Class|story4]]
<<else>>
There was an error, restart the game. <</if>>
[[Check Your Pockets|pocket]]
<<set $previous to previous()>>
<<set $soberUp to true>>
You open your eyes to find yourself outside, behind a tall portable building.
Doesn't seem like anyone knows you're here, even though you're out in the open.
"Oh shit", you thought to yourself.
"I'm supposed to be in class..."
[[Go to Class|story4]]
[[Hit Joint Again|hitjointagain][$soberUp to false]]
[[Check Your Pockets|pocket][$soberUp to false]]<<if $highness <= 2>>You can't really feel anything. You aren't that high.
"sober as a gopher" - E40
<<elseif $highness > 2 and $highness <= 7>>You're High. You're also a little thirsty. Cotton mouth probably.
<<else>>You are too high. You actually have a pretty bad migraine. Is this even normal?
<</if>>
<<back "Back">><<audio "outsideBirds" volume 0.2 fadeout>>You got so high you knocked out right where you stood.
Your limbs start twitching and foam starts to form around the side of your mouth.
The End.
/* Whether player sobers up in the passage or not*/
<<if passage() is "pocket">>
(debug note) If you see this, player is looking in pocket.
<<elseif $soberUp is false>>
(debug note) If you see this, player did not sober up.
<<elseif $highness <= 0 >>
(debug note) If you see this, player is already sober.
<<else>>
<<set $highness -= 0.25>>
(debug note) If you see this, player did sobered up by 0.25.
<</if>>
<<set $soberUp to true>><<audio "outsideBirds" fadeout>>
You throw the burnt-out joint into the distance and start walking to your class.
Before you approach the classroom you hear someone behind you yell out.
"Hey $player!"
[[Ignore|ignoredCall]]
[[Turn Around|story5]]
<span style="text-decoration:underline">Debug Menu</span>
soberUp true/false: <<print $soberUp>>
Highness level: <<print $highness>>
Inventory: <<print $pocket>>
Eyedrops Used: <<print $usedEyedrops>>
Last Passage: <<print $previous>>
<<if visited("story6") >= 1 >> Conversation Choice 1: <<print $convo1>>
<</if>><img src="images/clouds.gif" alt="sky">
<<back "Back">>After conflicting thoughts between the two voices in your head settle down, you conclude that these are early signs of schizophrenia.
Was it the weed...?
You open your eyes and throw the joint as far away from you as possible.
After a brief pause, you grab your phone and schedule an appointment with your doctor to have your mental health examined.
"Our next appointment is about a month away..." the voice on the speaker says.
You sighed. "You guys don't have an opening sooner?"
"Okay, we'll see you in a month!"
"wai-"
click* You hear the phone hang up.
"Hello...?"
You put the phone back in your pocket and walk into the distance, kicking a few pebbles along the way.
The End.
<<audio "menuTheme" volume 0.1 loop play>>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<body>
<div class="w3-container w3-animate-opacity">
<h2>Pothead Tales</h2>
<div class="w3-display-container w3-text-white">
<img src="images/Menu.jpg" alt="Lights" style="width:100%">
<div class="w3-display-topmiddle w3-container"><p></p></div>
</div>
</div>
</body>
</html>
/*
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
.mySlides {display:none;}
</style>
<body>
<h2 class="w3-center">Pothead Tales</h2>
<div class="w3-content w3-section" style="max-width:750px">
<img class="mySlides" src="slideshow/4.jpg" style="width:100%">
<img class="mySlides" src="slideshow/6.jpg" style="width:100%">
<img class="mySlides" src="slideshow/7.jpg" style="width:100%">
<img class="mySlides" src="slideshow/8.jpg" style="width:100%">
<img class="mySlides" src="slideshow/9.jpg" style="width:100%">
<img class="mySlides" src="slideshow/19.jpg" style="width:100%">
</div>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 2000); // Change image every 2 seconds
}
</script>
</body>
</html>
*/
Are you a [[Boy|boyStart1]] or [[Girl|girlStart1]]?
<<audio "menuTheme" volume 0.1 fadeout>>
What's your name?
<<textbox "$player" "Stephen" "boyStart2" autofocus>>
Press Enter When Your Done.
No story for female character yet as of 1/20/2018.
[[Uhh, I'm actually a boy.|boyStart1]]
<<back "I'm not sure what I am anymore.">><span style="color:red">DISCLOSURE</span>
Pothead Tales has referrences to drugs, specifically marijuana. The game also contains explict language.
Basically, if your a kid, you should not continue. Go play on instagram or something.
<<linkreplace "Note to teachers">>If you are a teacher grading this assignment and find the content inappropriate, please speak to me before reporting an incident. I will gladly work out a solution, for example, I can redo the assignment for half the credit. <</linkreplace>>
This game was made for personal and educational purposes.
I also don't own any of the [[sounds, pictures, or music|Works Cited]].
This game should not be publicly distributed and DEFINITELY shouldn't be sold.
Basically, I have no money. Please don't sue me.
Blah blah blah....
Scroll down to start game.
Hello <<print $player>>!
Hope you're having a nice day. You are about to play a text adventure game called Pothead Tales.
I'm sure you know what a text adventure game is.
Basically, it's an interactive story.
You read shit.
You choose shit.
Choose this [[link|story1]] to Start Game
Choose this <<back "link">> to Change Your Name
<<set $pocket.pushUnique("restroom pass")>>
You see a kid with a suspiciously large laptop bag walk torward you. <<if visited("ignoredCall") >= 1>>
"hahaha, I don't care. Just make sure you stay hidden from the cameras." <</if>>
He pulls out a green paper labeled "RESTROOM" and hands it to you.
"<<if visited("ignoredCall") >= 1>>Also, you forgot the restroom pass. <<else>>You forgot the restroom pass.<</if>>"
"Thanks." you say, as you take the pass.
"I'm Eli, we're in the same math class!" [[>>|story6]]
<<set $convo1 to 0>>
"I'm $player."
Eli smiles at you and says
"So, $player, you got a good excuse for taking a 45 minute bathroom break?"
"[[Excuse me? I only took 40 minutes.|story7][$convo1 to 1]]"
"[[Were you stalking me?|story7][$convo1 to 2]]"
"[[What are you doing here?|story7][$convo1 to 3]]"
<<if $convo1 is 1>>
"Excuse me? I only took 40 minutes."
"Actually, you took exactly 41 minutes and 23 seconds." he shot back.
<<elseif $convo1 is 2>>
"Were you stalking me?"
"Whoa there, I'm watching your back. I rewired the camera footage of you smoking. Security would've jumped on you right away."
"There were no cameras." You say as you crossed your arms.
<<elseif $convo1 is 3>>
"What are you doing here?"
"I'm looking out for you. I rewired the camera footage of you smoking. Security would've took you in quick."
<</if>>
Eli pulls out his laptop and plays security camera footage of you smoking. [[>>|story8]]
"Where did this come from?" you asked, scratching your head and staring at the video.
Eli continues to pull things out from his laptop bag. Wires, speakers, remote controls, and other tech gear. Hell, he even had room for a Playstation 4 in there.
"I connected my laptop to a special kind of bluetooth tramsitter and reporgrammed it to read ... then ... the computers ... security room... crack ... cables ... passwor-"
Eli starts trailing off about technology and hacking or something. You can't really keep up.
"[[I'm gonna go to class.|story9]]"
"[[Wanna smoke?|eliSmoke]]"
<<audio "classroom1" volume 0.3 loop play>><<audio "doorOpen1" volume 0.5 play>>
"Well, I gotta go to class." you said to Eli as you opened the door and entered the classroom.
"$player! Come to my desk please." the teacher greets you.
You walk to the teachers desk and shove your hands into your pockets.
Eli sneaks back into the classroom from behind, without being seen.
The teacher stares deep into your eyes, while you try to look away. <<if $highness >= 1 and $usedEyedrops is false>> [[>>|redEyes]]<<else>> [[>>|story10]]<</if>>
<<audio "stepsRun" volume 0.2 fadeout>>
You ignore the call and walk faster.
"$player!" the person screams louder.
Right when you reach the door, the voice says
"I saw you smoking."
Your eyes widened as you turn around.
[["'no you didn't'"|story5]]"Are you high in my class, $player?"
"What do you mean?" you said.
"Your eyes are bloodshot red."
Shit. You forgot to use your eyedrops.
"I udnerstand, I've been a high schooler before." the teacher continued.
You nodded your head. [[>>|story10]]
(debug note) I want to expand this path option."What's going on with you?" the teacher paused.
"I talked to you're dad again and-"
"What?" you said.
"Oh right, I talked to your uncle again and he wanted you to see a counselor afterschool."
Of course that asshole wants you to see a counselor.[[>>|story11]]
<<if $pocket.includes("restroom pass")>>
"Did someone take my restroom pass again? You kids really need to take responsibility for crying out loud."
<<else>>
You hand the restroom pass over to the teacher. <<audio "crumple1" volume 0.1 fadeout>>
"Your gonna need to make up the 45 minutes you missed in class somehow."
"40 minutes." you said.
"I don't care, you need to start taking responsibility for your own education, $player."
<</if>>
Jay stood up.
"You're gonna need to take some of that responsibility and shove it up your ass, Mr. Brown!" Jay shouted. [[>>|story13]]<<audio "whispers1" volume 1 fadeout>>
"ooo" the classroom echoed. Whispers are heard throughout the room.
The teachers face turns bright pink.
You look at Jay, signalling him to sit down.
Jay doesn't see you.
"Jay, I have already talked to you about your behaviour too. If you act up again, i'll-"
The bell rings and the whole classroom starts to pack up and leave.
You and Jay rush out of the classroom while the teacher tries to finish his sentence.
[[Talk to Jay|story14]]"hahahah! did you see that? The look on Mr. Browns face was priceless!" Jay shouted, holding your shoulder.
"Yeah wait till you see your face when Mr. Brown fails you." Eli says as he catches up to you and Jay.
"Fuck school, I'm gonna be a hustler when I get out bro. Who are you anyway?"
"This is Eli, he's... smart or something" you said.
Here the protagonist discovers a special power relative to the highness variableHere the protagonist ecounters a tragic incident, which he can only narrowly escape using his "discovered" powers.
If resources aren't enough to activate his powers he dies... or goes to a coma... or whatever. Point is that it is game over, must replay or start from checkpoint.
Introduces the antagonist. Here the protagonist discovers edibles, a new type of way to increase highness resources.Here Eli gets jumped by gang members and drug dealers.
Protagonist tries to save him.
Depending on the resources, inventory, and player decisions, Eli either comes out with minor injuries, hospitalized, in a coma, or dead.
School either sees you involved in a good way or bad.
Girlfriend is either killed or still in Coma.
To be continued..."You ever figured that maybe he just doesn't want me to come home?"
"Thats none of my business, you have over 20 absenses and more tardies than anyone on campus!" the teacher pulls out some papers.
"Me and your uncle decided this is whats best for you, please take a seat."
You walk back to your desk and sit down next to your friend Jay, recieving a stare from each student that you pass-by.
"Oh, $player, do you have a restroom pass by any chance?"
<<set $pocket.pushUnique("restroom pass")>>
"<<link "Yeah, here you go.">><<set $pocket.delete("restroom pass")>><<goto "story12">> <</link>>"
"[[No, I didn't see one.|story12]]"
Works Cited
Sounds/Music
<cacheaudio "Menu Theme" "music/Little Piano by Blazo.mp3">> Main Menu music
https://www.youtube.com/watch?v=DlTc1CtGIGs
<cacheaudio "outside" "sounds/outside.mp3">> outside noise
https://www.youtube.com/watch?v=hcQr1YvW4wo
<cacheaudio "breath1" "sounds/breath1.mp3">> Breath1
http://soundbible.com/suggest.php?q=breath&x=0&y=0
<cacheaudio "outsideBirds" "sounds/outside2.mp3">> outsideBirds noise
https://www.youtube.com/watch?v=eMWeQWGla0Y
<cacheaudio "burningCig1" "sounds/burningCig1.mp3">> burningCigar noise
https://www.youtube.com/watch?v=Qi3rZrc50v8
<cacheaudio "pockets1" "sounds/pockets1.mp3">> diggingInPockets noise
https://www.youtube.com/watch?v=CoPJs7balYc
<cacheaudio "stepsRun" "sounds/stepsRun.mp3">> Running Footsteps noise
https://www.youtube.com/watch?v=b74E7KBTBw0
<cacheaudio "crumple1" "sounds/crumple1.mp3">> Crumpling paper noise
https://www.youtube.com/watch?v=xR75JevoqsI
<cacheaudio "doorOpen1" "sounds/doorOpen1.mp3">> Opening Door noise
https://www.youtube.com/watch?v=k3v37Ac_CvI
<cacheaudio "doorClose1" "sounds/doorClose1.mp3">> Closing Door noise
https://www.youtube.com/watch?v=k3v37Ac_CvI
<cacheaudio "classroom1" "sounds/classroom1.mp3">> Classroom noise
https://www.youtube.com/watch?v=cnYFzu0qbtY&t=8s
<cacheaudio "whispers1" "sounds/whispers1.mp3">> Whisper noise
https://www.youtube.com/watch?v=yI85C7V88Sc
Images
Sky Image in "sky"
(https://tenor.com/view/clouds-nature-time-lapse-gif-3560159)
Videos
<<back "Back">>
{
(set: $start1 to true)
(set: $story3 to false)
(set: $ShowBackButton to false)
(set: $showfooter to true)
(set: $highness to 0)
(set: $pocket to (a: "eyedrops", "lighter"))
}
Clouds slowly pass you by as you look up into the sky.
The sunrays hit your face, giving off a comfortable warmth that radiates from the center of your face down to your neck.
You close your eyes...
A soothing voice tells you to breathe.
[[//**Take a Deep Breath**//|Start_2]]
(set: $start1 to false)
You take a deep breath to grasp the moment, it was peace of mind at it's finest.
*Peace*
and
*Quiet*
A lighted marijuana joint sits in between your fingers. Smoke it?
[[//**Smoke**//|hitjoint]]
[[//**Throw it Out**//|non-smoker]]
{
(set: $showfooter to false)
(set: $highness = 1)
}
You take the joint and put it to your mouth.
You inhale the medication and let it sit in your lungs for a few seconds before exhaling it into the air.
Birds start singing in the distance.
Chirp! Chirp!
A smile widens on your face.
[[//**Hit the Joint Again**//|hitjointagain]]
[[//**Open Your Eyes**//|story_3]]
<audio controls autoplay >
<source src="https://www.dropbox.com/s/dpvhhl2bhirxn54/Tranquil%20Birdsong%2C%2011%20hours%20-%20Birds%20Chirping%2C%20nature%20sounds%2C%20natural%20sound%20of%20birds%20singing.mp3?dl=1" type="audio/mpeg">
</audio>
{
(set: $showfooter to false)
(set: $highness += 1)
}
(if: $highness > 4)[Well shit. ]You decide to take another hit. (if: $highness > 4)[You apparently love to smoke.]
This time, you hold it in your lungs for a little longer, then exhaled it into the air... again.
(if: $highness > 7)[Your eyelids start to feel really heavy.]
(if: $highness > 10)[(goto: "toohighend")]
[[//**How High are You?**//|Highness]]
[[//**Hit the Joint Again**//|hitjointagain]]
(if: $story3 is false)[[[//**Open Your Eyes**//|story_3]]
]
(if: $story3 is true)[[[//**Go to Class**//|story_4]]
](set: $showfooter to false)
You got so high you knocked out right where you stood.
Your limbs start twitching and foam starts to form around the side of your mouth.
(set: $showfooter to true)
(set: $story3 to true)
You open your eyes to find yourself outside, behind a tall portable building.
Doesn't seem like anyone knows your here, even though you're out in the open.
"Oh shit", you thought to yourself.
"I forgot I'm supposed to be in class..."
[[//**Go to Class**//|story_4]]
[[//**Look in Your Pocket**//|pocket]]
[[//**Take Another Hit**//|hitjointagain]]
You put out the joint and pocket it before stepping out of your hiding spot.
This is the end of my progress as of 1/18/2018(set: $ShowBackButton to true)
You dig through your pockets to see what you have.
You find the following items:
(print: $pocket)
{
(if: $start1 is false)[
(set: $history to (history:))
(set: $name to $history's last)
]
(if: $showFooter is true)[
This should not appear when $showFooter is false
(if: $highness is not 0)[(set: $highness-=1)]
]
(if: $ShowBackButton is true)[
(set: $name to (history:)'s last)
[[//back//|$name]]
(click: "back")[(set: $ShowBackButton to false)]
]
}{
(set: $ShowBackButton to true)
}
(if: $highness <= 2) [You can't tell if you even feel it. You aren't that high.]
(else-if: $highness > 2 and $highness <= 7) [You're High. You're also a little thirsty. Cotton mouth probably.]
(else:)[You are too high. You actually have a pretty bad migraine. Is this even normal?]
Double-click this passage to edit it.You were about to throw out the joint, but then you realized
"I'm not throwing this away."
(if: $name is "Start_2" or $name is "non-smoker")[You felt a supernatural force hinting you to smoke the joint. Might be the wind, you're not quite sure what it is.]
[[//**Throw it out**//|non-smoker]]
[[//**Hit the joint**//|hitjoint]]