Add support for Advanced Rogue 7 and XRogue.
This commit is contained in:
parent
fd5b0c83b6
commit
824fc6e7fd
10 changed files with 127 additions and 10 deletions
|
|
@ -181,8 +181,11 @@ commands[register] = mkdir "%ruserdata/%n",
|
|||
mkdir "%rttyrec/%n/rogue4",
|
||||
mkdir "%rttyrec/%n/rogue5",
|
||||
mkdir "%rttyrec/%n/srogue",
|
||||
mkdir "%rttyrec/%n/arogue5"
|
||||
mkdir "%rttyrec/%n/arogue5",
|
||||
mkdir "%rttyrec/%n/arogue7",
|
||||
mkdir "%rttyrec/%n/xrogue"
|
||||
|
||||
# TODO ensure they exist for existing users
|
||||
commands[login] = mkdir "%ruserdata/%n",
|
||||
mkdir "%rttyrec/%n",
|
||||
mkdir "%rttyrec/%n/rogue3",
|
||||
|
|
@ -243,6 +246,8 @@ menu["mainmenu_user"] {
|
|||
commands["5"] = play_game "RogueV5"
|
||||
commands["Ss"] = play_game "SRogue"
|
||||
commands["Aa"] = play_game "ARogue5"
|
||||
commands["7"] = play_game "ARogue7"
|
||||
commands["Xx"] = play_game "XRogue"
|
||||
commands["q"] = quit
|
||||
}
|
||||
|
||||
|
|
@ -321,6 +326,33 @@ DEFINE {
|
|||
commands = cp "/var/games/roguelike/arogue5save/%u-%n.ar5sav" "%rbackup/%u-%n.ar5sav.bak"
|
||||
}
|
||||
|
||||
# Advanced Rogue 7
|
||||
DEFINE {
|
||||
game_path = "/usr/bin/arogue7"
|
||||
game_name = "Advanced Rogue 7"
|
||||
short_name = "ARogue7"
|
||||
|
||||
game_args = "arogue7", "-n", "%n"
|
||||
inprogressdir = "%rinprogress/arogue7/"
|
||||
ttyrecdir = "%rttyrec/%n/arogue7/"
|
||||
|
||||
commands = cp "/var/games/roguelike/arogue7save/%u-%n.ar7sav" "%rbackup/%u-%n.ar7sav.bak"
|
||||
}
|
||||
|
||||
# XRogue
|
||||
DEFINE {
|
||||
game_path = "/usr/bin/xrogue"
|
||||
game_name = "XRogue"
|
||||
short_name = "XRogue"
|
||||
|
||||
game_args = "xrogue", "-n", "%n"
|
||||
inprogressdir = "%rinprogress/xrogue/"
|
||||
ttyrecdir = "%rttyrec/%n/xrogue/"
|
||||
|
||||
commands = cp "/var/games/roguelike/xroguesave/%u-%n.xrsav" "%rbackup/%u-%n.xrsav.bak"
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Next, we'll define one game's data:
|
||||
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
Logged in as: $USERNAME
|
||||
|
||||
c) Change password
|
||||
e) Change email address
|
||||
c) Change password e) Change email address
|
||||
w) Watch games in progress
|
||||
3) Play Rogue V3 (3.6)
|
||||
4) Play Rogue V4 (5.2)
|
||||
5) Play Rogue V5 (5.4)
|
||||
|
||||
3) Play Rogue V3 A) Play Advanced Rogue 5
|
||||
4) Play Rogue V4 7) Play Advanced Rogue 7
|
||||
5) Play Rogue V5 X) Play XRogue
|
||||
S) Play Super-Rogue
|
||||
A) Play Advanced Rogue 5
|
||||
|
||||
q) Quit
|
||||
|
||||
=>
|
||||
=>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue