From 63f6c5e4bb6523a8cf5db1a5077de6651794dacc Mon Sep 17 00:00:00 2001 From: Bee <79103716+beeflesh@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:37:36 -0400 Subject: [PATCH 1/3] Added DBM and Pool Noodle DBM can be accessed from the cafeteria, and upon examination gives the user the pool noodle. --- CharacterData.java | 4 ++++ ItemData.java | 3 +++ LocationData.java | 2 ++ 3 files changed, 9 insertions(+) diff --git a/CharacterData.java b/CharacterData.java index 87c079c..2907bd1 100644 --- a/CharacterData.java +++ b/CharacterData.java @@ -15,6 +15,7 @@ public class CharacterData { "She won't let you call her anything else. Loves girl scout cookies.", LocationData.downStairs); public static Character vault = new Character("The Wall Safe", "This contains all of the security tapes generated from the various CCTV cameras", LocationData.hallway); + public static Character DBM = new Character("Disciplinary Board Member","A very angry looking man. Quick to accuse, slow to forgive.",LocationData.cafeteria); public static boolean loadCharacterData () { // Scripts wiring @@ -264,6 +265,9 @@ public static boolean loadCharacterData () { ) ) ); + DBM.setScript( + new DialogNode("Hey! Can't you see I'm busy? Here, entertain yourself with this.",ItemData.poolNoodle) + ); return true; } } \ No newline at end of file diff --git a/ItemData.java b/ItemData.java index 288e4e4..9cbe942 100644 --- a/ItemData.java +++ b/ItemData.java @@ -25,6 +25,7 @@ public class ItemData { "Shows proof that Glenda has been doing considerably well since the incident."); public static Item cookies = new Item("Cookies", "Delicious cookies from the cookie stall near the panther statue"); + public static Item poolNoodle = new Item("Pool Noodle","There isn't even any water around, you don't know why you have this."); public static boolean loadItemData() { // Item wiring @@ -35,6 +36,8 @@ public static boolean loadItemData() { CharacterData.glenda.addToInventory(List.of(redMarker, receiptOfTotalSale, cookies)); CharacterData.vault.addToInventory(securityTape); + + CharacterData.DBM.addToInventory(poolNoodle); return true; } } diff --git a/LocationData.java b/LocationData.java index 48328e7..b69f508 100644 --- a/LocationData.java +++ b/LocationData.java @@ -47,6 +47,8 @@ public static boolean loadLocationData() { hallway.addPerson(CharacterData.vault); + cafeteria.addPerson(CharacterData.DBM); + // student center studentCenter.addNeighbor("further west", admissionsOffice); From 1f02ee417abc11fa69030bb5362b02782859f9c8 Mon Sep 17 00:00:00 2001 From: Bee <79103716+beeflesh@users.noreply.github.com> Date: Fri, 15 Oct 2021 15:16:49 -0400 Subject: [PATCH 2/3] Added Lemon accessibility Made it possible to retrieve the lemon from the vending machine inside langdale hall --- CharacterData.java | 6 ++++++ ItemData.java | 4 +++- LocationData.java | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CharacterData.java b/CharacterData.java index 2907bd1..35e1cf6 100644 --- a/CharacterData.java +++ b/CharacterData.java @@ -17,6 +17,7 @@ public class CharacterData { "This contains all of the security tapes generated from the various CCTV cameras", LocationData.hallway); public static Character DBM = new Character("Disciplinary Board Member","A very angry looking man. Quick to accuse, slow to forgive.",LocationData.cafeteria); + public static Character vendingMachine = new Character("Vending Machine","Contains all sorts of goodies.",LocationData.insideLangdale); public static boolean loadCharacterData () { // Scripts wiring @@ -265,9 +266,14 @@ public static boolean loadCharacterData () { ) ) ); + //Disciplinary Board Member DBM.setScript( new DialogNode("Hey! Can't you see I'm busy? Here, entertain yourself with this.",ItemData.poolNoodle) ); + //Vending Machine + vendingMachine.setScript( + new DialogNode("The machine makes a weird sound.",ItemData.lemon) + ); return true; } } \ No newline at end of file diff --git a/ItemData.java b/ItemData.java index 9cbe942..959178e 100644 --- a/ItemData.java +++ b/ItemData.java @@ -3,7 +3,7 @@ public class ItemData { //Objects // General - These can drop randomly from vending machines - public static Item lemon; + public static Item lemon = new Item("Lemon","It's just a lemon"); public static Item persimmon; public static Item papaya; @@ -38,6 +38,8 @@ public static boolean loadItemData() { CharacterData.vault.addToInventory(securityTape); CharacterData.DBM.addToInventory(poolNoodle); + + CharacterData.vendingMachine.addToInventory(lemon); return true; } } diff --git a/LocationData.java b/LocationData.java index b69f508..6fbcab6 100644 --- a/LocationData.java +++ b/LocationData.java @@ -40,6 +40,7 @@ public static boolean loadLocationData() { office.addPerson(CharacterData.steveSminkle); insideLangdale.addPerson(CharacterData.xavier); + insideLangdale.addPerson(CharacterData.vendingMachine); cookieStall.addPerson(CharacterData.glenda); From 02bd750550926027868beb3c97697f8d695003b9 Mon Sep 17 00:00:00 2001 From: Bee <79103716+beeflesh@users.noreply.github.com> Date: Fri, 15 Oct 2021 16:00:53 -0400 Subject: [PATCH 3/3] Added README Walkthrough Added walkthrough to reach game win. --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 634a0b7..1f203cb 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ -# AdventureGame \ No newline at end of file +# AdventureGame + +_Synopsis_: +The Adventure Game starts with the player being accused of some form of vandalism that +has taken place on the panther statue outside of the Student Center. It is your job +to find evidence that supports your innocence, and to clear your name! + +_Things needed to win the game_: +You will need four crucial pieces of evidence to reach +the game win scenario. These four pieces of evidence are: +> The Receipt of Total Sale +> The Red Marker +> The Security Tape +> Xavier's Recounted Testimony + +_Walkthrough_ +The player starts by being confronted by the campus cop, Steve Sminkle. After entering your name and choosing from the starting dialogue, you will be placed in Langdale Hall. +Examine Xavier in order to start dialogue with him. After questioning Xavier, he will tell you that Glenda the girl scout who is at her cookie stall at the Student Center might know more. +From here, exit Langdale Hall using the "go outside" prompt and then "go further east" twice to reach the Student Center. From there we can access the cookie stall. + +Interrogating Glenda will result in no information being added, so you'll have to flatter her and ask if there's anything you can help with and if she wants to be nominated for an award. After these prompts you'll receive the Red Marker and the Receipt of Total Sale respectively. You'll also want to buy cookies from Glenda for later. +Once you have the Receipt of Total Sale, the Red Marker, and the Cookies, go back to Langdale Hall and "go downstairs". Once downstairs, examine The Janitor, who upon seeing the Cookies will offer the keys in exchange for the cookies. + +Now, with the keys, go to the Admissions Office and go down the hallway. Once down the hallway, examine The Wall Safe. Opening the wall safe with the keys will give you the Security Tape. + +One more trip back to Langdale Hall to talk to Xavier will result in his Recounted Testimony, which is the fourth and final piece of evidence needed. + +Finally, with all four pieces of evidence, go to Steve Sminkle at the Admissions Office and examine him. This will have you enter into dialogue with Steve and results in GAME WIN.