Commit 1f0d9a55 authored by June's avatar June
Browse files

Merge branch 'main' of gitlab.com:redpointgames/a-momentary-meeting into main

parents 171416ee 44a8ca8e
......@@ -522,6 +522,31 @@ namespace MomentaryMeeting.Game
}
}
break;
case "help": // help
{
response = $"You aren't sure what to do,{{.5}} and feel as though you should ask for help.{{1}}\n\n" + // double {{ escapes the character in interpolated string
$" help - Lists available keyword commands.\n" +
$" say - Say whatever is typed after the keyword.\n" +
$" look - Observe the area.\n" +
$" - When used with a direction, faces you in that direction\n" +
$" AKA: face, rotate, turn (Note: only when used with direction)\n" +
$" inspect - Lists objects in the area that you can interact with.\n" +
$" - When used with additional keywords, interacts with the object.\n" +
$" run - Moves in a direction (forward, left, right, back)\n" +
$" AKA: walk, go, move\n\n";
if(_hostEnvironment.IsDevelopment())
{
response += $"DEVELOPER ENVIRONMENT DETECTED!!!\n" +
$"Here are some additional developer commands:\n" +
$"say (ext) - Say is extended to print some yaml values when used as follows:\n" +
$" 'say yaml:path' where 'path' is the path of the yaml file.\n" +
$" eg: 'say yaml:global_text.test', 'say yaml:location.liquor_store.prompt'\n" +
$"todo - Lists all code and yaml 'TODO's\n" +
$"teleport - When used with a location label, it teleports you to that room.\n\n";
}
}
break;
default:
{
if (_hostEnvironment.IsDevelopment())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment