summaryrefslogtreecommitdiff
path: root/npc/027-2_Caretakers_House/husband.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/husband.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/husband.txt')
-rw-r--r--npc/027-2_Caretakers_House/husband.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/027-2_Caretakers_House/husband.txt b/npc/027-2_Caretakers_House/husband.txt
index 39ce10e6..44b94f9f 100644
--- a/npc/027-2_Caretakers_House/husband.txt
+++ b/npc/027-2_Caretakers_House/husband.txt
@@ -23,7 +23,7 @@
set @BONE_EXP, 30000;
set @RUBY_AMOUNT, 20; // caution, this value needs to be the same as in the innkeepers script!
- if (@state == 7) goto L_Thanks;
+ if (@state >= 7) goto L_Thanks;
if (@state == 6) goto L_Apologize;
if (@state == 5) goto L_Waiting;
if (@state == 4) goto L_News;
@@ -271,7 +271,10 @@ L_Apologize:
mes "\"And frankly, it gives me a bitter satisfaction that they long for each other but can't touch each other.\"";
next;
mes "\"However, you are a great friend and did a lot for me. I want you to have this.\"";
+ getinventorylist;
+ if (@inventorylist_count == 100) goto L_Full_Inv;
//TODO: determine reward and give it, idea: different bowler hat?
+ getitem "Acorn", 1;
set @state, 7;
callsub S_Update_Mask;
close;
@@ -293,6 +296,11 @@ L_Not_Enough_Cubes:
mes "\"Yes, they look good! But I think I need more of them. Maybe " + @ICE_CUBE_AMOUNT + "?\"";
close;
+L_Full_Inv:
+ mes "[Hamond]";
+ mes "\"You have a really full backpack, haven't you? Come back when you have some room in there.\"";
+ close;
+
L_Close:
close;