Added #gonorth, #gosouth, #goeast, #gowest. Resolves #27

This commit is contained in:
raeleus 2024-09-30 09:21:16 -07:00
parent b7b460b541
commit 92fc206423
3 changed files with 76 additions and 4 deletions

View file

@ -330,9 +330,17 @@ const modifier = (text) => {
text += "\n\n--Locations--"
text += "\n#createlocation (x) (y) location_name"
text += "\n Creates a location at the given coordinates. If the coordinates are not provided, they are randomized within a range of 10 units from the player's current location. Multiple locations may exist at the same coordinates. A story card is created for the location. Quotes are not necessary."
text += "\n Creates a location at the given coordinates. The coordinates must be integers. If the coordinates are not provided, they are randomized within a range of 10 units from the player's current location. Multiple locations may exist at the same coordinates. A story card is created for the location. Quotes are not necessary."
text += "\n#goto (x) (y) or (location_name)"
text += "\n Makes the characters travel to the location specified by the coordinates or location_name. You must provide at least one or the other. If the location does not exist, it is created at your current coordinates. If you only specify coordinates, you will go to the first location at those coordinates. Quotes are not necessary."
text += "\n Makes the party travel to the location specified by the coordinates (as integers) or location_name. You must provide at least one or the other. If the location does not exist, it is created at your current coordinates. If you only specify coordinates, you will go to the first location at those coordinates. Quotes are not necessary."
text += "\n#gonorth (distance)"
text += "\n The party travels north the given distance (an integer). If distance is not specified, it is assumed to be 1."
text += "\n#gosouth (distance)"
text += "\n The party travels south the given distance (an integer). If distance is not specified, it is assumed to be 1."
text += "\n#goeast (distance)"
text += "\n The party travels east the given distance (an integer). If distance is not specified, it is assumed to be 1."
text += "\n#gowest (distance)"
text += "\n The party travels west the given distance (an integer). If distance is not specified, it is assumed to be 1."
text += "\n#getlocation"
text += "\n Returns the coordinates that the player's party is at. It will also list a location if a location was specified when using #goto."
text += "\n#showlocations"