From bade571986ffa8ca3f106a0e1ebd43d013b12db9 Mon Sep 17 00:00:00 2001 From: Reid Date: Sat, 1 Sep 2012 02:16:45 +0200 Subject: Change var number on darlin, it can now be added on the quest log. --- db/questvars.txt | 4 ++-- npc/000-1/darlin.txt | 12 +++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/db/questvars.txt b/db/questvars.txt index f8424c12..57b26855 100644 --- a/db/questvars.txt +++ b/db/questvars.txt @@ -16,5 +16,5 @@ ShipQuests,1,1024 // ShipQuests_Knife 5 ShipQuests,1,2048 // ShipQuests_ArpanMoney 6 ShipQuests,1,4096 // ShipQuests_Door 7 ShipQuests,1,8192 // ShipQuests_TreasureChest 8 -ShipQuests,1,65536 // ShipQuests_Darlin 9 -ShipQuests,3,131072 // ShipQuests_Couwan 10 +ShipQuests,3,65536 // ShipQuests_Darlin 9 +ShipQuests,3,262144 // ShipQuests_Couwan 10 diff --git a/npc/000-1/darlin.txt b/npc/000-1/darlin.txt index 168f31cf..4a625e57 100644 --- a/npc/000-1/darlin.txt +++ b/npc/000-1/darlin.txt @@ -4,10 +4,11 @@ // Description: // Darlin talks from the top of the tall mast. // Variable: -// ShipQuests_Darlin +// 0x ShipQuests_Darlin // Values: -// 0 Does not speak -// 1 Speak & Quest +// 00 Does not speak +// 01 Speak & Quest +// 02 000-1.gat,89,89,0,1 script Darlin 103;14,{ @@ -140,7 +141,7 @@ l_QuestGiven: menu l("I forgot where it was..."), -, - l("Yes, it's a chest."), l_Chest, + rif(getq(ShipQuests_Darlin) == 1, l("Yes, it's a chest.")), l_Chest, l("Oh, nothing important."), l_Nothing; mes ""; @@ -164,7 +165,8 @@ l_Chest: mesq l("SORRY, BUT WHAT DID YOU SAY? SPEAK LOUDER!"); next; mesq l("IF YOU FIND SOMETHING, THEN IT'S GREAT!"); - + + setq ShipQuests_Darlin, 2; goto l_Menu; l_DangerAround: -- cgit v1.2.3-70-g09d2