update some comments

This commit is contained in:
Martin Michelsen
2023-10-04 10:40:18 -07:00
parent 3c4019f705
commit 7e84a5cb6a
2 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -228,13 +228,13 @@
// User to run the server as. If present, newserv will attempt to switch to
// this user's permissions after loading its configuration and opening
// listening sockets. The special value $SUDO_USER causes newserv to look up
// the desired username in the $SUDO_USER variable instead.
// the desired username in the $SUDO_USER environment variable instead.
// "User": "$SUDO_USER",
// Information menu contents. Each entry is a 3-list of
// [title, short description, full contents]. In the short description and
// full contents, you can use PSO escape codes with the $ character (for
// example, $Cx for colors).
// Information menu contents. Each entry is a list containing [title,
// short description, full contents]. In the short description and full
// contents, you can use PSO escape codes with the $ character (for example,
// $Cx for colors).
"InformationMenuContents": [
["Lobby commands", "Show commands used\nin the lobby", "These commands can be used in the lobby.\n\n$C6%sli$C7: Show basic information about the lobby\n$C6%sarrow <color-id>$C7: Change your lobby arrow color\n$C6%sln [name]$C7: Change the lobby type (for you only)\n$C6%sexit$C7: Leave the current game or lobby\n$C6%spatch <name>$C7: Run a patch on your client\n\n$C8Episode 3 only:$C7\n$C6%ssong <song-id>$C7: Play a jukebox song"],
["Game commands", "Show commands used\nin games", "These commands can be used to customize games.\n\n$C8Before starting a game:$C7\n$C6%ssecid <section-id>$C7: Set your override section ID\n$C6%srand <seed>$C7: Set your override random seed\n\n$C8When in a game:$C7\n$C6%sli$C7: Show basic information about the game\n$C6%swhat$C7: Describe the nearest item on the ground\n$C6%smaxlevel <level>$C7: Set maximum level to join\n$C6%sminlevel <level>$C7: Set minimum level to join\n$C6%spassword [password]$C7: Lock or unlock the game"],
@@ -274,8 +274,8 @@
// changed in each lobby independently with the $event command, or in all
// lobbies with the $allevent command. When a game is created, it inherits the
// holiday event from the lobby from which it was created.
// The value for this field can be a string like "xmas" (the values have the
// same meanings as the $event command), or an integer.
// The value for this field can be a string like "xmas" (the names used here
// are the same as for the $event command), or an integer.
// "LobbyEvent": "xmas",
// Episode 3 menu song. If set, Episode 3 clients will hear this song when
// they are at the newserv main menu. If set, this value must be an integer.
+3 -3
View File
@@ -115,9 +115,9 @@ activate_chosen_editor:
# corresponds to a specific field in the current section).
# lwz r4, [r29 + 0x10] # TFreeCamera
# TODO: This doesn't appear to do anything, despite having a lot of code
# that checks various buttons on the controller. Figure this out and make it
# work.
# This editor does nothing. Probably it was never implemented or the code
# was intentionally deleted (though if it was, it's not clear why only this
# editor's code was deleted).
# lwz r4, [r29 + 0x14] # TFogEditor
# Use L/R to pick a line, and the D-pad to modify the values. NO specifies