diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-10-08 15:47:03 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-10-08 15:47:03 -0300 |
commit | d155ce1ed965b6e74cf5b509dd0eb615b4d13834 (patch) | |
tree | 6287d5d46a9f20f22ca30ac7d78f82484e038d12 /npc | |
parent | 9a2925a8c59b8cc1a860d2655f0f66de950456e2 (diff) | |
download | serverdata-d155ce1ed965b6e74cf5b509dd0eb615b4d13834.tar.gz serverdata-d155ce1ed965b6e74cf5b509dd0eb615b4d13834.tar.bz2 serverdata-d155ce1ed965b6e74cf5b509dd0eb615b4d13834.tar.xz serverdata-d155ce1ed965b6e74cf5b509dd0eb615b4d13834.zip |
Baktar: Give a hint when offering a Croconut or a Half Croconut that he'll accept a box
Diffstat (limited to 'npc')
-rw-r--r-- | npc/020-4/baktar.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/020-4/baktar.txt b/npc/020-4/baktar.txt index 621d22299..4472c5322 100644 --- a/npc/020-4/baktar.txt +++ b/npc/020-4/baktar.txt @@ -68,6 +68,14 @@ L_Collector: if (countitem(.@id) < 1 || checkbound(.@id)) close; + // Special exception + if (.@id == Croconut || .@id == HalfCroconut) { + mesn; + if (rand2(1,5) == 4) mesc l("*cough cough*"); + mesq l("Ooh, this definitely is a Tulimshar item! But I would prefer a box full of these, please."); + close; + } + // No item .@m = htget(.TULIMITEM, str(.@id), 0); if (!.@m) { |