Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
NotRealSean committed Dec 24, 2022
1 parent 5c1afaf commit dac9a39
Show file tree
Hide file tree
Showing 10 changed files with 102 additions and 43 deletions.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file removed .vs/VNgame/v17/.suo
Binary file not shown.
Binary file removed .vs/VNgame/v17/workspaceFileList.bin
Binary file not shown.
7 changes: 0 additions & 7 deletions .vs/VSWorkspaceState.json

This file was deleted.

Binary file removed .vs/slnx.sqlite
Binary file not shown.
26 changes: 26 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "0.2.0",
"configurations": [
{
// Use IntelliSense to find out which attributes exist for C# debugging
// Use hover for the description of the existing attributes
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net7.0/cs.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach"
}
]
}
41 changes: 41 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/cs.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/cs.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/cs.csproj"
],
"problemMatcher": "$msCompile"
}
]
}
71 changes: 35 additions & 36 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,41 +19,41 @@ public class coreGame
{
public static void prologue()
{
Settings.check();
JsonNode _jsonData = Settings.Read()!;
string speed = _jsonData[0]["TextSpeed"].ToString();
int textspeed = Convert.ToInt32(speed);
//Prologue
TextTool.TextGen("England 2079\n", textspeed, true, false, 2000);
TextTool.StoryGen("Girl", "I-Is this ok...?", textspeed, true, true);
TextTool.StoryGen("Boss", "Is this all you can do in one week? USELESS. Don't come back if there's no progress at all!", textspeed, true, true);
TextTool.StoryGen("Girl", "!\n", textspeed, true, false, 1000);
TextTool.StoryGen("Girl", "...\n", textspeed, false, false, 1200);
TextTool.StoryGen("Girl", "yes...", textspeed, false, true);
TextTool.TextGen("An office worker girl had been working hard for a month straight, but her boss complains again. She tries her best on her work, but other co-workers like to put their work on her, and only her, for some reason, which makes her work not progress at all. All the co-workers already know this, but they don't care.", textspeed, true, true, 500);
TextTool.StoryGen("Girl", "...", textspeed, true, true);
TextTool.StoryGen("Co-worker 1", "Can you help me with this work?", textspeed, true, true);
TextTool.StoryGen("Girl", "I-I still hav- \n", textspeed, true, false, 200);
TextTool.StoryGen("Co-worker 1", "Thank you.", textspeed, true, false, 2000);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1000);
TextTool.TextGen("Again...", textspeed, false, true);
TextTool.TextGen("She sometimes thinks about quitting her job and finding a better one, but no one wants to hire her to work because they already have a lot of employees at their office.", textspeed, true, true);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1200);
TextTool.TextGen("Maybe... ", textspeed, false, false, 1200);
TextTool.TextGen("Just maybe... ", textspeed, false, false, 1200);
TextTool.TextGen("What if I die and was reborn in another world like in isekai novel.", textspeed, false, true);
TextTool.StoryGen("Girl", "Just saying ", textspeed, true, false, 1000);
TextTool.TextGen("Haha...", textspeed, false, true);
TextTool.TextGen("She likes to read isekai novels during her free time. She often thinks about killing herself and living a happier life in the afterlife.", textspeed, true, true);
TextTool.StoryGen("Girl", "It's 8 PM already? ", textspeed, true , false, 1000);
TextTool.TextGen("Maybe I should go home and make something to eat for dinne-", textspeed, false, false, 1200);
TextTool.TextGen("...", textspeed, true, false, 3000);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1200);
TextTool.TextGen("Why is everything black... ", textspeed, false, false, 1200);
TextTool.TextGen("I can't see anything.... ", textspeed, false, false, 1200);
TextTool.TextGen("What happened to me?", textspeed, false, true);
TextTool.TextGen("To be continue...", textspeed, true, true);
FileTool.SaveChaper("save1-1", "save", 1, 1, true);
Settings.check();
JsonNode _jsonData = Settings.Read()!;
string speed = _jsonData[0]["TextSpeed"].ToString();
int textspeed = Convert.ToInt32(speed);
//Prologue
TextTool.TextGen("England 2079\n", textspeed, true, false, 2000);
TextTool.StoryGen("Girl", "I-Is this ok...?", textspeed, true, true);
TextTool.StoryGen("Boss", "Is this all you can do in one week? USELESS. Don't come back if there's no progress at all!", textspeed, true, true);
TextTool.StoryGen("Girl", "!\n", textspeed, true, false, 1000);
TextTool.StoryGen("Girl", "...\n", textspeed, false, false, 1200);
TextTool.StoryGen("Girl", "yes...", textspeed, false, true);
TextTool.TextGen("An office worker girl had been working hard for a month straight, but her boss complains again. She tries her best on her work, but other co-workers like to put their work on her, and only her, for some reason, which makes her work not progress at all. All the co-workers already know this, but they don't care.", textspeed, true, true, 500);
TextTool.StoryGen("Girl", "...", textspeed, true, true);
TextTool.StoryGen("Co-worker 1", "Can you help me with this work?", textspeed, true, true);
TextTool.StoryGen("Girl", "I-I still hav- \n", textspeed, true, false, 200);
TextTool.StoryGen("Co-worker 1", "Thank you.", textspeed, true, false, 2000);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1000);
TextTool.TextGen("Again...", textspeed, false, true);
TextTool.TextGen("She sometimes thinks about quitting her job and finding a better one, but no one wants to hire her to work because they already have a lot of employees at their office.", textspeed, true, true);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1200);
TextTool.TextGen("Maybe... ", textspeed, false, false, 1200);
TextTool.TextGen("Just maybe... ", textspeed, false, false, 1200);
TextTool.TextGen("What if I die and was reborn in another world like in isekai novel.", textspeed, false, true);
TextTool.StoryGen("Girl", "Just saying ", textspeed, true, false, 1000);
TextTool.TextGen("Haha...", textspeed, false, true);
TextTool.TextGen("She likes to read isekai novels during her free time. She often thinks about killing herself and living a happier life in the afterlife.", textspeed, true, true);
TextTool.StoryGen("Girl", "It's 8 PM already? ", textspeed, true , false, 1000);
TextTool.TextGen("Maybe I should go home and make something to eat for dinne-", textspeed, false, false, 1200);
TextTool.TextGen("...", textspeed, true, false, 3000);
TextTool.StoryGen("Girl", "... ", textspeed, true, false, 1200);
TextTool.TextGen("Why is everything black... ", textspeed, false, false, 1200);
TextTool.TextGen("I can't see anything.... ", textspeed, false, false, 1200);
TextTool.TextGen("What happened to me?", textspeed, false, true);
TextTool.TextGen("To be continue...", textspeed, true, true);
FileTool.SaveChaper("save1-1", "save", 1, 1, true);
}
public static void chapter1()
{
Expand Down Expand Up @@ -779,7 +779,6 @@ public static string ChoiceRoute(string Question, string Choice1, string Choice2
if (Choose == "1" || Choose == "2" || Choose == "3")
{
return Choose;
break;
}
else
{
Expand Down

0 comments on commit dac9a39

Please sign in to comment.