-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCLIMenu.cs
More file actions
826 lines (795 loc) · 28.3 KB
/
Copy pathCLIMenu.cs
File metadata and controls
826 lines (795 loc) · 28.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
using System;
using System.IO;
public class CLIMenu
{
//CLILogo logo = new CLILogo();
// CLIPlayer player = new CLIPlayer();
//CLISettings settings = new CLISettings();
CLIGamePrep gameprep = new CLIGamePrep();
public static void MainMenu()
{
// why are you doing it like this??
// do
// {
// mainenu();
// }
// while (CLISettings.mainMenuOpen == true);
// void mainenu()
while (CLISettings.mainMenuOpen)
{
//Optionload();
if (CLISettings.Debug == false)
{
Console.Clear(); // stawp clearing for nowww
}
CLIConfig.bootlogo();
Console.ForegroundColor = CLISettings.Mcolor;
Console.WriteLine("=====menu=====");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.WriteLine("1. New Game");
Console.WriteLine("2. Load Game");
Console.WriteLine("3. Options");
Console.WriteLine("0. Exit");
Console.ResetColor();
Console.WriteLine("");
Console.Write(">");
var menu = Console.ReadLine();
switch (menu)
{
case "1":
CLIConfig.newgame();
break;
case "2":
//Console.WriteLine("demo 2");
//loadgame();
CLIConfig.loadgame();
break;
case "3":
//Console.WriteLine("demo 3");
//options();
CLIConfig.options();
break;
case "0":
// break; // nothing happens after the break
CLISettings.mainMenuOpen = false;
break;
//ClIGameBackup.WriteBackup(/*i dont know waht to put here*/); // don't do it here!
default:
break;
}
}
}
public static void options()
{
Console.Clear();
Console.ForegroundColor = CLISettings.Mcolor; ;
Console.WriteLine("====option====");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.WriteLine("1. Menu Colour");
Console.WriteLine("2. Advancedoptions");
Console.WriteLine("3. Credits");
Console.WriteLine("4. Save");
Console.WriteLine("0. Exit");
Console.ResetColor();
Console.WriteLine("");
Console.Write(">");
var optionsmenu = Console.ReadLine();
switch (optionsmenu)
{
case "1":
//Console.WriteLine("demo 3");
MMAColoursel();
break;
case "4":
//Console.WriteLine("demo 3");
CLIGameBackup.WriteBackup("s");
break;
case "2":
//Console.WriteLine("demo 3");
//Advancedoptions();
CLIConfig.Advancedoptions();
break;
case "3":
//Console.WriteLine("demo 3");
Credits();
break;
case "0":
//Console.Clear();
CLIConfig.optionsretun();
break;
default:
options();
break;
}
}
public static void Credits()
{
Console.Clear();
Console.ForegroundColor = CLISettings.Mcolor;
Console.WriteLine("0 to go to main menu");
Console.ForegroundColor = CLISettings.Dmcolor;
int x = ClIMiscellaneous.Creditsdata.Count;
for (int i = 0; i < x; i++)
{
switch (ClIMiscellaneous.Creditsdata[i])
{
case "CL":
Color();
break;
case "MC":
Console.ForegroundColor = CLISettings.Mcolor;
break;
case "DMC":
Console.ForegroundColor = CLISettings.Dmcolor;
break;
default:
Console.WriteLine(ClIMiscellaneous.Creditsdata[i]);
break;
}
void Color()
{
i++;
switch (ClIMiscellaneous.Creditsdata[i])
{
case "Red":
Console.ForegroundColor = ConsoleColor.Red;
break;
case "Magenta":
Console.ForegroundColor = ConsoleColor.Magenta;
break;
case "Yellow":
Console.ForegroundColor = ConsoleColor.Yellow;
break;
case "Green":
Console.ForegroundColor = ConsoleColor.Green;
break;
case "Blue":
Console.ForegroundColor = ConsoleColor.Blue;
break;
case "Cyan":
Console.ForegroundColor = ConsoleColor.Cyan;
break;
case "Gray":
Console.ForegroundColor = ConsoleColor.Gray;
break;
case "DarkRed":
Console.ForegroundColor = ConsoleColor.DarkRed;
break;
case "DarkMagenta":
Console.ForegroundColor = ConsoleColor.DarkMagenta;
break;
case "DarkYellow":
Console.ForegroundColor = ConsoleColor.DarkYellow;
break;
case "DarkGreen":
Console.ForegroundColor = ConsoleColor.DarkGreen;
break;
case "DarkBlue":
Console.ForegroundColor = ConsoleColor.DarkBlue;
break;
case "DarkCyan":
Console.ForegroundColor = ConsoleColor.DarkCyan;
break;
case "DarkGray":
Console.ForegroundColor = ConsoleColor.DarkGray;
break;
default:
break;
}
}
}
var optionsmenu = Console.ReadLine();
switch (optionsmenu)
{
case "0":
Console.Clear();
break;
default:
Credits();
break;
}
}
public static void Advancedoptions()
{
Console.Clear();
Console.ForegroundColor = CLISettings.Mcolor;
Console.WriteLine("===Advanced===");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.WriteLine("1. Consol");
Console.Write("2. ");
if (CLISettings.Debug == true)
{
Console.ForegroundColor = ConsoleColor.Green;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
}
Console.WriteLine("Debug");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("3. ");
if (CLISettings.moddingIsOn == true)
{
Console.ForegroundColor = ConsoleColor.Green;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
}
Console.WriteLine("Moding");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("4. Icons:");
if (CLISettings.Icons == 1 || CLISettings.Icons == 2)
{
Console.ForegroundColor = ConsoleColor.Green;
if (CLISettings.Icons == 1)
{
Console.WriteLine(" MesloLGS-NF(FONT)");
}
else
{
Console.WriteLine("📂 Emojis + Emoticon");
}
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("OFF");
}
Console.ForegroundColor = CLISettings.Dmcolor;
//Console.WriteLine("5. Menu Colour");
//Console.WriteLine("6. Save");
Console.WriteLine("0. Exit");
Console.ResetColor();
Console.WriteLine("");
Console.Write(">");
var optionsmenu = Console.ReadLine();
switch (optionsmenu)
{
case "1":
//Console.WriteLine("demo 1");
//debugmenu();
CLIConfig.Consol();
break;
case "2":
//Console.WriteLine("demo 1");
if (CLISettings.Debug == true)
{
CLISettings.Debug = false;
}
else
{
CLISettings.Debug = true;
}
Advancedoptions();
break;
case "3":
//Console.WriteLine("demo 2");
if (CLISettings.moddingIsOn == true)
{
CLISettings.moddingIsOn = false;
}
else
{
CLISettings.moddingIsOn = true;
}
Advancedoptions();
break;
// case "3":
// //Console.WriteLine("demo 2");
// if (CLISettings.moddingIsOn == true)
// {
// CLISettings.moddingIsOn = false;
// }
// else
// {
// CLISettings.moddingIsOn = true;
// }
// options();
// break;
case "4":
if (CLISettings.Icons == 1)
{
CLISettings.Icons = 2;
}
else if (CLISettings.Icons == 2)
{
CLISettings.Icons = 0;
}
else
{
CLISettings.Icons = 1;
}
Advancedoptions();
break;
case "0":
//Console.Clear();
CLIConfig.options();
break;
default:
Advancedoptions();
break;
}
}
public static void MMAColoursel()
{
Console.Clear();
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("1. ");
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("red");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("2. ");
Console.ForegroundColor = ConsoleColor.Magenta;
Console.WriteLine("Magenta");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("3. ");
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("Yellow");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("4. ");
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Green");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("5. ");
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine("Blue");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("6. ");
Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine("Cyan");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.Write("7. ");
Console.ForegroundColor = ConsoleColor.Gray;
Console.WriteLine("Gray");
Console.ForegroundColor = CLISettings.Dmcolor;
Console.WriteLine("");
Console.Write(">");
Console.ForegroundColor = ConsoleColor.White;
switch (Console.ReadLine())
{
case "1":
CLISettings.Mcolor = ConsoleColor.Red;
CLISettings.Dmcolor = ConsoleColor.DarkRed;
break;
case "2":
CLISettings.Mcolor = ConsoleColor.Magenta;
CLISettings.Dmcolor = ConsoleColor.DarkMagenta;
break;
case "3":
CLISettings.Mcolor = ConsoleColor.Yellow;
CLISettings.Dmcolor = ConsoleColor.DarkYellow;
break;
case "4":
CLISettings.Mcolor = ConsoleColor.Green;
CLISettings.Dmcolor = ConsoleColor.DarkGreen;
break;
case "5":
CLISettings.Mcolor = ConsoleColor.Blue;
CLISettings.Dmcolor = ConsoleColor.DarkBlue;
break;
case "6":
CLISettings.Mcolor = ConsoleColor.Cyan;
CLISettings.Dmcolor = ConsoleColor.DarkCyan;
break;
case "7":
if (CLIRuntimevar.crt == true)
{
CLISettings.Mcolor = ConsoleColor.White;
CLISettings.Dmcolor = ConsoleColor.Gray;
}
else
{
CLISettings.Mcolor = ConsoleColor.Gray;
CLISettings.Dmcolor = ConsoleColor.DarkGray;
}
break;
default:
MMAColoursel();
break;
}
}
public static bool consolebool { get; set; } = false;
public static void Consol()
{
Console.Clear();
Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine("====Consol====");
Console.WriteLine("You can write commands here. Enter 0 to exit.");
CLIMenu.consolebool = true; // set the console bool to true so it can be used
while (CLIMenu.consolebool == true)
{
Console.ForegroundColor = ConsoleColor.Blue;
Console.WriteLine("");
Console.Write(">");
string? input = Console.ReadLine();
CLICmd.Cmd(input);
Console.ResetColor();
}
}
public static void loadgame()
{
// Console.WriteLine("error 404");
// Console.Clear();
// this is where the implementation goes :3
// temp stop main menu
CLISettings.mainMenuOpen = false; // make sure to set this true before EVERY return
// test code
// fs paf, and the path of the saves dir
string paf = Directory.GetCurrentDirectory();
string savpaf = Path.Combine(paf, "saves");
// Console.WriteLine("The current directory is {0}", paf);
// Console.WriteLine(savpaf);
// actually do checks
Console.WriteLine("Oh? So you have a save file? (pls don't break it)");
if (!Directory.Exists(savpaf))
{
Console.WriteLine("You don't got a saves directory! You defintely don't got any saves.");
CLISettings.mainMenuOpen = true;
return;
}
// this is more useful (when I deploy it)
string currentFileEnd = CLIGameBackup.getCurrentFileEnd();
// gets items in the directory
string[] items = Directory.GetFiles(savpaf);
// adds only files to list
List<string> files = [];
foreach (string x in items)
{ // not used to foreach like that, rather "for(int x:y)"
Console.WriteLine(x);
// this already has only files, so make sure ite ends right :3
if (x.Length > 4 && x.Substring(x.Length - currentFileEnd.Length).Equals(currentFileEnd))
{
// strip off the top of the file path, and the file extension
//substring is start, then length
files.Add(x.Substring(savpaf.Length + 1, x.Length - savpaf.Length - currentFileEnd.Length - 1)); // +1 makes it work as well as the -1
}
}
int totalItems = files.Count;
// now exit if there is no files
if (totalItems == 0)
{
Console.WriteLine("No save files found qwp");
CLISettings.mainMenuOpen = true;
return;
}
Console.WriteLine("The following are your save game load options:");
for (int x = 0; x < totalItems; x++)
{
Console.WriteLine((x + 1) + ". " + files.ElementAt(x)); // note, subtract one from input
}
Console.WriteLine("You can use either the numbers or the filename to restore. (if you fluff up, it won't work, and you have to redo it. \"exit\" to exit)");
Console.Write(">");
string? req = Console.ReadLine();
if (req == string.Empty || req == null)
{
Console.WriteLine("Your input is empty... This will not work.");
CLISettings.mainMenuOpen = true;
return;
}
if (req.Equals("exit"))
{
Console.WriteLine("Exiting per user request");
CLISettings.mainMenuOpen = true;
return;
}
string fin = ""; // to be used for the final load call, assigned here even though it will get assigned anyway
// using the weird TryParse thing, if its true, the out is an int, otherwise its a str
if (int.TryParse(req, out int i))
{
// last bit of input sanitization
if (i < 1)
{
Console.WriteLine("... don't go at or below zero");
CLISettings.mainMenuOpen = true;
return;
}
// taking one off of input
if (i > totalItems - 1)
{
Console.WriteLine("That number is too beeg");
CLISettings.mainMenuOpen = true;
return;
}
fin = files.ElementAt(i - 1);
}
else
{
// checks to see if the exact name is in the files of each thing
bool nFinds = true; // status of finding a value
foreach (string x in files)
{
if (req.Equals(x))
{ // checks each item to see if it is in the list before using it
fin = x;
nFinds = false;
break; // no enable mainmenu because this is not a return, even though ourple
}
}
if (nFinds)
{
Console.WriteLine("Your value was not found!");
CLISettings.mainMenuOpen = true;
return; // failure
}
}
// fin now has the filename, now to add the full path back onto it
fin = Path.Combine(savpaf, fin + currentFileEnd);
// fin should now be set properly, so run the command
// await Task.Run(() => YourMethod());
// bool result = await Task.Run(() => CLIGameBackup.ReadBackup(fin));
bool result = CLIGameBackup.ReadBackup(fin);
if (!result)
{
Console.WriteLine("Something went wrong! Likely, this is an error with the save file.");
CLISettings.mainMenuOpen = true;
return;
}
Console.WriteLine("Session sucessfully restored!");
// we're done, so now restore
CLISettings.mainMenuOpen = true;
}
//text
public static string textboxname { get; set; } = "";
public static string textboxvar { get; set; } = "1";
static string textboxstylevar = "1";
static ConsoleColor textboxnameCL { get; set; } = ConsoleColor.White;
static ConsoleColor CLtemmp { get; set; } = ConsoleColor.White;
public static List<string?> textdata { get; set; } = new List<string?>();
public static void textbox()
{
textboxstyle();
int line = 1;
int x = textdata.Count;
for (int i = 0; i < x; i++)
{
switch (textdata[i])
{
case "CL":
Color();
break;
case "MC":
Console.ForegroundColor = CLISettings.Mcolor;
break;
case "DMC":
Console.ForegroundColor = CLISettings.Dmcolor;
break;
case "PLC":
Console.ForegroundColor = CLIPlayer.Color;
break;
case "CR":
Console.ResetColor();
break;
case "WL":
line++;
if (CLISettings.Debug == true)
{
Console.WriteLine($" {line - 1}/{CLISettings.textmaxline - 1}");
}
else
{
Console.WriteLine();
}
if (line >= CLISettings.textmaxline)
{
textboxstylenext();
line = 1;
textboxstyle();
}
break;
case "RS":
textdata.Clear();
break;
case "TP":
textboxstyle();
break;
case "NX":
if (line != CLISettings.textmaxline)
{
//int z = line;
for (int z = line; z < CLISettings.textmaxline; z++)
{
if (CLISettings.Debug == true)
{
Console.WriteLine($" {line - 1}/{CLISettings.textmaxline - 1}");
}
else
{
Console.WriteLine();
}
}
line = 1;
}
textboxstylenext();
break;
default:
Console.Write(textdata[i]);
break;
}
void Color()
{
i++;
switch (textdata[i])
{
case "Red":
Console.ForegroundColor = ConsoleColor.Red;
break;
case "Magenta":
Console.ForegroundColor = ConsoleColor.Magenta;
break;
case "Yellow":
Console.ForegroundColor = ConsoleColor.Yellow;
break;
case "Green":
Console.ForegroundColor = ConsoleColor.Green;
break;
case "Blue":
Console.ForegroundColor = ConsoleColor.Blue;
break;
case "Cyan":
Console.ForegroundColor = ConsoleColor.Cyan;
break;
case "Gray":
Console.ForegroundColor = ConsoleColor.Gray;
break;
case "DarkRed":
Console.ForegroundColor = ConsoleColor.DarkRed;
break;
case "DarkMagenta":
Console.ForegroundColor = ConsoleColor.DarkMagenta;
break;
case "DarkYellow":
Console.ForegroundColor = ConsoleColor.DarkYellow;
break;
case "DarkGreen":
Console.ForegroundColor = ConsoleColor.DarkGreen;
break;
case "DarkBlue":
Console.ForegroundColor = ConsoleColor.DarkBlue;
break;
case "DarkCyan":
Console.ForegroundColor = ConsoleColor.DarkCyan;
break;
case "DarkGray":
Console.ForegroundColor = ConsoleColor.DarkGray;
break;
default:
break;
}
}
}
}
static void textboxstyle()
{
switch (textboxstylevar)
{
case "1":
Console.Clear();
Console.WriteLine();
CLtemmp = Console.ForegroundColor;
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($"####/");
Console.WriteLine(textboxname, Console.ForegroundColor = textboxnameCL);
Console.ForegroundColor = CLtemmp;
break;
default:
break;
}
}
static void textboxstylenext()
{
//Console.WriteLine();
CLtemmp = Console.ForegroundColor;
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($"next");
Console.ReadLine();
Console.ForegroundColor = CLtemmp;
//return "null";
}
//old
public string textboxvarold { get; set; } = "1";
public string textboxnameold { get; set; } = "";
public ConsoleColor textboxnamecold { get; set; } = ConsoleColor.White;
public void TextBoxstartold()
{
switch (textboxvarold)
{
case "1":
Console.Clear();
Console.WriteLine();
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($"####/");
Console.WriteLine(textboxnameold, Console.ForegroundColor = textboxnamecold);
Console.ForegroundColor = CLISettings.Mcolor;
break;
case "0":
Console.WriteLine();
Console.Clear();
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($"####/");
Console.WriteLine(textboxnameold, Console.ForegroundColor = textboxnamecold);
Console.ForegroundColor = CLISettings.Mcolor;
break;
default:
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("textvar mode:error 404 perss enter to contue.");
Console.ForegroundColor = ConsoleColor.White;
CLIRuntimevar.rerror();
Console.ReadLine();
break;
}
}
public void TextBoxsendold()
{
switch (textboxvarold)
{
case "1":
//return r;
InGameControls();
break;
case "0":
Console.WriteLine();
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($"next");
Console.ReadLine();
//return "null";
break;
default:
break;
}
}
//still good
static public void InGameControls()
{
//Console.ForegroundColor = CLISettings.Mcolor;
//Console.WriteLine("enter a action uns /help for available options.");
//Console.Write(">");
//Console.ForegroundColor = CLIPlayer.Color;
Console.WriteLine();
Console.ForegroundColor = CLISettings.Mcolor;
Console.Write($">_");
Console.ForegroundColor = CLIPlayer.Color;
//var r = Console.ReadLine();
Console.ForegroundColor = CLISettings.Mcolor;
switch (Console.ReadLine())
{
case "inventory":
Console.WriteLine("not implemented");
CLIRuntimevar.rerror();
InGameControls();
break;
case "inv":
Console.WriteLine("not implemented");
CLIRuntimevar.rerror();
InGameControls();
break;
case "chat":
Console.WriteLine("not implemented");
CLIRuntimevar.rerror();
InGameControls();
break;
case "thalk":
Console.WriteLine("not implemented");
CLIRuntimevar.rerror();
InGameControls();
break;
case "next":
Console.Clear();
//Items.sustoygun.InUse = true;
//Items.Start();
break;
case "/help":
Console.WriteLine("inv/inventory for your inventory");
Console.WriteLine("next to Continue");
Console.WriteLine("chat/thalk to thalk");
InGameControls();
break;
case "help":
Console.WriteLine("try /help");
InGameControls();
break;
default:
break;
}
}
}