diff options
author | Reid <reidyaro@gmail.com> | 2016-02-20 15:28:27 +0100 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2016-02-20 15:28:27 +0100 |
commit | 0fa69a332f623bdc04caf64f8d87505f53801efb (patch) | |
tree | 95a0cf628f8913b6fc345d32cc0ed286ceba1370 | |
parent | 314144e7a05ac3877adfa5b98fab2ed02f23c26a (diff) | |
download | serverdata-0fa69a332f623bdc04caf64f8d87505f53801efb.tar.gz serverdata-0fa69a332f623bdc04caf64f8d87505f53801efb.tar.bz2 serverdata-0fa69a332f623bdc04caf64f8d87505f53801efb.tar.xz serverdata-0fa69a332f623bdc04caf64f8d87505f53801efb.zip |
Add new food and a drunk label on alige from artis.
-rw-r--r-- | npc/000-2-1/alige.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt index cd20697a..ca692e76 100644 --- a/npc/000-2-1/alige.txt +++ b/npc/000-2-1/alige.txt @@ -184,6 +184,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; @@ -191,6 +196,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. @@ -219,6 +225,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?"); |