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/re/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/re/merchants/refine.txt')
-rw-r--r-- | npc/re/merchants/refine.txt | 76 |
1 files changed, 44 insertions, 32 deletions
diff --git a/npc/re/merchants/refine.txt b/npc/re/merchants/refine.txt index 490f10b5c..ce64063b7 100644 --- a/npc/re/merchants/refine.txt +++ b/npc/re/merchants/refine.txt @@ -1,22 +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) rAthena Dev Team +//= Copyright (C) Euphy +//= +//= 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/>. +//========================================================================= //= Renewal Refining NPCs -//===== By: ================================================== -//= Hercules Dev Team -//===== Current Version: ===================================== -//= 1.3 -//===== Description: ========================================= +//================= Description =========================================== //= Renewal-specific refining NPCs and material merchants. -//===== Additional Comments: ================================= -//= 1.0 Moved some scripts to Renewal file, optimized "Austry" NPC. [Euphy] -//= 1.0a Added 'disable_items' command. [Euphy] -//= 1.1 Added Malangdo Refiner "Clink". [Euphy] -//= 1.2 Added official success calculation, thanks to Helvetica. -//= The safe/multiple refine feature is now functional. [Euphy] -//= 1.3 Updated to match the latest official script. [Euphy] -//============================================================ +//================= Current Version ======================================= +//= 1.3 +//========================================================================= -// +11 and above Refiners -//============================================================ +//== +11 and above Refiners ================================ prt_in,90,72,5 script Vestri#prt 4_M_DWARF,{ callfunc "refinenew","Vestri",0; end; @@ -30,17 +47,14 @@ payon_in01,18,132,3 script Vestri#pay 4_M_DWARF,{ end; } -//============================================================ -// +11 and above 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. -//= -//= On official servers, if an item is unsuccessfully refined -//= it will break at a 20% rate and downgrade at an 80% rate. -//============================================================ +//== +11 and above 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. +// +// On official servers, if an item is unsuccessfully refined it will break at a +// 20% rate and downgrade at an 80% rate. function script refinenew { disable_items; mes "["+ getarg(0) +"]"; @@ -217,7 +231,7 @@ function script refinenew { close; } } -// New +11 and above Refining Functions ======================== +//- New +11 and above 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."; @@ -333,8 +347,7 @@ function script refinenew { close; } -// Ori/Elu to Carnium/Bradium Refiners -//============================================================ +//== Ori/Elu to Carnium/Bradium Refiners =================== - script Austri#ref -1,{ if (checkweight(1201,1) == 0) { mes "- Wait a minute !! -"; @@ -391,8 +404,7 @@ prt_in,85,71,5 duplicate(Austri#ref) Austri#prt 4_M_DWARF payon_in01,14,125,5 duplicate(Austri#ref) Austri#pay 4_M_DWARF morocc_in,60,38,5 duplicate(Austri#ref) Austri#moc 4_M_DWARF -// Malangdo Refiner -//============================================================ +//== Malangdo Refiner ====================================== malangdo,224,172,6 script Clink#mal_normal 4_CAT_SAILOR1,{ disable_items; mes "[Clink]"; |