From 8e40410b8066a5c0ce58b4a9956a7a0c7f7e1493 Mon Sep 17 00:00:00 2001 From: Gabriel Enrico Augusto Rocha Date: Tue, 19 Jul 2016 22:53:39 -0400 Subject: Added cheat Command --- source/WindowsFormsApplication1/Apps/Terminal.cs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'source/WindowsFormsApplication1/Apps/Terminal.cs') diff --git a/source/WindowsFormsApplication1/Apps/Terminal.cs b/source/WindowsFormsApplication1/Apps/Terminal.cs index 944b333..8293283 100644 --- a/source/WindowsFormsApplication1/Apps/Terminal.cs +++ b/source/WindowsFormsApplication1/Apps/Terminal.cs @@ -1,4 +1,5 @@ using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.ComponentModel; @@ -1632,6 +1633,20 @@ Password: z7fjsd3"); wrongcommand(); } break; + case "cheat": + if (API.DeveloperMode) + { + WriteLine("Opening..."); + + //Apps.Cheats chts = new Apps.Cheats(); + //chts.Show(); + API.CreateForm(new Apps.Cheats(), "Cheats", API.GetIcon("Terminal")); + } + else + { + wrongcommand(); + } + break; case "netgen": WriteLine("Starting netgen..."); API.CreateForm(new NetGen(), "Network Generator", API.GetIcon("Terminal")); -- cgit v1.2.3