summaryrefslogtreecommitdiff
path: root/npc/merchants/quivers.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/quivers.txt')
-rw-r--r--npc/merchants/quivers.txt60
1 files changed, 39 insertions, 21 deletions
diff --git a/npc/merchants/quivers.txt b/npc/merchants/quivers.txt
index a2e293e83..3dca21c37 100644
--- a/npc/merchants/quivers.txt
+++ b/npc/merchants/quivers.txt
@@ -1,26 +1,39 @@
-//===== Hercules Script ======================================
+//================= Hercules Script =======================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) Playtester
+//= Copyright (C) Nexon
+//= Copyright (C) L0ne_W0lf
+//= Copyright (C) Muad_Dib (Prometheus Project)
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
//= Arrow Quiver Event
-//===== By: ==================================================
-//= Muad_Dib (Prometheus Project); L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
-//= [Official Conversion]
+//================= Description ===========================================
//= Turns arrows into Arrow Quivers.
-//= Breakdown of Subroutine "S_BuyQuiver"
-//= arg(0): Type of Arrow to be packaged (item ID).
-//= arg(1): How many of each 'getarg(0)' arrow per quiver.
-//= arg(2): The cost of making a 'getarg(0)' quiver.
-//= arg(3): The quiver given by the NPC (item ID).
-//===== Additional Comments: =================================
-//= 07/06/05 : Added 1st Version. [Muad_Dib]
-//= Converted to rAthena format by Dr.Evil
-//= added prize to quest - 500 Zeny
-//= Fixed a few spelling errors. [Nexon]
-//= 1.1 Added Holy Arrow Quivers [Playtester]
-//= 1.2 Rescripted to Aegis 10.3 standards. [L0ne_W0lf]
-//= Removed "Holy Arrows" from the list.
-//============================================================
+//================= Current Version =======================================
+//= 1.2
+//=========================================================================
payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{
if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
@@ -68,6 +81,11 @@ payon_in01,5,134,5 script Inventor Jaax 4_M_ORIENT02,{
//mes "anything you want?";
//close;
+// Arguments:
+// -0: Type of Arrow to be packaged (item ID).
+// -1: How many of each 'getarg(0)' arrow per quiver.
+// -2: The cost of making a 'getarg(0)' quiver.
+// -3: The quiver given by the NPC (item ID).
S_BuyQuiver:
if (countitem(getarg(0)) >= getarg(1)) {
mes "[Inventor Jaax]";