v0.9.1a: NPCs now also appear in the journal as they assign a quest
This commit is contained in:
+1
@@ -90,6 +90,7 @@ public class Blacksmith extends NPC {
|
|||||||
|
|
||||||
Quest.given = true;
|
Quest.given = true;
|
||||||
Quest.completed = false;
|
Quest.completed = false;
|
||||||
|
Notes.add( Notes.Landmark.TROLL );
|
||||||
|
|
||||||
Pickaxe pick = new Pickaxe();
|
Pickaxe pick = new Pickaxe();
|
||||||
if (pick.doPickUp( Dungeon.hero )) {
|
if (pick.doPickUp( Dungeon.hero )) {
|
||||||
|
|||||||
+1
@@ -178,6 +178,7 @@ public class Ghost extends NPC {
|
|||||||
if (questBoss.pos != -1) {
|
if (questBoss.pos != -1) {
|
||||||
GameScene.add(questBoss);
|
GameScene.add(questBoss);
|
||||||
Quest.given = true;
|
Quest.given = true;
|
||||||
|
Notes.add( Notes.Landmark.GHOST );
|
||||||
Game.runOnRenderThread(new Callback() {
|
Game.runOnRenderThread(new Callback() {
|
||||||
@Override
|
@Override
|
||||||
public void call() {
|
public void call() {
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ public class Imp extends NPC {
|
|||||||
tell( Quest.alternative ? Messages.get(this, "monks_1") : Messages.get(this, "golems_1") );
|
tell( Quest.alternative ? Messages.get(this, "monks_1") : Messages.get(this, "golems_1") );
|
||||||
Quest.given = true;
|
Quest.given = true;
|
||||||
Quest.completed = false;
|
Quest.completed = false;
|
||||||
|
Notes.add( Notes.Landmark.IMP );
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
+1
@@ -187,6 +187,7 @@ public class Wandmaker extends NPC {
|
|||||||
});
|
});
|
||||||
|
|
||||||
Quest.given = true;
|
Quest.given = true;
|
||||||
|
Notes.add( Notes.Landmark.WANDMAKER );
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user