From 700a6a95cf2ca623aa6c0a780d2dc7003f4994f2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 9 Apr 2017 19:33:34 -0400 Subject: Finish the MUD Control Centre story --- ShiftOS_TheReturn/Commands.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'ShiftOS_TheReturn') diff --git a/ShiftOS_TheReturn/Commands.cs b/ShiftOS_TheReturn/Commands.cs index 3cd1640..0257f11 100644 --- a/ShiftOS_TheReturn/Commands.cs +++ b/ShiftOS_TheReturn/Commands.cs @@ -480,11 +480,15 @@ namespace ShiftOS.Engine [Command("status")] public static bool Status() { - Console.WriteLine($@"ShiftOS version {Assembly.GetExecutingAssembly().GetName().Version.ToString()} + string status = $@"ShiftOS version {Assembly.GetExecutingAssembly().GetName().Version.ToString()} Codepoints: {SaveSystem.CurrentSave.Codepoints} Upgrades: {SaveSystem.CurrentSave.CountUpgrades()} installed, - {Shiftorium.GetAvailable().Length} available"); + {Shiftorium.GetAvailable().Length} available"; + + if (Shiftorium.UpgradeInstalled("mud_control_centre")) + status += Environment.NewLine + $"Reputation: {SaveSystem.CurrentSave.RawReputation} ({SaveSystem.CurrentSave.Reputation})"; + Console.WriteLine(status); return true; } } -- cgit v1.2.3