From 84f5cd20c77773a3a21f1d689ffef44a804bb1f6 Mon Sep 17 00:00:00 2001 From: Kido Hyde Date: Sat, 5 Dec 2020 13:00:34 -0600 Subject: [PATCH] Fixed output --- Easy Playable Maker/ExpressionComponent.cs | 7 ++++--- Easy Playable Maker/HubSpawn.cs | 3 ++- Easy Playable Maker/MainPlayableWindow.cs | 7 ++++--- Easy Playable Maker/OneMeshPlayable.cs | 7 ++++--- Easy Playable Maker/PlayerSwapper.cs | 3 ++- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/Easy Playable Maker/ExpressionComponent.cs b/Easy Playable Maker/ExpressionComponent.cs index c202a86..6abec19 100644 --- a/Easy Playable Maker/ExpressionComponent.cs +++ b/Easy Playable Maker/ExpressionComponent.cs @@ -22,10 +22,11 @@ public ExpressionComponent() private void button1_Click(object sender, EventArgs e) { - string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); - string pathString = System.IO.Path.Combine(path, "Output"); + string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //It's a step in the right direction however not what I'm looking for specifically + string pathString = System.IO.Path.Combine(path, "Output"); + System.IO.Directory.CreateDirectory(pathString); - if (String.IsNullOrEmpty(PrefixText.Text)) { PrefixText.Text = "Kido"; } + if (String.IsNullOrEmpty(PrefixText.Text)) { PrefixText.Text = "Kido"; } if (String.IsNullOrEmpty(PlayerNameText.Text)) { PlayerNameText.Text = "PLAYERNAME"; } if (String.IsNullOrEmpty(FaceText.Text)) { FaceText.Text = "-1"; } if (String.IsNullOrEmpty(EyesText.Text)) { EyesText.Text = "-1"; } diff --git a/Easy Playable Maker/HubSpawn.cs b/Easy Playable Maker/HubSpawn.cs index 4041098..fc42041 100644 --- a/Easy Playable Maker/HubSpawn.cs +++ b/Easy Playable Maker/HubSpawn.cs @@ -22,8 +22,9 @@ public HubSpawn() private void MakeFile_Click(object sender, EventArgs e) { - string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); + string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //It's a step in the right direction however not what I'm looking for specifically string pathString = System.IO.Path.Combine(path, "Output"); + System.IO.Directory.CreateDirectory(pathString); if (String.IsNullOrEmpty(PrefixText.Text)) { PrefixText.Text = "Kido"; } if (String.IsNullOrEmpty(PlayerNameText.Text)) { PlayerNameText.Text = "PLAYERNAME"; } diff --git a/Easy Playable Maker/MainPlayableWindow.cs b/Easy Playable Maker/MainPlayableWindow.cs index e0b396c..d8e3c85 100644 --- a/Easy Playable Maker/MainPlayableWindow.cs +++ b/Easy Playable Maker/MainPlayableWindow.cs @@ -38,10 +38,11 @@ private void button1_Click(object sender, EventArgs e) Funnies[10] = "\n \n/*\nCurrywurst: \n \nCourtesy of Dranif! \n \nStep 1: \nGet a rather thick sausage and cut it into pieces (and warm it up) \n \nStep 2: \nMake some fries as garnish \n \nStep 3: \nAdd some (flavoured) Ketchup \n \nStep 4: \nAdd curry spice\n*/"; Funnies[11] = "\n \n/*\n3 in 1 Fry sauce combo: \n \nFrench Fry Sauce \n1/3 cup ketchup \n2/3 cup mayonnaise \n1 tsp pickle juice \n \nGarlic Aioli \n1 cup mayonnaise \n1 TBS garlic (minced) \n2 TBS lemon juice \n1/2 tsp salt \n1 pinch black pepper \n \nCheese Sauce \n8 oz Velveeta Cheese \n1/2 cup milk \nInstructions \n \nFry Sauce \nCombine ketchup, mayonnaise, pickle juice in a medium sized bowl \nStir together until smooth \n \nGarlic Aioli \nCombine your mayo, lemon juice, garlic, salt, pepper in a medium bowl, \nStir until everything is smooth \nRefrigerate for 30 minutes before serving \n \nCheese Sauce \nCut your Velveeta cheese into small cubes \nIn a small pot over medium high heat, put your cheese cubes and milk \nStirring regularly, allow cheese to melt into milk, until smooth\n*/"; - string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); - string pathString = System.IO.Path.Combine(path, "Output"); + string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //It's a step in the right direction however not what I'm looking for specifically + string pathString = System.IO.Path.Combine(path, "Output"); + System.IO.Directory.CreateDirectory(pathString); - if (String.IsNullOrEmpty(IceStatueText.Text)) { IceStatueText.Text = "StaticMesh'HatinTime_Habboi.models.hat_kid_crystal'"; } + if (String.IsNullOrEmpty(IceStatueText.Text)) { IceStatueText.Text = "StaticMesh'HatinTime_Habboi.models.hat_kid_crystal'"; } if (String.IsNullOrEmpty(PlayerIconText.Text)) { PlayerIconText.Text = "None"; } if (String.IsNullOrEmpty(PrefixText.Text)) { PrefixText.Text = "Kido"; } if (String.IsNullOrEmpty(PlayerNameText.Text)) { PlayerNameText.Text = "PLAYERNAME"; } diff --git a/Easy Playable Maker/OneMeshPlayable.cs b/Easy Playable Maker/OneMeshPlayable.cs index 3feb84b..91084e3 100644 --- a/Easy Playable Maker/OneMeshPlayable.cs +++ b/Easy Playable Maker/OneMeshPlayable.cs @@ -38,10 +38,11 @@ private void button1_Click(object sender, EventArgs e) Funnies[10] = "\n \n/*\nCurrywurst: \n \nCourtesy of Dranif! \n \nStep 1: \nGet a rather thick sausage and cut it into pieces (and warm it up) \n \nStep 2: \nMake some fries as garnish \n \nStep 3: \nAdd some (flavoured) Ketchup \n \nStep 4: \nAdd curry spice\n*/"; Funnies[11] = "\n \n/*\n3 in 1 Fry sauce combo: \n \nFrench Fry Sauce \n1/3 cup ketchup \n2/3 cup mayonnaise \n1 tsp pickle juice \n \nGarlic Aioli \n1 cup mayonnaise \n1 TBS garlic (minced) \n2 TBS lemon juice \n1/2 tsp salt \n1 pinch black pepper \n \nCheese Sauce \n8 oz Velveeta Cheese \n1/2 cup milk \nInstructions \n \nFry Sauce \nCombine ketchup, mayonnaise, pickle juice in a medium sized bowl \nStir together until smooth \n \nGarlic Aioli \nCombine your mayo, lemon juice, garlic, salt, pepper in a medium bowl, \nStir until everything is smooth \nRefrigerate for 30 minutes before serving \n \nCheese Sauce \nCut your Velveeta cheese into small cubes \nIn a small pot over medium high heat, put your cheese cubes and milk \nStirring regularly, allow cheese to melt into milk, until smooth\n*/"; - string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); - string pathString = System.IO.Path.Combine(path, "Output"); + string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //It's a step in the right direction however not what I'm looking for specifically + string pathString = System.IO.Path.Combine(path, "Output"); + System.IO.Directory.CreateDirectory(pathString); - if (String.IsNullOrEmpty(IceStatueText.Text)) { IceStatueText.Text = "StaticMesh'HatinTime_Habboi.models.hat_kid_crystal'"; } + if (String.IsNullOrEmpty(IceStatueText.Text)) { IceStatueText.Text = "StaticMesh'HatinTime_Habboi.models.hat_kid_crystal'"; } if (String.IsNullOrEmpty(PlayerIconText.Text)) { PlayerIconText.Text = "None"; } if (String.IsNullOrEmpty(PrefixText.Text)) { PrefixText.Text = "Kido"; } if (String.IsNullOrEmpty(PlayerNameText.Text)) { PlayerNameText.Text = "PLAYERNAME"; } diff --git a/Easy Playable Maker/PlayerSwapper.cs b/Easy Playable Maker/PlayerSwapper.cs index dcb13ff..b1d2480 100644 --- a/Easy Playable Maker/PlayerSwapper.cs +++ b/Easy Playable Maker/PlayerSwapper.cs @@ -27,8 +27,9 @@ private void PlayerSwapper_Load(object sender, EventArgs e) private void MakeFile_Click(object sender, EventArgs e) { - string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); + string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop); //It's a step in the right direction however not what I'm looking for specifically string pathString = System.IO.Path.Combine(path, "Output"); + System.IO.Directory.CreateDirectory(pathString); if (String.IsNullOrEmpty(BkText.Text)) { BkText.Text = "None";} if (String.IsNullOrEmpty(HkText.Text)) { HkText.Text = "None"; }