diff options
author | Haru <haru@dotalux.com> | 2015-11-11 14:03:45 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-15 20:53:51 +0100 |
commit | 0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4 (patch) | |
tree | 161222fb5b37ced31b9dffa6e351e1b08b7e29fe /npc/merchants/refine.txt | |
parent | a29147e139c55ecedfce5dbd75de9bb886b1ad4e (diff) | |
download | hercules-0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4.tar.gz hercules-0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4.tar.bz2 hercules-0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4.tar.xz hercules-0cc6aa2a8b1fa570b020fa1c582bedc74f273ee4.zip |
Standardized header in scripts (part 6)
- Now including GPL-compliant license/copyright info
- Restored some missing copyrights
- Merchants scripts folders
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/merchants/refine.txt')
-rw-r--r-- | npc/merchants/refine.txt | 154 |
1 files changed, 67 insertions, 87 deletions
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt index 2b2d95180..3de8bf28d 100644 --- a/npc/merchants/refine.txt +++ b/npc/merchants/refine.txt @@ -1,68 +1,59 @@ -//===== 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) Euphy +//= Copyright (C) Masao +//= Copyright (C) Xantara +//= Copyright (C) Paradox924X +//= Copyright (C) L0ne_W0lf +//= Copyright (C) Samuray22 +//= Copyright (C) Silent +//= Copyright (C) Kargha +//= Copyright (C) Playtester +//= Copyright (C) DracoRPG +//= Copyright (C) Poki#3 +//= Copyright (C) Nexon +//= Copyright (C) dafide18 +//= Copyright (C) massdriller +//= Copyright (C) shadowlady +//= Copyright (C) Shinigami +//= Copyright (C) Darkchild +//= Copyright (C) kobra_k88 +//= Copyright (C) Lupus +//= Copyright (C) Skotlex +//= Copyright (C) dafide18 +//= Copyright (C) Syrus22 +//= +//= 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/>. +//========================================================================= //= Refining NPCs -//===== By: ================================================== -//= Syrus22 (1.1) dafide18 (1.4) Skotlex (1.5) -//===== Current Version: ===================================== -//= 3.3 -//===== Description: ========================================= +//================= Description =========================================== //= Refining NPCs and Metal Salesmen. -//===== Additional Comments: ================================= -//= 1.0 by A bunch of people! -//= Syrus22 - Completely redid the script using functions... also -//= added the option for auto safe refining and multiple refining. -//= 1.1 Negative input bug fixed [Lupus] -//= 1.2 Added additional reparimen in morroc and payon. Added -//= Christopher the blacksmith in Geffen. Edited some dialogue [kobra_k88] -//= 1.3 New Payon Locations [Darkchild] -//= Corrected zeny subtraction thx to jpnmania77.[kobra_k88] -//= 1.3a Temporary corrected an exploit. Need to check sources -//= to fully fix bug [Shinigami] -//= Fixed repairman prices [shadowlady] -//= Fixed bug that skips requirements thanks to sir_loon [massdriller] -//= Fixed itemid error thanks to -Vitamin- [massdriller] -//= 1.4 check again item in refining procedure to avoid -//= hacker that can change item [dafide18] -//= 1.5 Fixed crashing due to badly used callfunc's [Skotlex] -//= Lupus, don't rollback this important fix again! >.< -//= 1.5a Corrected an unneeded callfunc, fixed the anti-bot -//= exploit ruining the safe refine loop. [Skotlex] -//= 1.5b Fixed Spelling mistakes. [Nexon] -//= 1.6 Replaced all breaks for ends as per the new script engine [Skotlex] -//= 1.7 Added Einbroch Refiners (Custom names ^^;) and a duplicated BS Shop. [Poki#3] -//= 1.8 Added Lighthalzen Refiners (Custom names again ^^;) [Poki#3] -//= 1.8a Fixed wrong indication thanks to NeoSaro [Lupus] -//= 1.9 Rewrote repairman, removed the Steel from repair cost [DracoRPG] -//= 2.0 Fixed missed equppment presence check. Thx2 Coltaro [Lupus] -//= 2.0a Added weight checks thanks to Neouni [Playtester] -//= 2.0b Fixed the names of Lighthalzen and Einbroch refiners thanks to Maud_Dib [Kargha] -//= 2.1 Removed Duplicates [Silent] -//= 2.2 Changed name from "Emvertacon" to "Emveretarcon". [Samuray22] -//= Thanks to Barron-Monster. -//= 2.2b Changed name from "Pharacon" to "Phracon". [Samuray22] -//= Thanks to Barron-Monster. -//= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf] -//= 2.4 Updated Refiner function. cleaner, and less dated. [L0ne_w0lf] -//= 2.5 Rather large update to the refiner and merchants. :D [L0ne_W0lf] -//= 2.6 Fixed a few bugs with creating pure stones. [L0ne_W0lf] -//= 2.7 Refiner function accepts additional paramater. [L0ne_W0lf] -//= 0 = No special features; 1 = new refining features -//= Updated Repairmen and function. No longer shows menu. -//= 2.7a A couple touch-ups to the repairman function. [L0ne_w0lf] -//= 2.8 Changed the nonexistent variable .@matname$ for getitemname(.@material). (bugreport:2340) [Samuray22] -//= 2.8 Added proper Blacksmith Supplier to Einroch. [L0ne_W0lf] -//= Updated dated features comment to reflect new usage. -//= 2.8a Small bugfix. (bugreport:2418) [Paradox924X] -//= 2.9 Moved Morroc repairman to Morroc Ruins. [L0ne_W0lf] -//= 3.0 Updated several NPC names and locations. [Xantara] -//= Added WoE map Refiners. -//= 3.1 Added the new refinement & Ore creation NPC's for +11 and above Refinement. [Masao] -//= 3.2 Moved some scripts to Renewal file, other minor changes. [Euphy] -//= 3.2a Added 'disable_items' command. [Euphy] -//= 3.3 Some official script updates. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 3.3 +//========================================================================= -// Christopher: Geffen Blacksmith -//============================================================ +//== Christopher: Geffen Blacksmith ======================== geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ mes "[Christopher Guillenrow]"; mes "Welcome to Christopher's Workshop. Ye can get all yer stuff for forging here. What business"; @@ -327,8 +318,7 @@ geffen_in,110,172,0 script Christopher#1 1_M_SMITH,{ } } -// Paul Spanner: Einbroch Blacksmith Supplier -//============================================================ +//== Paul Spanner: Einbroch Blacksmith Supplier ============ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -563,8 +553,7 @@ ein_in01,38,29,0 script Paul Spanner 1_M_SMITH,{ } } -// Weapon/Armor Refiners -//============================================================ +//== Weapon/Armor Refiners ================================= prt_in,63,60,0 script Hollgrehenn 4_M_03,{ callfunc "refinemain","Hollgrehenn",0; end; @@ -594,14 +583,11 @@ lhz_in02,282,20,7 script Fulerr 4_M_LGTMAN,{ end; } -//============================================================ -//= Main Refiner Function -//============================================================ -//= To allow auto safe refining/multiple refining set the -//= second argument to '1' in the function call. -//= If you enable this function, be sure to edit the value of -//= .@safe to the max safe refine in refine_db.txt as well. -//============================================================ +//== Main Refiner Function ================================= +// To allow auto safe refining/multiple refining set the second argument to '1' +// in the function call. +// If you enable this function, be sure to edit the value of .@safe to the max +// safe refine in refine_db.txt as well. function script refinemain { disable_items; .@features = getarg(1); @@ -800,7 +786,7 @@ function script refinemain { close; } -// New Refining Functions ======================== +//- New Refining Functions - if(getequiprefinerycnt(.@part) < .@safe) { mes "[" + getarg(0) + "]"; mes "I can refine this to the safe limit or a desired number of times. It's your choice."; @@ -895,8 +881,7 @@ function script refinemain { close; } -// Material Salesmen -//============================================================ +//== Material Salesmen ===================================== prt_in,56,68,5 script Vurewell 4_M_04,{ callfunc "phramain","Vurewell"; end; @@ -926,8 +911,7 @@ lhz_in02,278,24,3 script Krugg 4_M_04,{ end; } -// Material Salesmen Functions -//============================================================ +//== Material Salesmen Functions =========================== function script phramain { if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1008,8 +992,7 @@ function script phramain { close; } -// Ori/Elu Refiners -//============================================================ +//== Ori/Elu Refiners ====================================== prt_in,63,69,3 script Dietrich 4_M_02,{ callfunc "orimain","Dietrich"; end; @@ -1039,8 +1022,7 @@ lhz_in02,281,24,5 script Fruel 4_M_02,{ end; } -// Ori/Elu Functions -//============================================================ +//== Ori/Elu Functions ===================================== function script orimain { if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -1108,8 +1090,7 @@ function script orimain { } } -// Equipment Repairmen -//============================================================ +//== Equipment Repairmen =================================== alberta_in,31,65,4 script Repairman#alb 4_M_04,{ callfunc "repairmain","Repairman"; end; @@ -1180,8 +1161,7 @@ sch_gld,340,80,7 script Repairman#sch_gld 4_M_04,{ end; } -// Equipment Repair Function -//============================================================ +//== Equipment Repair Function ============================= function script repairmain { .@repairprice = 5000; mes "["+getarg(0)+"]"; |