diff options
author | Reid <reidyaro@gmail.com> | 2016-02-20 15:26:57 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-20 15:26:57 +0100 |
commit | 314144e7a05ac3877adfa5b98fab2ed02f23c26a (patch) | |
tree | 061216385de88844472746354d9ee2af470d51a0 /npc | |
parent | 12b96e271967408bbb986b9756f657e4f6b81b15 (diff) | |
download | serverdata-314144e7a05ac3877adfa5b98fab2ed02f23c26a.tar.gz serverdata-314144e7a05ac3877adfa5b98fab2ed02f23c26a.tar.bz2 serverdata-314144e7a05ac3877adfa5b98fab2ed02f23c26a.tar.xz serverdata-314144e7a05ac3877adfa5b98fab2ed02f23c26a.zip |
Add new food and a drunk label on alige from artis.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-22/alige.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/001-2-22/alige.txt b/npc/001-2-22/alige.txt index 7da23dd6..cdad1663 100644 --- a/npc/001-2-22/alige.txt +++ b/npc/001-2-22/alige.txt @@ -188,6 +188,11 @@ L_GiveFood: rif(countitem(516), l(getitemname(516))), 1, rif(countitem(518), l(getitemname(518))), 1, rif(countitem(519), l(getitemname(519))), 1, + rif(countitem(527), l(getitemname(527))), 527, + rif(countitem(528), l(getitemname(528))), 528, + rif(countitem(529), l(getitemname(529))), 529, + rif(countitem(530), l(getitemname(530))), 530, + rif(countitem(531), l(getitemname(531))), 3, l("I don't have anything good for you today."), -1; .@id = @menuret; @@ -195,6 +200,7 @@ L_GiveFood: if (.@id == 0) goto L_NoReward; // In case of wrong food. if (.@id == 1) goto L_Poison; // In case of poisoned food. if (.@id == 2) goto L_NoMore; // In case of Piberries. + if (.@id == 3) goto L_Drunk; // In case of Alcohol. if (countitem(.@id) == 0) goto L_Quit; // if (.@id == item's ID) then food is correct. // Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion. @@ -223,6 +229,14 @@ L_NoReward: goto L_GiveFood; +L_Drunk: + setcamnpc; + speech 5, + l("I asked for food but... *hips* Ah, that'll do so!"); + restorecam; + + goto L_GiveFood; + L_ReturnMenu: setcamnpc; mesq l("Do you have anything else for me?"); |