From fbd1476423bbe439830362263fbee8b87a214d9a Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 16:58:26 -0500
Subject: [PATCH 01/55] Update dotnet.yml
---
.github/workflows/dotnet.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index a45f933..3173beb 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -5,9 +5,9 @@ name: .NET
on:
push:
- branches: [ "Master" ]
+ branches: [ "Master","Testing" ]
pull_request:
- branches: [ "Master" ]
+ branches: [ "Master","Testing" ]
jobs:
build:
@@ -27,4 +27,4 @@ jobs:
- name: Test
run: dotnet test --no-build --verbosity normal
-
\ No newline at end of file
+
From 3d1caeb2dba992d833f41486b7740f683cb7b524 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 17:26:50 -0500
Subject: [PATCH 02/55] Delete Docs/LICENSE
---
Docs/LICENSE | 28 ----------------------------
1 file changed, 28 deletions(-)
delete mode 100644 Docs/LICENSE
diff --git a/Docs/LICENSE b/Docs/LICENSE
deleted file mode 100644
index 1f292ef..0000000
--- a/Docs/LICENSE
+++ /dev/null
@@ -1,28 +0,0 @@
-BSD 3-Clause License
-
-Copyright (c) 2024, Deacon Hunter
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
- list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.
-
-3. Neither the name of the copyright holder nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
-SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
-CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
From ac0802a6cd08663558799b7a653ad96616340b17 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:07:16 -0500
Subject: [PATCH 03/55] Stuff
---
Neoa/Encounters.cs | 11 +-----
Neoa/Player.cs | 31 +++++------------
Neoa/Program.cs | 87 +++++++++++++++++++++++++++++++++++++---------
3 files changed, 81 insertions(+), 48 deletions(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index c861eaa..f37ba2d 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -1,13 +1,6 @@
/* An important note. Read this if first time contributer:
-
The encounter system is not ready to use and is completely useless. In the future we will redo this code and improve the encounter system
-basically the encounters are in beta or prototype? I don't know how to class them other than not in use and useless
-*/
-
-
-
-
-
+basically the encounters are in beta or prototype? I don't know how to class them other than not in use and useless */
namespace Neoa
{
public class Encounters
@@ -46,8 +39,6 @@ public static void RandomEncounter()
}
-
-
public static void Combat(bool random, string name, int power, int health)
{
string n = "";
diff --git a/Neoa/Player.cs b/Neoa/Player.cs
index 412deb7..1aee55d 100644
--- a/Neoa/Player.cs
+++ b/Neoa/Player.cs
@@ -6,35 +6,22 @@ public class Player
public string Name;
public string Ancestor;
+ public string Species;
+ public string Subspecies;
public string Ethnicity;
+
- //Ints without use yet
public int NeoanMark = 0;
- public int Sanity = 150;
+ public int Sanity = 225;
+
+
+
//Encounter ints/strings, rarely used
- public int health = 15;
+ public int health = 100;
public int mana = 100;
- public int damage = 1;
+ public int damage = 10;
public int armorValue = 0;
- public int potion = 5;
public int weaponValue = 1;
-
- public int mods;
-
- public int GetHealth()
- {
- int upper = (2 * mods + 7);
- int lower = (mods + 2);
- return rand.Next(lower, upper);
-
- }
- public int GetPower()
- {
- int upper = (2 * mods + 2);
- int lower = (mods + 2);
- return rand.Next(lower, upper);
- }
-
}
}
diff --git a/Neoa/Program.cs b/Neoa/Program.cs
index 2a1a1d4..12efcfc 100644
--- a/Neoa/Program.cs
+++ b/Neoa/Program.cs
@@ -1,6 +1,4 @@
-/*
-Add your name for credit[I'll auto add if you've directly talked to me]
-
+/* Add your name for credit[I'll auto add if you've directly talked to me]
OWNER:
@DELUXEHUNTER
@@ -8,14 +6,11 @@
@DELUXEHUNTER
@Fuinny
-
DATE CREATED:
FEBRUARY 1ST 2024
INDIRECT CONTRIBUTERS/CONTRIBUTION/CREDIT:
-1. TUTORIAL USED I FORGOT THE NAME
-*/
-
+1. TUTORIAL USED I FORGOT THE NAME */
using System.Xml.Linq;
namespace Neoa
@@ -24,6 +19,9 @@ public class Program
{
public static Player player = new();
+ public bool DLC1 = false;
+ public bool DLC2 = false;
+
static void Main(string[] args)
{
if (OperatingSystem.IsWindows())
@@ -36,11 +34,17 @@ static void Main(string[] args)
}
- Prologue();
+ TitleScreen();
+
+ if (player.Species != "Human")
+ PrologueType2();
+ else
+ PrologueType1();
Credits();
+
}
- static void Prologue()
+ static void TitleScreen()
{
Console.WriteLine(@"
╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
@@ -113,6 +117,59 @@ static void Prologue()
}
}
+ while(true)
+ {
+ DisplayLine("Species-type")
+ Console.WriteLine("╔═════════════════════════╗");
+ Console.WriteLine("║ Human ║");
+ Console.WriteLine("║ Undead ║");
+ Console.WriteLine("║ Demonic ║");
+ Console.WriteLine("╚═════════════════════════╝");
+
+ player.Species = Console.ReadLine();
+ while(string.IsNullOrWhiteSpace(player.Species) && player.Species != "Human" && player.Species != "Undead" && player.Species != "Demonic" && player.Species != "Angelic")
+ {
+ Console.WriteLine("Thats not a real species type within this realm, the species you are looking for may be found within a subspecies.");
+ player.Species = Console.ReadLine();
+ }
+
+ if (player.Species != "Human")
+ {
+ DisplayLine("Now your subspecies");
+ if (player.Species = "Undead")
+ {
+ DisplayLine("Typically these are evil but not in this case, Dhampir is not considered a ")
+ Console.WriteLine("╔══════════════════════╗");
+ Console.WriteLine("║ Vampire ║");
+ Console.WriteLine("║ Zombie ║");
+ Console.WriteLine("║ Skeleton ║");
+ Console.WriteLine("║ Dhampir ║")
+ Console.WriteLine("╚══════════════════════╝");
+ player.Subspecies = Console.ReadLine();
+ }
+ else if (player.Species = "Demonic")
+ {
+ DisplayLine("These beings are typically evil and do not.");
+ Console.WriteLine("╔══════════════════════╗");
+ Console.WriteLine("║ Changeling ║");
+ Console.WriteLine("║ Demon ║");
+ Console.WriteLine("╚══════════════════════╝");
+ }
+ }
+
+ DisplayLine($"Are you sure you want this. Your current species is {player.Species}, while your sub species is {player.Subspecies}");
+ Console.WriteLine("Y/N");
+ string input = Console.ReadLine();
+ if (input.ToLower() == "y")
+ {
+ break;
+ }
+ else
+ {
+ continue;
+ }
+ }
+
while (true)
{
DisplayLine("Ancient Ancestor");
@@ -129,7 +186,6 @@ static void Prologue()
player.Ancestor = Console.ReadLine();
}
-
Console.WriteLine($"Current Ancient Ancestor {player.Ancestor}");
DisplayLine("Are you sure this is what you want your decision to be? You cannot change this.");
Console.WriteLine("Y/N");
@@ -144,6 +200,10 @@ static void Prologue()
continue;
}
}
+ }
+
+ static void PrologueType1()
+ {
Console.Clear();
DisplayLine("...You awaken in a dark cell, with no memory of anything from your past...\n");
@@ -160,11 +220,6 @@ static void Prologue()
}
- static void NewBeginnings()
- {
- //Temp name
- Console.WriteLine("Wombat");
- }
static void Credits()
{
@@ -190,7 +245,7 @@ static void Credits()
}
- public static void DisplayLine(string text, int speed = 60)
+ public static void DisplayLine(string text, int speed = 70)
{
foreach (char c in text)
{
From e760e30efd1c2c58c15336a269cc1fbf1053a088 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:11:12 -0500
Subject: [PATCH 04/55] Code fixes
---
.github/workflows/dotnet.yml | 4 ++--
Neoa/Program.cs | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index 3173beb..d65e2dc 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -5,9 +5,9 @@ name: .NET
on:
push:
- branches: [ "Master","Testing" ]
+ branches: [ "Stable","Experimental" ]
pull_request:
- branches: [ "Master","Testing" ]
+ branches: [ "Stable","Experimental" ]
jobs:
build:
diff --git a/Neoa/Program.cs b/Neoa/Program.cs
index 12efcfc..67e9e31 100644
--- a/Neoa/Program.cs
+++ b/Neoa/Program.cs
@@ -143,7 +143,7 @@ static void TitleScreen()
Console.WriteLine("║ Vampire ║");
Console.WriteLine("║ Zombie ║");
Console.WriteLine("║ Skeleton ║");
- Console.WriteLine("║ Dhampir ║")
+ Console.WriteLine("║ Dhampir ║");
Console.WriteLine("╚══════════════════════╝");
player.Subspecies = Console.ReadLine();
}
From f44cf2e4f1a548e044c5139e8f68f94e8727d8cf Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:11:56 -0500
Subject: [PATCH 05/55] Code fix
---
Neoa/Program.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Neoa/Program.cs b/Neoa/Program.cs
index 67e9e31..ddb8ef7 100644
--- a/Neoa/Program.cs
+++ b/Neoa/Program.cs
@@ -119,7 +119,7 @@ static void TitleScreen()
while(true)
{
- DisplayLine("Species-type")
+ DisplayLine("Species-type");
Console.WriteLine("╔═════════════════════════╗");
Console.WriteLine("║ Human ║");
Console.WriteLine("║ Undead ║");
@@ -138,7 +138,7 @@ static void TitleScreen()
DisplayLine("Now your subspecies");
if (player.Species = "Undead")
{
- DisplayLine("Typically these are evil but not in this case, Dhampir is not considered a ")
+ DisplayLine("Typically these are evil but not in this case, Dhampir is not considered a ");
Console.WriteLine("╔══════════════════════╗");
Console.WriteLine("║ Vampire ║");
Console.WriteLine("║ Zombie ║");
From cb5a1541992b6e01875edd68b8680d75619ba975 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:13:25 -0500
Subject: [PATCH 06/55] Code fixes
---
Neoa/Encounters.cs | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index f37ba2d..07620ea 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -28,7 +28,7 @@ public static void FirstEncounter()
{
enviro = "FirstEnc";
Console.ReadKey();
- Combat(false, "Escaped Prisoner ", 1, 2);
+ Combat("Escaped Prisoner ", 1, 2);
}
@@ -39,26 +39,16 @@ public static void RandomEncounter()
}
- public static void Combat(bool random, string name, int power, int health)
+ public static void Combat(string name, int power, int health)
{
string n = "";
int p = 0;
int h = 0;
int NM = 0;
-
- if (random)
- {
- n = GetName();
- p = Program.player.GetPower() + 1;
- h = Program.player.GetHealth() + 1;
- }
- else
- {
- n = name;
- p = power;
- h = health;
+ n = name;
+ p = power;
+ h = health;
- }
while (h > 0)
{
Console.Clear();
From cccc0d28a235fa013d222db91d36f044f037d89c Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:14:56 -0500
Subject: [PATCH 07/55] Code fixes
---
Neoa/Encounters.cs | 20 --------------------
Neoa/Program.cs | 6 +++---
2 files changed, 3 insertions(+), 23 deletions(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index 07620ea..182e480 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -106,26 +106,6 @@ public static void Combat(string name, int power, int health)
}
}
- else if (input.ToLower() == "h" || input.ToLower() == "Heal")
- {
- //Heal
- Program.DisplayLine("");
- if (Program.player.potion == 0)
- {
- Program.DisplayLine("You deprately grasp for a potion in your bag but all you can feel are empty flasks");
- int damage = p - Program.player.armorValue;
- if (damage < 0)
- damage = 0;
- Program.DisplayLine("The " + n + " stikes you with a sword and you lose " + damage + " health!");
- }
- else
- {
- Program.DisplayLine("You reach into your bag and drink the liquid in the vial");
- int potionV = 5;
- Program.DisplayLine("You gain " + potionV + " health");
- Program.player.health += potionV;
-
- }
Console.ReadKey();
}
if (Program.player.health < 0)
diff --git a/Neoa/Program.cs b/Neoa/Program.cs
index ddb8ef7..27b6c56 100644
--- a/Neoa/Program.cs
+++ b/Neoa/Program.cs
@@ -37,7 +37,7 @@ static void Main(string[] args)
TitleScreen();
if (player.Species != "Human")
- PrologueType2();
+ //PrologueType2();
else
PrologueType1();
Credits();
@@ -136,7 +136,7 @@ static void TitleScreen()
if (player.Species != "Human")
{
DisplayLine("Now your subspecies");
- if (player.Species = "Undead")
+ if (player.Species == "Undead")
{
DisplayLine("Typically these are evil but not in this case, Dhampir is not considered a ");
Console.WriteLine("╔══════════════════════╗");
@@ -147,7 +147,7 @@ static void TitleScreen()
Console.WriteLine("╚══════════════════════╝");
player.Subspecies = Console.ReadLine();
}
- else if (player.Species = "Demonic")
+ else if (player.Species == "Demonic")
{
DisplayLine("These beings are typically evil and do not.");
Console.WriteLine("╔══════════════════════╗");
From 6ad98054a292c1aa3a4805ca2913f7d5f0b6252e Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:16:25 -0500
Subject: [PATCH 08/55] Code fixes
---
Neoa/Encounters.cs | 1 -
1 file changed, 1 deletion(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index 182e480..e28aaa1 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -116,7 +116,6 @@ public static void Combat(string name, int power, int health)
}
Console.ReadKey();
- }
{
if (random)
NM = GetReward();
From cfb494d839d5e88eb344c529703e1cc8b0d9e1fb Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:17:26 -0500
Subject: [PATCH 09/55] code fixes
---
Neoa/Program.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Neoa/Program.cs b/Neoa/Program.cs
index 27b6c56..368b9cf 100644
--- a/Neoa/Program.cs
+++ b/Neoa/Program.cs
@@ -36,9 +36,9 @@ static void Main(string[] args)
TitleScreen();
- if (player.Species != "Human")
+ //if (player.Species != "Human")
//PrologueType2();
- else
+ //else
PrologueType1();
Credits();
From bbedc694927c0c69f242fd70f3856dc76029c7b9 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:20:16 -0500
Subject: [PATCH 10/55] code fixes
---
Neoa/Encounters.cs | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index e28aaa1..75d3943 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -16,7 +16,7 @@ public static void PrisonFirstEncounter()
Program.DisplayLine("The deranged man begins to attempt to attack you using a rusty sword");
Program.DisplayLine("Right before the man can attack you the guard quickly tosses you his sword");
Console.ReadKey();
- Combat(false, "deranged prisoner", 1, 2);
+ Combat(true, "deranged prisoner", 1, 2);
Program.DisplayLine("The guard takes back his sword and tells you to continue on");
Console.WriteLine("Save game? Y/n");
@@ -39,7 +39,7 @@ public static void RandomEncounter()
}
- public static void Combat(string name, int power, int health)
+ public static void Combat(bool combat, string name, int power, int health)
{
string n = "";
int p = 0;
@@ -59,7 +59,7 @@ public static void Combat(string name, int power, int health)
Console.WriteLine("| (A)ttack (D)efend |");
Console.WriteLine("| (R)un (M)agic |");
Console.WriteLine("======================");
- Console.WriteLine(" Potions: " + Program.player.potion + " Health: " + Program.player.health);
+ Console.WriteLine(" Mana" + player.mana + "Health: " + player.health);
string input = Console.ReadLine();
if (input.ToLower() == "a" || input.ToLower() == "attack")
{
@@ -117,9 +117,7 @@ public static void Combat(string name, int power, int health)
}
Console.ReadKey();
{
- if (random)
- NM = GetReward();
- else
+
NM = GetReward();
Console.WriteLine("You stand victorious over " + n + " and gain " + NM + " Neoan Marks");
Program.player.NeoanMark += NM;
From acc7699844b66e192149874cb8ff23db79a3516b Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:21:52 -0500
Subject: [PATCH 11/55] code fix
---
Neoa/Encounters.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index 75d3943..e4ce9a5 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -59,7 +59,7 @@ public static void Combat(bool combat, string name, int power, int health)
Console.WriteLine("| (A)ttack (D)efend |");
Console.WriteLine("| (R)un (M)agic |");
Console.WriteLine("======================");
- Console.WriteLine(" Mana" + player.mana + "Health: " + player.health);
+ Console.WriteLine(" Mana" + Program.player.mana + "Health: " + Program.player.health);
string input = Console.ReadLine();
if (input.ToLower() == "a" || input.ToLower() == "attack")
{
From 86c23d74723cf2e4dac5fed72a4762f9381b5acf Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:22:45 -0500
Subject: [PATCH 12/55] commit
---
Neoa/Encounters.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index e4ce9a5..7b1f9e9 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -28,7 +28,7 @@ public static void FirstEncounter()
{
enviro = "FirstEnc";
Console.ReadKey();
- Combat("Escaped Prisoner ", 1, 2);
+ Combat(true, "Escaped Prisoner ", 1, 2);
}
From 089c1d7e12e39e46c257103a13f042cf8724aeae Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Fri, 9 Feb 2024 22:25:18 -0500
Subject: [PATCH 13/55] code fixes
---
Neoa/Encounters.cs | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs
index 7b1f9e9..002363e 100644
--- a/Neoa/Encounters.cs
+++ b/Neoa/Encounters.cs
@@ -27,6 +27,7 @@ public static void PrisonFirstEncounter()
public static void FirstEncounter()
{
enviro = "FirstEnc";
+ reward = 30;
Console.ReadKey();
Combat(true, "Escaped Prisoner ", 1, 2);
@@ -118,7 +119,7 @@ public static void Combat(bool combat, string name, int power, int health)
Console.ReadKey();
{
- NM = GetReward();
+ NM = reward;
Console.WriteLine("You stand victorious over " + n + " and gain " + NM + " Neoan Marks");
Program.player.NeoanMark += NM;
Console.ReadKey();
@@ -140,19 +141,6 @@ public static string GetName()
return "Escaped Prisoner";
}
- public static int GetReward()
- {
- if(enviro == "RandEnc")
- {
- return reward = rand.Next(0,25);
- }
- if (enviro == "")
- {
- return reward = reward;
- }
- return reward = 1;
- }
-
public static string enviro = "";
}
}
\ No newline at end of file
From c20b903b15d2a44e0a5e5b769450e5ae4a743ac8 Mon Sep 17 00:00:00 2001
From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com>
Date: Sat, 10 Feb 2024 18:32:45 -0500
Subject: [PATCH 14/55] Add files via upload
---
Docs/Images/Neoa-Icon.png | Bin 0 -> 7911 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 Docs/Images/Neoa-Icon.png
diff --git a/Docs/Images/Neoa-Icon.png b/Docs/Images/Neoa-Icon.png
new file mode 100644
index 0000000000000000000000000000000000000000..1347ceee2953bc2f5b8c55750291ddb618701155
GIT binary patch
literal 7911
zcmb_hXH=8vwhkRdiZbE|0)v7uQk5nhVT7SK>0P8Z2M9 Sometime in a few months I will have to leave for 3 months and will not be able to access any of my electronic devices. I don't expect anyone to want to help with this project/game but if you do remember this, and when I do come back I'll review everything and start coding again, I really do apologize for this, I will try my best to come back as soon as possible, and if I don't come back that soon, I'm sorry.
a47s0Lp@~o$o2W~wte;vtU939}XXxBjTw3EiolwRD5pf!$OurtUVO`y0$
z048%je>hv~>%v84P-F1tb~=hP5FZ#!RT4P`M@Z@-j;kUQ-LeCmf)9LM!Bf$j^VMph
zL6iYJbUb$f^Wep9CYKhg#gx61&%?#F@rBgZoCZ8yIn1eA6kjI%vsK0tu20V&JAt91
zCnc2B0Mpl`j;Vtq==njHKVM{$t{X;LL6;8m!*)U;w4y}d`&T+#tl@~jIdz%06V8$~
zJWEQy`jG;?F}e%G9@Ph%2}(j!VaM7uwa8r)T5wVn=UK9S19|o(ox+^fZolm+9~a*M
zUYm98=yO+-wIhQ}TLAXcjgmViY-;iMy(d=smmLzSiFekO0$W@+VB@ic;nNhj52U(7
zNW^l=`l`|zRZ-(+u|Df9U_O^t+WZkmdnxSZUs`Oi?o)MK9SAkK-#Eq|!d6S}^xytf
z%d1NI#ENq~Uq}9)8GM%BFITfHg86*{mof}0ANS?5;q{06++?Bn;6*D{?J}#XK#-w<
zq8V$^v^tQVfr9;|?8u7KAqY(5Zmj{KVRm|q6)C}|Kxlx;@pj7fXes=9NEO>2^vY?l
zqpJ37NEmJU6%P;C^Cj!l=gMuAG~||2Uk&%`AaB_O$|-wikt$gP4>zi-B^=F3)qk>Y
zMTAuYA)L6>l;@dVb$#VbS`Cj@rM$i(*1+2n^1ReLn79_EYoZ1o_FC-k>`B!)nrGKN
zUe>kD7Rcm``Hr$~oD}aWd~o;q>csZF&6V-t1+Rt?<23xQXO#7t)&69OlQ}IEpP4y)
zSli`<`)mDk9~*7VFK=(gvd^}
+
@@ -26,4 +26,4 @@ The Icon is not the final product and also its supposed to be a helmet but I'm s
Neo
Land of Neoa
if I don't respond on discord, I'm unable during school at 6:58AM until 4:20PM. Sorry for the inconvience
-
Anaxian myths and legends
- ---------------------------------------------------------------- \ No newline at end of file +--------------------------------------------------------------- From a4dfde1e0aeda65590929feda19994595b3e32c2 Mon Sep 17 00:00:00 2001 From: Semion Medvedev <126599206+Fuinny@users.noreply.github.com> Date: Mon, 12 Feb 2024 21:47:46 +0200 Subject: [PATCH 48/55] Update character setup and prologue --- Neoa/DLCS.CS | 18 +- Neoa/Encounters.cs | 8 +- Neoa/Player.cs | 152 ++++++++-------- Neoa/Program.cs | 431 ++++++++++++++++++++++----------------------- 4 files changed, 294 insertions(+), 315 deletions(-) diff --git a/Neoa/DLCS.CS b/Neoa/DLCS.CS index 710e2e8..4b52e27 100644 --- a/Neoa/DLCS.CS +++ b/Neoa/DLCS.CS @@ -12,24 +12,24 @@ namespace Neoa Program.DisplayLine("Who are you...."); Dreamer = Console.ReadLine(); - - } - + } + + } -// The kings court is a DLC that is completely seperate from the base game. + // The kings court is a DLC that is completely seperate from the base game. public class TKC { - public bool KCourt = false; + public bool KCourt = false; - public static void TKCIntro() - { - while(TKC = true) + public static void TKCIntro() { + while (TKC = true) + { - } + } } diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs index e4821e9..ab43eac 100644 --- a/Neoa/Encounters.cs +++ b/Neoa/Encounters.cs @@ -1,4 +1,4 @@ -//The Encounter system will constantly need to be changed, there is no set way +////The Encounter system will constantly need to be changed, there is no set way namespace Neoa { public class Encounters @@ -17,10 +17,10 @@ public static void PrisonFirstEncounter() public static void FirstEncounter() { Console.ReadKey(); - + Combat(false, "Escaped Prisoner ", 1, 2, 1); } - + public static void Combat(bool random, string enemyName, int enemyPower, int enemyHealth, int enemyMana) { while (enemyHealth > 0) @@ -69,7 +69,7 @@ public static void Combat(bool random, string enemyName, int enemyPower, int ene if (Program.Player.Health < 0) { Program.DisplayLine("So you've died? thats not great"); - Program.Death(); + //Program.Death(); } } diff --git a/Neoa/Player.cs b/Neoa/Player.cs index 41464d1..f5b1bf8 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -1,57 +1,50 @@ -namespace Neoa -{ - public class Player - { +namespace Neoa; -//strings - - //Start(These strings are set at the begining of the game through character creation) - public string Name; - public string Ancestor; - public string Species; - public string Subspecies; - public string Ethnicity; - public string Class; +public class Player +{ + // strings + // Start(These strings are set at the begining of the game through character creation) + public string Name; + public string Ancestor; + public string Species; + public string Subspecies; + public string Ethnicity; + public string Class; -//ints + //ints //Currency - public int NeoanMark; + public int NeoanMark; //Mind - public int Sanity = 225; - public int Bloodthirst = 0; + public int Sanity = 225; + public int Bloodthirst = 0; //World/Influence - public int Reputation = 0; - public int DivineFavor = 0; - public int AncestralFavor = -50; - - + public int Reputation = 0; + public int DivineFavor = 0; + public int AncestralFavor = -50; //Physical/Magical(Encounters) - public int Health = 100; - public int Mana = 100; - public int Damage = 10; - public int Blooddamage = 0; - public int Armor = 0; - public int WeaponStrength = 1; - - - - -//Unique stats & Player systems -//I don't really know how to fix this, so I'm not gonna mess with it anymore - public static Stats() + public int Health = 100; + public int Mana = 100; + public int Damage = 10; + public int Blooddamage = 0; + public int Armor = 0; + public int WeaponStrength = 1; + + //Unique stats & Player systems + //I don't really know how to fix this, so I'm not gonna mess with it anymore + public static void SetupStats() { if (Program.Player.Species == "Human") { Program.Player.Health = 105; Program.Player.Mana = 125; - Program.Player.Damage = 10; + Program.Player.Damage = 10; Program.Player.DivineFavor = -5; Program.Player.AncestralFavor = 5; Program.Player.Sanity = 250; @@ -59,66 +52,63 @@ public static Stats() } - else if(Program.Player.Species == "Undead") + else if (Program.Player.Species == "Undead") { - if(Program.Player.Subspecies == "Vampire") + if (Program.Player.Subspecies == "Vampire") { - Program.Player.Health = 125; - Program.Player.Mana = 200; - Program.Player.Damage = 10; - Program.Player.BloodDamage = 2; - if (Program.Player.Ancestor == "Tau-an") - Program.Player.AncestralFavor = 5; - else if (Program.Player.Ancestor != "Tau-an") - Program.Player.AncestralFavor = -50; - Program.Player.DivineFavor = -25; - Program.Player.Sanity = 235; - Program.Player.Bloodthirst = 1; - Program.Player.Reputation = 0; + Program.Player.Health = 125; + Program.Player.Mana = 200; + Program.Player.Damage = 10; + Program.Player.BloodDamage = 2; + if (Program.Player.Ancestor == "Tau-an") + Program.Player.AncestralFavor = 5; + else if (Program.Player.Ancestor != "Tau-an") + Program.Player.AncestralFavor = -50; + Program.Player.DivineFavor = -25; + Program.Player.Sanity = 235; + Program.Player.Bloodthirst = 1; + Program.Player.Reputation = 0; } else if (Program.Player.Subspecies == "Zombie") { - Program.Player.Health = 120; - Program.Player.Mana = 20; - Program.Player.Damage = 12; - Program.Player.Armor = 3; - //Due to them being resurected even if forced - Program.Player.DivineFavor = -30; - Program.Player.AncestralFavor = -100; - Program.Player.Sanity = -250; - Program.Player.Reputation = -50; + Program.Player.Health = 120; + Program.Player.Mana = 20; + Program.Player.Damage = 12; + Program.Player.Armor = 3; + //Due to them being resurected even if forced + Program.Player.DivineFavor = -30; + Program.Player.AncestralFavor = -100; + Program.Player.Sanity = -250; + Program.Player.Reputation = -50; } else if (Program.Player.Subspecies == "Revenant") { - Program.Player.Health = 65; - Program.Player.Mana = 76; - Program.Player.Damage = 17; - Program.Player.Armor = 5; - Program.Player.DivieFavor = -35; - Program.PLayer.AncestralFavor = -50; - Program.Player.Sanity = -300; - Program.Player.Reputation = -60; + Program.Player.Health = 65; + Program.Player.Mana = 76; + Program.Player.Damage = 17; + Program.Player.Armor = 5; + Program.Player.DivieFavor = -35; + Program.PLayer.AncestralFavor = -50; + Program.Player.Sanity = -300; + Program.Player.Reputation = -60; } } - - else if(Program.Player.Species == "Demonic") + else if (Program.Player.Species == "Demonic") { - if(Program.Player.Subspecies == "Demon") + if (Program.Player.Subspecies == "Demon") { - Program.Player.Health = 175; - Program.Player.Mana = 400; - Program.Player.Damage = 15; - Program.Player.Armor = 2; - Program.Player.DivineFavor = -30; - Program.Player.AncestralFavor = -200; - Program.Player.Sanity = 450; - Program.Player.Reputation -100; - - } - } + Program.Player.Health = 175; + Program.Player.Mana = 400; + Program.Player.Damage = 15; + Program.Player.Armor = 2; + Program.Player.DivineFavor = -30; + Program.Player.AncestralFavor = -200; + Program.Player.Sanity = 450; + Program.Player.Reputation - 100; + } } } } diff --git a/Neoa/Program.cs b/Neoa/Program.cs index 56e6993..c096b72 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -1,31 +1,31 @@ -namespace Neoa +namespace Neoa; + +public class Program { - public class Program + public static Player Player = new(); + + public static void Main() { - public static Player Player = new(); - static void Main(string[] args) + if (OperatingSystem.IsWindows()) { - if (OperatingSystem.IsWindows()) - { - Console.SetWindowSize(155, 45); - Console.BufferWidth = Console.WindowWidth; - Console.BufferHeight = Console.WindowHeight; - Console.ForegroundColor = ConsoleColor.Red; - Console.BackgroundColor = ConsoleColor.Black; - } - - TitleScreen(); - //if (player.Species != "Human") - //PrologueType2(); - //else - PrologueType1(); - Credits(); - + Console.SetWindowSize(155, 55); + Console.BufferWidth = Console.WindowWidth; + Console.BufferHeight = Console.WindowHeight; } - static void TitleScreen() - { - Console.WriteLine(@" + Console.ForegroundColor = ConsoleColor.Red; + Console.BackgroundColor = ConsoleColor.Black; + + TitleScreen(); + Prologue(); + Credit(); + } + + public static void TitleScreen() + { + // Note from Fuinny: we need to add ability to choose character's gender and age. + // Narrator replicas. + Console.WriteLine(@" ╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000║ ║000000███00000000▄█0000█▄0000000▄████████0000000▄█000▄█▄00▄█00███▄▄▄▄000000▄██████▄00████████▄000▄██████▄0000▄▄▄▄███▄▄▄▄0000000▄██████▄00000▄████████0000║ @@ -46,224 +46,213 @@ static void TitleScreen() ║000000000000000000000000000000000000000000000000000███000███000███0000███0███0000███000███0000███00000000000000000000000000000000000000000000000000000000║ ║0000000000000000000000000000000000000000000000000000▀█000█▀0000██████████00▀██████▀0000███0000█▀000000000000000000000000000000000000000000000000000000000║ ║000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000║ -╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝"); - DisplayLine("The land of Neoa awaits, are you prepared for your fate..."); - DisplayLine("...Whoever you are?"); - DisplayLine("Tell us your name."); +╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ +"); + DisplayLine(ConsoleColor.White, "narrator", "You find yourself... nowhere."); + DisplayLine(ConsoleColor.White, "narrator", "You cannot see, smell, or touch anything..."); + DisplayLine(ConsoleColor.White, "narrator", "There is only eternal darkness before you."); + DisplayLine(ConsoleColor.White, "narrator", "Suddenly, the silence is broken by a loud, deep, echoing voice."); + DisplayLine(ConsoleColor.White, "narrator", "It seems that the voice is speaking to you. You cannot see anyone, but you feel the presence of others."); - Player.Name = Console.ReadLine(); - while (string.IsNullOrWhiteSpace(Player.Name)) - { - Console.WriteLine("It's not even a name!\n"); - Player.Name = Console.ReadLine(); - } + Console.WriteLine(); - while (true) - { - DisplayLine($"\nWhere are you from {Player.Name}"); - Console.WriteLine("╔═════════════════════════╗"); - Console.WriteLine("║ Neoan ║"); - Console.WriteLine("║ Anaxian ║"); - Console.WriteLine("╚═════════════════════════╝"); - - Player.Ethnicity = Console.ReadLine(); - while (string.IsNullOrWhiteSpace(Player.Ethnicity) && Player.Ethnicity != "Neoan" && Player.Ethnicity != "Anaxian") - { - Console.WriteLine("That isn't a real place, or ethnicity within this realm!"); - Player.Ethnicity = Console.ReadLine(); - } - - DisplayLine($"Are you sure this is what you want? Your current ethnicity is {Player.Ethnicity}"); - if (Player.Ethnicity == "Neoan") - { - Console.WriteLine("Selecting Neoan is the most basic option you can pick during these stages"); - Console.WriteLine("Anaxians have more dialog. Are you sure you want to pick this? you may only turn back if you reset"); - } - else if (Player.Ethnicity == "Anaxian") - { - Console.WriteLine("Selecting Anaxian gives you many more options at this stage in the games development."); - } - - Console.WriteLine("Y/N"); - string input = Console.ReadLine(); - if (input.ToLower() == "y") - { - break; - } - else - { - continue; - } - } + // Ask player's name. + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "The land of Neoa awaits, are you prepared for your fate?"); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "Whoever you are..."); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "Tell us your name..."); - while(true) - { - DisplayLine("Species-type"); - Console.WriteLine("╔═════════════════════════╗"); - Console.WriteLine("║ Human ║"); - Console.WriteLine("║ Undead ║"); - Console.WriteLine("║ Demonic ║"); - Console.WriteLine("╚═════════════════════════╝"); - - Player.Species = Console.ReadLine(); - while(string.IsNullOrWhiteSpace(Player.Species) && Player.Species != "Human" && Player.Species != "Undead" && Player.Species != "Demonic" && Player.Species != "Angelic") - { - Console.WriteLine("Thats not a real species type within this realm, the species you are looking for may be found within a subspecies."); - Player.Species = Console.ReadLine(); - } - - if (Player.Species != "Human") - { - DisplayLine("Now your subspecies"); - if (Player.Species == "Undead") - { - DisplayLine("Typically these are evil but not in this case, Dhampir is not considered a "); - Console.WriteLine("╔══════════════════════╗"); - Console.WriteLine("║ Vampire ║"); - Console.WriteLine("║ Zombie ║"); - Console.WriteLine("║ Revenant ║"); - Console.WriteLine("╚══════════════════════╝"); - Player.Subspecies = Console.ReadLine(); - while(string.IsNullOrWhiteSpace(Player.Subspecies) && Player.Subspecies != "Human" && Player.Species != "Undead" && Player.Species != "Demonic" && Player.Species != "Angelic") - { - Console.WriteLine("Thats not a real species type within this realm, the species you are looking for may be found within a subspecies."); - Player.Species = Console.ReadLine(); - } - - } - else if (Player.Species == "Demonic") - { - DisplayLine("These beings are typically evil"); - Console.WriteLine("╔══════════════════════╗"); - Console.WriteLine("║ Demon ║"); - Console.WriteLine("╚══════════════════════╝"); - } - //Demon is the only demonic race for now - } - - DisplayLine($"Are you sure you want this. Your current species is {Player.Species}, while your sub species is {Player.Subspecies}"); - Console.WriteLine("Y/N"); - string input = Console.ReadLine(); - if (input.ToLower() == "y") - { - break; - } - else - { - continue; - } - } + Console.WriteLine(); - while (true) - { - DisplayLine("Ancient Ancestor"); - Console.WriteLine("╔═════════════════════════╗"); - Console.WriteLine("║ Avalon ║"); - Console.WriteLine("║ Iedelan ║"); - Console.WriteLine("║ Tau-an ║"); - Console.WriteLine("╚═════════════════════════╝"); - - Player.Ancestor = Console.ReadLine(); - while (string.IsNullOrWhiteSpace(Player.Ancestor) && Player.Ancestor != "Avalon" && Player.Ancestor != "Iedelan" && Player.Ancestor != "Tau-an") - { - Console.WriteLine("That is not a real ancestor!"); - Player.Ancestor = Console.ReadLine(); - } - - Console.WriteLine($"Current Ancient Ancestor {Player.Ancestor}"); - DisplayLine("Are you sure this is what you want your decision to be? You cannot change this."); - Console.WriteLine("Y/N"); - - string input = Console.ReadLine(); - if (input.ToLower() == "y") - { - break; - } - else - { - continue; - } - } + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Name = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Name)) + { + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "It is not even a name!\n"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Name = Console.ReadLine(); } - static void PrologueType1() + Console.WriteLine(); + + // Ask player's ethnicity. + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"Where are you from, {Player.Name}?"); + Console.WriteLine("{Possible answers: Neoan, Anaxian}"); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Ethnicity = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Ethnicity) || (Player.Ethnicity != "Neoan" && Player.Ethnicity != "Anaxian")) { + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "That isn't a real place, or ethnicity within this realm!\n"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Ethnicity = Console.ReadLine(); + } + + Console.WriteLine(); + + // Ask player's species. + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"What are you, {Player.Name}?"); + Console.WriteLine("{Possible answers: Human, Undead, Demonic}"); - Console.Clear(); - DisplayLine("...You awaken in a dark cell, with no memory of anything from your past...\n"); - DisplayLine($"The only thing you remember is your name {Player.Name}"); - DisplayLine("you hear a muffled voice from outside your door you could only make out a few words \"and..a few days away from.. execution\""); - DisplayLine("The knob on the door begins to turn.. a guard walks through the door..."); - DisplayLine("...he pulls you up and tells you to follow him."); - - if (Player.Ethnicity == "Anaxian") Encounters.PrisonFirstEncounter(); - - DisplayLine("the guard leads you to the entrance where you see someone who looked like royalty he stood calm with purpose and pride"); - DisplayLine("speaking to you the guard tells you \"thats the royal who begged us to release you\""); - DisplayLine($"the strange man speaks \"So, your {Player.Name}."); - DisplayLine("what do you plan on doing now that I've released you?\""); - Console.WriteLine(""); - + Console.WriteLine(); + + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Species = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Species) && Player.Species != "Human" && Player.Species != "Undead" && Player.Species != "Demonic" && Player.Species != "Angelic") + { + DisplayLine(ConsoleColor.Green, "You", "", 0); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "That's not a real species type within this realm! Are you sure you didn't mean a subspecies type?"); + Player.Species = Console.ReadLine(); } - public static void Death() + Console.WriteLine(); + + // Ask player's subspecies. + if (Player.Species != "Human") { - //Temporary death, death screen will change depending on way of death, who or what killed you and will show you your players information - while(true) + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"And now in more detail... Your subspecies, {Player.Name}."); + Console.WriteLine("{Possible answers: Vampire, Zombie, Revenant, Demon}"); + + Console.WriteLine(); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Subspecies = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Subspecies) && Player.Subspecies != "Human" && Player.Species != "Undead" && Player.Species != "Demonic" && Player.Species != "Angelic") { - Console.Clear(); - DisplayLine("......A tall black figure appears before you"); - DisplayLine($"...{Player.Name}.. Did you expect this?"); - Console.ReadKey(); - - Console.WriteLine("The end.."); - - - DisplayLine("Info"); - DisplayLine($"Name: {Player.Name}"); - DisplayLine($"Species: {Player.Species}/{Player.Subspecies}"); - DisplayLine($"Ethnicity: {Player.Ethnicity}"); - DisplayLine($"Ancestor: {Player.Ancestor}"); - - Console.WriteLine("Stats"); - DisplayLine($"Sanity {Player.Sanity}"); - DisplayLine($"Divine & Ancestral Favor: {Player.DivineFavor}, {Player.AncestralFavor}"); + Console.WriteLine("Thats not a real subspecies type within this realm!"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Species = Console.ReadLine(); } - Console.ReadKey(); + + Console.WriteLine(); } - static void Credits() + // Ask player's ancestor. + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"Who are your ancestor, {Player.Name}?"); + Console.WriteLine("{Possible answers: Avalon, Iedelan, Tau-an}"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Ancestor = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Ancestor) && Player.Ancestor != "Avalon" && Player.Ancestor != "Iedelan" && Player.Ancestor != "Tau-an") { - DisplayLine("So, you've reached a point that the game ended sadly"); - DisplayLine("In the future there will be more. For now enjoy these credits"); - Console.WriteLine(@" - ____________________________________________________________________________________________ - | Code/Lore | Honorable Mention[Characters] | - | Deacon Hunter | | - | Fuinny | | - | | | - | | | - | | | - | | | - | | | - /\____________________________________________/\____________________________________________/\ - - - "); - DisplayLine("Press enter to clear."); - Console.ReadKey(); - Console.Clear(); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "That is not a real ancestor!"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Ancestor = Console.ReadLine(); + } + } + + public static void Prologue() + { + Console.Clear(); + + DisplayLine(ConsoleColor.White, "narrator", "You awaken in a dark cell, with no memory of anything from your past..."); + DisplayLine(ConsoleColor.White, "narrator", $"The only thing you remember is your name - {Player.Name}."); + DisplayLine(ConsoleColor.White, "narrator", $"You hear a muffled voice from outside your door you could only make out a few words \"and... a few days away from... execution\""); + DisplayLine(ConsoleColor.White, "narrator", "The knob on the door begins to turn..."); + DisplayLine(ConsoleColor.White, "narrator", "A guard in steel armor with a sword enters the door, on his armor is the emblem of the Neoa royal family."); + DisplayLine(ConsoleColor.White, "narrator", "He pulls you up and tells you to follow him."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.DarkMagenta, "Royal Guard", "Come on, get up! His Majesty does not like to wait."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.White, "narrator", "The guard leads you to the entrance where you see someone who looked like royalty. He stood calm, with purpose and pride."); + DisplayLine(ConsoleColor.White, "narrator", "You stop in front of him. The guardian bent the knee."); + DisplayLine(ConsoleColor.White, "narrator", "The guard begins to speak. Loudly and with respect."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.DarkMagenta, "Royal Guard", "Your Majesty, this is the person you were talking about."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.White, "narrator", "You look up and it comes to us. The King of Neoa himself stands before you!"); + } + + // Note from Fuinny: we can actually add parameter to this method in the future and the output will change depending on way of death. + // Temporary death, death screen will change depending on way of death, who or what killed you and will show you your players information + public static void Death() + { + Console.Clear(); + + DisplayLine(ConsoleColor.White,"narrator","A tall black figure appears before you..."); + DisplayLine(ConsoleColor.White, "narrator", "The figure looks at you for a few seconds and begins to speak..."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.DarkRed,"Death",$"...{Player.Name}... Did you expect this?"); + Console.WriteLine(); + + Console.WriteLine("THE END"); + + Console.WriteLine("Info"); + Console.WriteLine($"Name: {Player.Name}"); + Console.WriteLine($"Species: {Player.Species}/{Player.Subspecies}"); + Console.WriteLine($"Ethnicity: {Player.Ethnicity}"); + Console.WriteLine($"Ancestor: {Player.Ancestor}"); + + Console.WriteLine("Stats"); + Console.WriteLine($"Sanity: {Player.Sanity}"); + Console.WriteLine($"Divine & Ancestral Favor: {Player.DivineFavor}, {Player.AncestralFavor}"); + + Console.ReadKey(); + } + + public static void Credit() + { + Console.WriteLine(@" + ███ ▄█ █▄ ▄████████ ███▄▄▄▄ ▄█ ▄█▄ ▄██ ▄ ▄██████▄ ███ █▄ +▀█████████▄ ███ ███ ███ ███ ███▀▀▀██▄ ███ ▄███▀ ███ ██▄ ███ ███ ███ ███ + ▀███▀▀██ ███ ███ ███ ███ ███ ███ ███▐██▀ ███▄▄▄███ ███ ███ ███ ███ + ███ ▀ ▄███▄▄▄▄███▄▄ ███ ███ ███ ███ ▄█████▀ ▀▀▀▀▀▀███ ███ ███ ███ ███ + ███ ▀▀███▀▀▀▀███▀ ▀███████████ ███ ███ ▀▀█████▄ ▄██ ███ ███ ███ ███ ███ + ███ ███ ███ ███ ███ ███ ███ ███▐██▄ ███ ███ ███ ███ ███ ███ + ███ ███ ███ ███ ███ ███ ███ ███ ▀███▄ ███ ███ ███ ███ ███ ███ + ▄████▀ ███ █▀ ███ █▀ ▀█ █▀ ███ ▀█▀ ▀█████▀ ▀██████▀ ████████▀ +"); + DisplayLine(ConsoleColor.Red, null, "So, you've reached a point that the game ended sadly"); + DisplayLine(ConsoleColor.Red, null, "In the future there will be more. For now enjoy these credits"); + Console.WriteLine(@" + __________________ __________________ +.-/| Code/Lore \ /Honorable Mentions|\-. +|||| Deacon Hunter | [Characters] |||| +|||| Fuinny | |||| +|||| | |||| +|||| | |||| +|||| | |||| +|||| | |||| +|||| | |||| +|||| | |||| +|||| | |||| +|||| | |||| +||||__________________ | __________________|||| +||/===================\|/===================\|| +`--------------------~___~-------------------'' +"); + } + + public static void DisplayLine(ConsoleColor textColor, string name, string text, int speed = 120) + { + Console.ForegroundColor = textColor; + + if (name == "narrator") + { + Console.Write("[ "); + } + else if (name != null) + { + Console.Write($"{name}: "); } - public static void DisplayLine(string text, int speed = 70) + foreach (char c in text) { - foreach (char c in text) - { - Console.Write(c); - System.Threading.Thread.Sleep(110); - } - Console.WriteLine(); + Console.Write(c); + Thread.Sleep(speed); } + + if (name == "narrator") Console.Write(" ]"); + if (text != "") Console.Write("\n"); } } \ No newline at end of file From 686f9b2e13b08ac08b5ff68064f514b4abdef41e Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:16:51 -0500 Subject: [PATCH 49/55] Gender input || string not added --- Neoa/Program.cs | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/Neoa/Program.cs b/Neoa/Program.cs index c096b72..c85482f 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -74,6 +74,22 @@ public static void TitleScreen() Console.WriteLine(); + // Ask player's gender + DisplayLine(Console.Color.Read, "The Mystical Voice", $"What is your gender, {Player.Name}?:); + Console.WriteLine("{Possible answers: Male, Female}"); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.Green, "You","", 0); + Player.Gender = Console.ReadLine(); + while (string.IsNullOrWhiteSpace(Player.Gender) || (Player.Gender != "Male" && Player.Gender != "Female")) + { + DisplayLine(ConsoleColor.Red, "The Mystical Voice", "That isn't a real gender\n"); + DisplayLine(ConsoleColor.Green, "You", "", 0); + Player.Gender = Console.ReadLine(); + } + Console.WriteLine(); + // Ask player's ethnicity. DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"Where are you from, {Player.Name}?"); Console.WriteLine("{Possible answers: Neoan, Anaxian}"); @@ -128,7 +144,7 @@ public static void TitleScreen() } // Ask player's ancestor. - DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"Who are your ancestor, {Player.Name}?"); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"Who is your ancestor, {Player.Name}?"); Console.WriteLine("{Possible answers: Avalon, Iedelan, Tau-an}"); DisplayLine(ConsoleColor.Green, "You", "", 0); Player.Ancestor = Console.ReadLine(); @@ -198,6 +214,7 @@ public static void Death() Console.WriteLine($"Divine & Ancestral Favor: {Player.DivineFavor}, {Player.AncestralFavor}"); Console.ReadKey(); + } public static void Credit() @@ -255,4 +272,4 @@ public static void DisplayLine(ConsoleColor textColor, string name, string text, if (name == "narrator") Console.Write(" ]"); if (text != "") Console.Write("\n"); } -} \ No newline at end of file +} From 30de3cf7d357599fad87c99eaf00d7970aaf5f0f Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:25:17 -0500 Subject: [PATCH 50/55] Age int --- Neoa/Player.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Neoa/Player.cs b/Neoa/Player.cs index f5b1bf8..b864791 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -12,6 +12,7 @@ public class Player public string Subspecies; public string Ethnicity; public string Class; + public string Gender; //ints @@ -27,6 +28,9 @@ public class Player public int DivineFavor = 0; public int AncestralFavor = -50; + //Physical/Magical + public int Age; + //Physical/Magical(Encounters) public int Health = 100; public int Mana = 100; From 50760aebbdc9475b5dce42ffe8411e90e17b8875 Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:33:56 -0500 Subject: [PATCH 51/55] Code fix --- Neoa/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neoa/Program.cs b/Neoa/Program.cs index c85482f..447e9aa 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -75,7 +75,7 @@ public static void TitleScreen() Console.WriteLine(); // Ask player's gender - DisplayLine(Console.Color.Read, "The Mystical Voice", $"What is your gender, {Player.Name}?:); + DisplayLine(Console.Color.Read, "The Mystical Voice", $"What is your gender, {Player.Name}?:"); Console.WriteLine("{Possible answers: Male, Female}"); Console.WriteLine(); From 72e6690a35b1e68903df1c746b53bacce98a86ce Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:38:24 -0500 Subject: [PATCH 52/55] Code Fix --- Neoa/Encounters.cs | 2 +- Neoa/Player.cs | 6 +++--- Neoa/Program.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs index ab43eac..53d3303 100644 --- a/Neoa/Encounters.cs +++ b/Neoa/Encounters.cs @@ -1,4 +1,4 @@ -////The Encounter system will constantly need to be changed, there is no set way +/* The Encounter system will constantly need to be changed, there is no set way namespace Neoa { public class Encounters diff --git a/Neoa/Player.cs b/Neoa/Player.cs index b864791..1fae630 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -63,7 +63,7 @@ public static void SetupStats() Program.Player.Health = 125; Program.Player.Mana = 200; Program.Player.Damage = 10; - Program.Player.BloodDamage = 2; + Program.Player.Blooddamage = 2; if (Program.Player.Ancestor == "Tau-an") Program.Player.AncestralFavor = 5; else if (Program.Player.Ancestor != "Tau-an") @@ -92,7 +92,7 @@ public static void SetupStats() Program.Player.Mana = 76; Program.Player.Damage = 17; Program.Player.Armor = 5; - Program.Player.DivieFavor = -35; + Program.Player.DivineFavor = -35; Program.PLayer.AncestralFavor = -50; Program.Player.Sanity = -300; Program.Player.Reputation = -60; @@ -110,7 +110,7 @@ public static void SetupStats() Program.Player.DivineFavor = -30; Program.Player.AncestralFavor = -200; Program.Player.Sanity = 450; - Program.Player.Reputation - 100; + Program.Player.Reputation -100; } } diff --git a/Neoa/Program.cs b/Neoa/Program.cs index 447e9aa..bd78b9e 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -75,7 +75,7 @@ public static void TitleScreen() Console.WriteLine(); // Ask player's gender - DisplayLine(Console.Color.Read, "The Mystical Voice", $"What is your gender, {Player.Name}?:"); + DisplayLine(ConsoleColor.Red, "The Mystical Voice", $"What is your gender, {Player.Name}?:"); Console.WriteLine("{Possible answers: Male, Female}"); Console.WriteLine(); From f875811d916523f883eff0afe9b644236331e19c Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:39:52 -0500 Subject: [PATCH 53/55] Code fix --- Neoa/Encounters.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Neoa/Encounters.cs b/Neoa/Encounters.cs index 53d3303..34cbf33 100644 --- a/Neoa/Encounters.cs +++ b/Neoa/Encounters.cs @@ -76,4 +76,5 @@ public static void Combat(bool random, string enemyName, int enemyPower, int ene Console.ReadKey(); } } -} \ No newline at end of file +} +*/ \ No newline at end of file From 9c14208d5ca2452c2ee91693811cde7daa4a7c70 Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:42:51 -0500 Subject: [PATCH 54/55] Code fix --- Neoa/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neoa/Player.cs b/Neoa/Player.cs index 1fae630..d0b413e 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -93,7 +93,7 @@ public static void SetupStats() Program.Player.Damage = 17; Program.Player.Armor = 5; Program.Player.DivineFavor = -35; - Program.PLayer.AncestralFavor = -50; + Program.Player.AncestralFavor = -50; Program.Player.Sanity = -300; Program.Player.Reputation = -60; } From bf4afa0c3ad8c1ffd98a0803b7e96769217cd320 Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Mon, 12 Feb 2024 16:55:17 -0500 Subject: [PATCH 55/55] Code Fixe --- Neoa/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Neoa/Player.cs b/Neoa/Player.cs index d0b413e..88e93b6 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -110,7 +110,7 @@ public static void SetupStats() Program.Player.DivineFavor = -30; Program.Player.AncestralFavor = -200; Program.Player.Sanity = 450; - Program.Player.Reputation -100; + Program.Player.Reputation = -100; } }