summaryrefslogtreecommitdiff
path: root/npc/other/item_merge.txt
blob: b1926a49a6220802a05e4598a328909699fe25a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
//================= 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
//=
//= 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/>.
//=========================================================================
//= Mergician
//================= Description ===========================================
//= Merges items taking up multiple slots in a player's inventory.
//================= Current Version =======================================
//= 1.0
//=========================================================================

prontera,146,95,3	script	Mergician#pron	1_M_WIZARD,{
	if (checkweight(1301,1) == 0) {
		mes "- Wait a second !! -";
		mes "- You are carrying too many items -";
		mes "- or too much weight to proceed. -";
		mes "- Come back after -";
		mes "- arranging your inventory. -";
		close;
	}
	mes "[Mergician]";
	mes "Do you believe in the miracle of Merge god?? If so, repeat my spell loudly as I pronunce it!!!";
	mes "Merge Merge, Merrrrge!!!";
	next;
	switch(select("What is the miracle of Merge?:Merrrrge!!!!:Abandon...")) {
	case 1:
		mes "[Mergician]";
		mes "There is an order which rules the world and keeps the world to go well.";
		next;
		mes "[Mergician]";
		mes "But there has been a bad factor which totally jeopardised this rule!!";
		next;
		mes "[Mergician]";
		mes "Those things which are separated even if they are composed by the same material!!";
		next;
		mes "[Mergician]";
		mes "Have you never experienced this bad incident??";
		mes "The fact that I had ^3131FFthe same potion, but appearing more than twice in your inventory!!^000000 So unpleasant!!!";
		next;
		mes "[Mergician]";
		mes "Believe in Mergism. That is the truth.";
		mes "Then I can help you be happy and content.";
		close;
	case 2:
		mes "[Mergician]";
		mes "This is the total holy ritual to pray to the Great God, Merge! and I am borrowing the power for a while!!";
		next;
		mes "[Mergician]";
		mes "And if you eagerly want to be blessed by Merge, be humble and shout out loud! Merge Merge, Merrrrge!!!";
		next;
		switch(select("Merrrrge!:Don't follow what he says.")) {
		case 1:
			mes "[Mergician]";
			mes "Merge just heard your wish and let it be realised!";
			mes "Open your inventory to check the miracle!";
			close2;
			mergeitem();
			end;
		case 2:
			mes "[Mergician]";
			mes "You jerk!!! You just broke the whole rhythm! Why can't you get my flow and follow me?! Idiot!";
			close;
		}
	case 3:
		close;
	}
}