diff options
author | Reid <reidyaro@gmail.com> | 2012-09-02 02:41:45 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2012-09-02 02:45:10 +0200 |
commit | db7c6b4f25f5c7929023ae78acd64dab04f94291 (patch) | |
tree | 523a7bb0b23228e706269ffa97d87bd17019d14e /npc | |
parent | 4df55b523629197041118dc333a93f27f93128ae (diff) | |
download | clientdata-db7c6b4f25f5c7929023ae78acd64dab04f94291.tar.gz clientdata-db7c6b4f25f5c7929023ae78acd64dab04f94291.tar.bz2 clientdata-db7c6b4f25f5c7929023ae78acd64dab04f94291.tar.xz clientdata-db7c6b4f25f5c7929023ae78acd64dab04f94291.zip |
Add check on Arpan NPC to verify if the player equiped or no the chest and leg equipments.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/000-2-1/arpan.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/npc/000-2-1/arpan.txt b/npc/000-2-1/arpan.txt index a2827260..8d855d6a 100644 --- a/npc/000-2-1/arpan.txt +++ b/npc/000-2-1/arpan.txt @@ -79,9 +79,10 @@ l_EquipDone: 000-2-1.gat,39,33,0,1 script Magic Arpan 307;5,{ -OnTalk: set @q, getq(ShipQuests_Arpan); + if (@q == 2 && getequipid(equip_torso) == 1300 && getequipid(equip_legs) == 2200) goto l_EquipDone; +OnTalk: mesn; if (@q > 0) goto l_Menu; @@ -207,4 +208,9 @@ l_BeforeMenu: l_Quit: close; +l_EquipDone: + setq ShipQuests_Arpan, 3; + + close; + } |