v0.9.1a: NPCs now also appear in the journal as they assign a quest

This commit is contained in:
Evan Debenham 2020-12-15 13:06:15 -05:00
parent fef273cfc3
commit 6ca2d6bc6b
4 changed files with 4 additions and 0 deletions

View File

@ -90,6 +90,7 @@ public class Blacksmith extends NPC {
Quest.given = true;
Quest.completed = false;
Notes.add( Notes.Landmark.TROLL );
Pickaxe pick = new Pickaxe();
if (pick.doPickUp( Dungeon.hero )) {

View File

@ -178,6 +178,7 @@ public class Ghost extends NPC {
if (questBoss.pos != -1) {
GameScene.add(questBoss);
Quest.given = true;
Notes.add( Notes.Landmark.GHOST );
Game.runOnRenderThread(new Callback() {
@Override
public void call() {

View File

@ -116,6 +116,7 @@ public class Imp extends NPC {
tell( Quest.alternative ? Messages.get(this, "monks_1") : Messages.get(this, "golems_1") );
Quest.given = true;
Quest.completed = false;
Notes.add( Notes.Landmark.IMP );
}
return true;

View File

@ -187,6 +187,7 @@ public class Wandmaker extends NPC {
});
Quest.given = true;
Notes.add( Notes.Landmark.WANDMAKER );
}
return true;