public void onTurnReached(int currentTurn) {
// if there is no result, wait some more
ReadHallOfFamePointsCommand command = DBCommandQueue.get().getOneResult(ReadHallOfFamePointsCommand.class, handle);
if (command == null) {
TurnNotifier.get().notifyInTurns(0, this);
return;
}
// tell the player his score
int points = command.getPoints();
npc.say("Congratulations " + playerName + ", your score is now " + points + ".");
// save the progress to a quest slot
if (questSlot != null) {
Player player = StendhalRPRuleProcessor.get().getPlayer(playerName);