From fe3bc51ab5cbda8b43df8149c918726a11577731 Mon Sep 17 00:00:00 2001 From: Deacon Hunter <100684231+DELUXEHUNTER@users.noreply.github.com> Date: Wed, 14 Feb 2024 12:32:32 -0500 Subject: [PATCH] V.0.0.0 || Storywriting | Age selection | Small changes --- Neoa/DLCS.cs | 2 +- Neoa/Player.cs | 11 ++++++++--- Neoa/Program.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 53 insertions(+), 6 deletions(-) diff --git a/Neoa/DLCS.cs b/Neoa/DLCS.cs index 1eba541..aab6351 100644 --- a/Neoa/DLCS.cs +++ b/Neoa/DLCS.cs @@ -19,7 +19,7 @@ public static void Intro() Console.WriteLine(); - Program.DisplayLine(ConsoleColor.White,"Distorted Voices",$"Oh its...its... you? {Dreamer} we don't know you..."); + Program.DisplayLine(ConsoleColor.White,"Distorted Voices",$"Oh its...its... you? {Dreamer} we don't know you... yet.."); diff --git a/Neoa/Player.cs b/Neoa/Player.cs index 4f4131d..6a372c1 100644 --- a/Neoa/Player.cs +++ b/Neoa/Player.cs @@ -17,6 +17,7 @@ public class Player //Currency public int NeoanMark = 0; + public int NeoanExchange = 0; //Mind public int Sanity = 225; @@ -24,16 +25,20 @@ public class Player //Undead //blood thirst value is at a maximum of 10 and a minimum of negative 1. - public int Bloodthirst = 0; + public int Bloodthirst; //World/Influence - public int Reputation = 0; - public int DivineFavor = 0; + public int Reputation; + public int DivineFavor; public int AncestralFavor = -50; //Physical/Magical public int Age; + //This Value goes up everytime you revive yourself from death + public int Reincarnations; + + //Physical/Magical(Encounters) public int Health = 100; public int Mana = 100; diff --git a/Neoa/Program.cs b/Neoa/Program.cs index d2fba42..998f264 100644 --- a/Neoa/Program.cs +++ b/Neoa/Program.cs @@ -2,6 +2,7 @@ public class Program { + public string input; public static Player Player = new(); public static void Main() @@ -162,6 +163,20 @@ public static void TitleScreen() DisplayLine(ConsoleColor.Green, "You", "", 0); Player.Ancestor = Console.ReadLine(); } + + //Player Age + DisplayLine(ConsoleColor.Red,"The Mystical Voice",$"How long have you been alive {Player.Name}?"); + Console.WriteLine("{Possible Answer: An age cannot be lower than 20, or higher than 45, its recommended you stay within 20-29.}") + Player.Age = Convert.ToInt32(Console.ReadLine()); + while (Player.Age > 45 && Player.Age < 19) + { + if(Player.Age > 45) + DisplayLine(ConsoleColor.Red,"The Mystical Voice","Your age is too high it must be below 45"); + else if (Player.Age < 20) + DisplayLine(ConsoleColor.Red,"The Mystical Voice","Your age is too low it must be higher than 19/20"); + + Player.Age = Convert.ToInt32(Console.ReadLine()); + } } public static void Prologue() @@ -291,6 +306,7 @@ public static void Prologue() DisplayLine(ConsoleColor.White,"narrator","you decide its best you sleep now and worry about your room later on.. laying in the bed you find it hard to sleep until eventually you find a comfortable spot in your bed"); } + // YourHome.Intro(); } @@ -304,12 +320,38 @@ static void Section1() public static void Part1() { DisplayLine(ConsoleColor.White,"narrator","You awaken to the sound of footsteps above you and knocking on your door"); + DisplayLine(ConsoleColor.White,"narrator",$"you can hear a somewhat familiar voice say \"Wake up {Player.Name}. You have a busy day today\""); - Console.WriteLine(); + Console.ReadKey(); - DisplayLine(ConsoleColor.DarkMagenta,"Royal Guard",$"Wake up {Player.Name}. You have a busy day today."); + Console.WriteLine(); + DisplayLine(ConsoleColor.White,"narrator","you decide to get up and open the door for the man, and notice its the Royal Guard"); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.DarkMagenta,"Royal Guard",$"I've been trying to wake you up for hours {Player.Name}. Now that your up, the king told me I should properly introduce myself,"); + DisplayLine(ConsoleColor.DarkMagenta,"Royal Guard","My name is Kain, I am the captain of the royal guard. "); + + Console.WriteLine(); + + Console.ReadKey(); + + DisplayLine(ConsoleColor.White,"narrator","the guard being so kind is suprising to you as he hasn't been kind to you since meeting you.. why is he telling you his name you wonder.."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.DarkMagenta,"Kain","Now that you know my name, don't ever call me Kain. I am the captain to you, and you will refer to me as captain."); + DisplayLine(ConsoleColor.DarkMagenta,"Kain","Anyways now that thats out of the way. The king wanted me to tell you, there is something in town that requires your attention."); + DisplayLine(ConsoleColor.DarkMagenta,"Kain","you are going to need this, and you have to head to the local tavern, the keeper will know why your there."); + + Console.WriteLine(); + + DisplayLine(ConsoleColor.White,"narrator","Kain hands you twenty four marks and a single piece of paper"); + Player.NeoanExchange += 1; Player.NeoanMark += 24; + Console.WriteLine(); + }