This commit is contained in:
Kim Ravn Hansen
2025-09-15 10:44:24 +02:00
parent 232a771980
commit 58c48fdc4b
17 changed files with 848 additions and 57 deletions

View File

@@ -33,7 +33,9 @@ export class PlayerCreationScene extends Scene {
this.session.sendSystemMessage("salt", player.salt);
this.session.sendText(`Username _*${username}*_ is available, and I've reserved it for you :)`);
this.showPrompt("new passwordprompt");
//
this.session.sendError("TODO: create a createPasswordPrompt and display it.");
}
/**
@@ -47,10 +49,4 @@ export class PlayerCreationScene extends Scene {
this.session.sendText("*_Success_* ✅ You will now be asked to log in again, sorry for that ;)");
this.player.setPasswordHash(security.generateHash(this.password));
}
//
// User entered ":create"
onColon__create() {
this.scene.createPlayer();
}
}