diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-06-02 21:20:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-06-02 21:20:51 -0300 |
commit | 78ae1ea25de0b81c65ebad3c9463d136029cb5fc (patch) | |
tree | 0580aa9249a54a5a369a14c43e411419ee680810 /npc/006-2-1/glim.txt | |
parent | 255c3911a62391d854f350e016d67c57de6ce7d3 (diff) | |
download | serverdata-78ae1ea25de0b81c65ebad3c9463d136029cb5fc.tar.gz serverdata-78ae1ea25de0b81c65ebad3c9463d136029cb5fc.tar.bz2 serverdata-78ae1ea25de0b81c65ebad3c9463d136029cb5fc.tar.xz serverdata-78ae1ea25de0b81c65ebad3c9463d136029cb5fc.zip |
Add to Glim the QoL which ThinkSome wanted because he spammed me with arrows.
Diffstat (limited to 'npc/006-2-1/glim.txt')
-rw-r--r-- | npc/006-2-1/glim.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/006-2-1/glim.txt b/npc/006-2-1/glim.txt index 0ffcfd41e..a9bff5682 100644 --- a/npc/006-2-1/glim.txt +++ b/npc/006-2-1/glim.txt @@ -29,12 +29,14 @@ L_Loop: .@q2 = getq2(PiouQuest_Glim); .@donations_limit = (BaseLevel-17)/3 - .@q2; .@tabox_limit = min(countitem(TolchiAmmoBox), .@donations_limit); + .@tarow_limit = min(countitem(TolchiArrow)/200, .@donations_limit); if (.@donations_limit <= 0) goto L_Timer; select rif(.@tabox_limit > 0, l("Give Glim a %s", getitemname(TolchiAmmoBox))), + rif(.@tarow_limit > 0, l("Give Glim a %s", l("bundle of 200 %s", getitemname(TolchiArrow)))), l("Maybe later."); mes ""; @@ -43,6 +45,9 @@ L_Loop: handle_donation(TolchiAmmoBox, 1, 150, 64); break; case 2: + handle_donation(TolchiArrow, 200, 100, 72); + break; + case 3: close; break; } |