From b1ced66321ffed02cde1a9ccd39fa2c9ba004125 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 23 Dec 2008 17:16:49 +0000 Subject: Fixeds to check for invy room before giving items --- npc/014-1_Woodland/wedding-officiator.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'npc/014-1_Woodland') diff --git a/npc/014-1_Woodland/wedding-officiator.txt b/npc/014-1_Woodland/wedding-officiator.txt index 7a6e606b..26f2fc56 100644 --- a/npc/014-1_Woodland/wedding-officiator.txt +++ b/npc/014-1_Woodland/wedding-officiator.txt @@ -95,6 +95,8 @@ L_get_married: goto L_too_poor; if (BaseLevel < @WEDDING_MIN_LEVEL) goto L_too_young; + getinventorylist; + if (@inventorylist_count > 98) goto L_No_Room_For_Rings; set zeny, zeny - @WEDDING_FEE; getitem 702, 1; @@ -243,4 +245,8 @@ L_do_divorce: mes "\"You are divorced now. Thank you for your business.\""; next; close; + +L_No_Room_For_Rings: + mes "[Wedding Officiator]"; + mes "\"You don't have room to carry the rings.\""; } -- cgit v1.2.3-60-g2f50