mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
crystal-sokoban:: welcome message
This commit is contained in:
parent
1e3786550b
commit
fa6b9989c0
@ -171,10 +171,15 @@ auto sbhook = addHook(hooks_args, 100, [] {
|
||||
else if(argis("-crystal-sokoban")) {
|
||||
PHASEFROM(2);
|
||||
run_sb();
|
||||
showstartmenu = false;
|
||||
}
|
||||
else return 1;
|
||||
return 0;
|
||||
}) + addHook(hooks_prestats, 100, sokomap2)
|
||||
+ addHook(hooks_welcome_message, 50, [] () {
|
||||
if(vizid == &on) addMessage(XLAT("Welcome to Crystal Sokoban!"));
|
||||
return bool(vizid);
|
||||
}) +
|
||||
+ addHook(hooks_handleKey, 50, soko_key);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user