diff options
author | Reid <reidyaro@gmail.com> | 2012-09-01 02:16:45 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-09-01 02:16:45 +0200 |
commit | bade571986ffa8ca3f106a0e1ebd43d013b12db9 (patch) | |
tree | 86fb8055aeafe5e68096c7f82af4bd2ec58f3a69 | |
parent | 3d14b11e01ccd137abb17d057c7112e48100c939 (diff) | |
download | serverdata-bade571986ffa8ca3f106a0e1ebd43d013b12db9.tar.gz serverdata-bade571986ffa8ca3f106a0e1ebd43d013b12db9.tar.bz2 serverdata-bade571986ffa8ca3f106a0e1ebd43d013b12db9.tar.xz serverdata-bade571986ffa8ca3f106a0e1ebd43d013b12db9.zip |
Change var number on darlin, it can now be added on the quest log.
-rw-r--r-- | db/questvars.txt | 4 | ||||
-rw-r--r-- | npc/000-1/darlin.txt | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/db/questvars.txt b/db/questvars.txt index f8424c12a..57b268553 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 168f31cf7..4a625e572 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:
|