Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CharacterData.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ 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 Character vendingMachine = new Character("Vending Machine","Contains all sorts of goodies.",LocationData.insideLangdale);
public static boolean loadCharacterData () {
// Scripts wiring

Expand Down Expand Up @@ -264,6 +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;
}
}
7 changes: 6 additions & 1 deletion ItemData.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand All @@ -35,6 +36,10 @@ public static boolean loadItemData() {
CharacterData.glenda.addToInventory(List.of(redMarker, receiptOfTotalSale, cookies));

CharacterData.vault.addToInventory(securityTape);

CharacterData.DBM.addToInventory(poolNoodle);

CharacterData.vendingMachine.addToInventory(lemon);
return true;
}
}
3 changes: 3 additions & 0 deletions LocationData.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,16 @@ public static boolean loadLocationData() {
office.addPerson(CharacterData.steveSminkle);

insideLangdale.addPerson(CharacterData.xavier);
insideLangdale.addPerson(CharacterData.vendingMachine);

cookieStall.addPerson(CharacterData.glenda);

downStairs.addPerson(CharacterData.janitor);

hallway.addPerson(CharacterData.vault);

cafeteria.addPerson(CharacterData.DBM);

// student center
studentCenter.addNeighbor("further west", admissionsOffice);

Expand Down
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
# AdventureGame
# 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.