summaryrefslogtreecommitdiff
path: root/npc/027-2_Caretakers_House/innkeeper.txt
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-02-06 12:03:37 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-02-06 12:03:37 +0100
commit8ba54244eb2842b9182b143d804d4bdba5343476 (patch)
tree8af6eecbe7ea36b324dc9d411ab8bfbedc12488a /npc/027-2_Caretakers_House/innkeeper.txt
parent7a7e43b8b2697734ec958c4b348f3a9077241c96 (diff)
downloadserverdata-8ba54244eb2842b9182b143d804d4bdba5343476.tar.gz
serverdata-8ba54244eb2842b9182b143d804d4bdba5343476.tar.bz2
serverdata-8ba54244eb2842b9182b143d804d4bdba5343476.tar.xz
serverdata-8ba54244eb2842b9182b143d804d4bdba5343476.zip
gy inn: lovetriangle quest, adding last part. Now missing: rewards and right values for needed items
Diffstat (limited to 'npc/027-2_Caretakers_House/innkeeper.txt')
-rw-r--r--npc/027-2_Caretakers_House/innkeeper.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/027-2_Caretakers_House/innkeeper.txt b/npc/027-2_Caretakers_House/innkeeper.txt
index 26631f7f..c0969998 100644
--- a/npc/027-2_Caretakers_House/innkeeper.txt
+++ b/npc/027-2_Caretakers_House/innkeeper.txt
@@ -31,7 +31,7 @@
set @DIAMOND_AMOUNT, 10; // caution, this value needs to be the same as in the lovers script!
set @RUBY_AMOUNT, 20; // caution, this value needs to be the same as in the husbands script!
- if (@state == 11) goto L_Happy;
+ if (@state >= 11) goto L_Happy;
if (@state == 10) goto L_Thanks;
if ((@state == 8) || (@state == 9)) goto L_Sorry;
if (@state == 7) goto L_Savaric;
@@ -336,7 +336,10 @@ L_Tease:
L_Thanks:
mes "[Reid's Ghost]";
mes "\"I'm so glad, now I know what happened and spoke to Savaric and Hamond. Thank you so much. Please take this.\"";
+ getinventorylist;
+ if (@inventorylist_count == 100) goto L_Full_Inv;
//TODO: determine reward and give it
+ getitem "Acorn", 1;
set @state, 11;
callsub S_Update_Mask;
close;
@@ -378,6 +381,11 @@ L_Bracelet:
callsub S_Update_Mask_Kid;
close;
+L_Full_Inv:
+ mes "[Reid's Ghost]";
+ mes "\"Dear, you're carrying so much stuff, you can't take my present. Come back later to take it.\"";
+ close;
+
L_Close:
close;