diff options
author | Jessica Tölke <jtoelke@mail.upb.de> | 2012-07-19 09:30:06 +0200 |
---|---|---|
committer | Jessica Tölke <jtoelke@mail.upb.de> | 2012-07-19 09:30:06 +0200 |
commit | fb3b066e0b99900b0dff319ef9ca8776d9d26a64 (patch) | |
tree | 771ab56a86a05d773c9e21054919e09ab63e5bf2 /world/map/npc/009-4/orum.txt | |
parent | 8406892e108f68a9c75a2426bc455ae065ea744e (diff) | |
download | serverdata-fb3b066e0b99900b0dff319ef9ca8776d9d26a64.tar.gz serverdata-fb3b066e0b99900b0dff319ef9ca8776d9d26a64.tar.bz2 serverdata-fb3b066e0b99900b0dff319ef9ca8776d9d26a64.tar.xz serverdata-fb3b066e0b99900b0dff319ef9ca8776d9d26a64.zip |
Some fixes in Orum script.v2012.07.19
Set variable right after giving the reward.
Check for weight and inventory before giving the reward.
Diffstat (limited to 'world/map/npc/009-4/orum.txt')
-rw-r--r-- | world/map/npc/009-4/orum.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/world/map/npc/009-4/orum.txt b/world/map/npc/009-4/orum.txt index 2cec52ca..43c129b5 100644 --- a/world/map/npc/009-4/orum.txt +++ b/world/map/npc/009-4/orum.txt @@ -567,9 +567,13 @@ L_Ready_Cavern: mes "[Orum]"; mes "\"Very good work you have done! Please take this for your efforts. It has helped me in a bind.\""; next; + getinventorylist; + if ((checkweight("CandleHelmet", 1) == 0) || (@inventory_count == 100)) + goto L_Inventory; getexp @EXP_BREAK_BARRIERS, 0; getitem "CandleHelmet", 1; - mes "You receive the Candle Helmet"; + set OrumQuest, 12; + mes "You receive the Candle Helmet."; next; mes "\"You've done enough here to help. I will go the rest of the way alone so that your life is not endangered.. You must promise me not to go any further!\""; next; @@ -578,7 +582,10 @@ L_Ready_Cavern: "I thought this would never be over!", -; mes "[Orum]"; mes "\"Well I guess this is farewell!\""; - set OrumQuest, 12; + close; + +L_Inventory: + mes "\"You're carrying too much. Come back to me after you got rid of some stuff. And hurry, I don't want to spent all day waiting on you.\""; close; L_Got_Reward: |