OSDN Git Service

First version
[st-ro/stro.git] / npc / other / divorce.txt
1 //===== rAthena Script ======================================= 
2 //= Divorcing Deviruchi
3 //===== By: ================================================== 
4 //= Perkka, Scriptor, LightFighter
5 //= L0ne_W0lf
6 //===== Current Version: ===================================== 
7 //= 1.5
8 //===== Compatible With: ===================================== 
9 //= rAthena Project
10 //===== Description: ========================================= 
11 //= [Official Conversion]
12 //= Official Divorce script.
13 //= Added isloggedin() check, even though Aegis doesn't do it;
14 //= should be able to divorce even when the spouse is not online.
15 //===== Additional Comments: ================================= 
16 //= Both players should be online to get divorced
17 //= Fixed menu [Lupus]
18 //= 1.1 Added check if the patner's online, added effects [Lupus]
19 //= 1.2 Updated to Aegis 10.3 standards. [L0ne_W0lf]
20 //= 1.2a Commented out check of 'wedding_sign' to let
21 //=     old married players divorcing, optimized, fixed a bug [Lupus]
22 //= 1.3 Wedding variable 'wedding_sign' is now unset on divorce. [L0ne_W0lf]
23 //= 1.4 Removed ifpartneron check, fixed typo in percentheal. [L0ne_W0lf]
24 //= 1.5 Replaced effect numerics with constants. [L0ne_W0lf]
25 //============================================================ 
26
27 nif_in,190,112,5        script  Deviruchi#divorce       738,{
28         mes "[Deviruchi]";
29 //      if (wedding_sign == 0) {
30 //              mes "Heh heh...";
31 //              mes "Look at that depressed face.";
32 //              mes "You must be feeling very lonely.";
33 //              mes "But that's something everyone";
34 //              mes "has to deal with.";
35 //              next;
36 //              mes "[Deviruchi]";
37 //              mes "If you feel that lonely,";
38 //              mes "how about raising a Pet?";
39 //              mes "I hear that my kind is very";
40 //              mes "popular nowadays, heh heh~";
41 //              close;
42 //      }
43 //      else 
44         if (!getpartnerid()) {
45                 mes "Bwah hah hah~!";
46                 mes "That look in your eyes~!";
47                 if (Sex == SEX_MALE) {
48                         mes "Those are definitely the eyes";
49                         mes "of a lonely male bachelor.";
50                         mes "I'm almost 100 percent sure";
51                         mes "you got ditched at the altar.";
52                 }
53                 else {
54                         mes "They're just filled with the";
55                         mes "pain of an old maid--!";
56                         mes "Couldn't rope some poor guy";
57                         mes "into marriage, huh?";
58                 }
59                 next;
60                 mes "[Deviruchi]";
61                 mes "HHAHAHAHA~!";
62                 mes "Oooooh...Hee hee~";
63                 mes "I'd be more sympathetic if,";
64                 mes "you know, I weren't a creature";
65                 mes "of darkness.";
66                 close;
67         }
68         mes "You look awfully depressed...";
69         mes "Lucky for you, I could care";
70         mes "less about happy people...";
71         mes "It's the humans in despair";
72         mes "that I take an interest in.";
73         mes "Hahahahahahah~!";
74         next;
75         mes "[Deviruchi]";
76         mes "I sense that you carry a";
77         mes "tiresome burden...";
78         mes "If I'm not wrong, you're";
79         if (Sex == SEX_MALE)
80                 mes "a married man, aren't you?";
81         else
82                 mes "a married woman, aren't you?";
83         next;
84         mes "[Deviruchi]";
85         mes "Let me ask you one thing.";
86         mes "Are you happy to be married?";
87         mes "Forget about responsibilities,";
88         mes "romance and all that other junk";
89         mes "for now.";
90         next;
91         mes "[Deviruchi]";
92         mes "I mean, can just one single";
93         mes "person really bring you all that";
94         mes "happiness? I know all about how";
95         mes "special weddings and the magic";
96         mes "of love is supposed to be, but...";
97         next;
98         mes "[Deviruchi]";
99         mes "At the end of the day, you and";
100         mes "your partner fight, and you feel";
101         mes "totally totally miserable.";
102         if (Sex == SEX_MALE)
103                 mes "...all because of HER.";
104         else
105                 mes "...all because of HIM.";
106         next;
107         mes "[Deviruchi]";
108         mes "Yes, it's your destiny to find me";
109         mes "here. We all make mistakes...";
110         mes "Even if you promised everlasting";
111         mes "love, even if you made a vow...";
112         mes "I can free you from that prison";
113         mes "of matrimony.";
114         next;
115         mes "[Deviruchi]";
116         mes "It's simple if you look at";
117         mes "marriage as a contract...a";
118         mes "contract that ends with 'till";
119         mes "death do we part.' Here in";
120         mes "Nifleheim, it's easy to use";
121         mes "that little loophole...";
122         next;
123         mes "[Deviruchi]";
124         mes "*whispers*";
125         mes "^555555It's not like you're breaking^000000";
126         if (Sex == SEX_MALE) {
127                 mes "^555555any promises, and it's not";
128                 mes "like your wife will care if she";
129                 mes "doesn't know... Don't you";
130                 mes "want to be freed from her?^000000";
131         }
132         else {
133                 mes "^555555any promises. Hell, your husband";
134                 mes "doesn't even have to know";
135                 mes "about it... you deserve";
136                 mes "real happiness, right?^000000";
137         }
138         next;
139         mes "[Deviruchi]";
140         mes "You can have a brand new love";
141         mes "with a better person...";
142         mes "Wouldn't that be great...?";
143         mes "I can help you if you want...";
144         mes "I can make all of this happen!";
145         next;
146         if (select("No thanks, I am happy.:Yes, please do.") == 1) {
147                 mes "[Deviruchi]";
148                 mes "Hmpf~! You must still be";
149                 mes "fascinated with the silly";
150                 mes "notion of eternal love. Well,";
151                 mes "if you think you're happy,";
152                 mes "then I'll have nothing";
153                 mes "to do with you--!";
154                 close2;
155                 warp "niflheim",169,162;
156                 end;
157         }
158         mes "[Deviruchi]";
159         mes "Good, good...";
160         mes "Now all you have to do is give";
161         mes "me what I want in exchange...";
162         mes "Just 2,500,000 zeny and...*cough!*";
163         mes "^666666An eensy piece of your soul.^000000";
164         next;
165         mes "[Deviruchi]";
166         mes "After that, it's the carefree";
167         mes "single's life. All you have to";
168         mes "do is say the word...";
169         next;
170         if (select("...Give me some time to think.:Any price will do, give me a divorce right now!") == 1) {
171                 mes "[Deviruchi]";
172                 mes "I understand. But if you think";
173                 mes "about anything, think about";
174                 if (Sex == SEX_MALE) {
175                         mes "your wife's nagging, and";
176                         mes "how great it would be to";
177                         mes "finally free yourself of the";
178                         mes "old ball and chain~";
179                 }
180                 else {
181                         mes "how horrible your husband is,";
182                         mes "and what a relief it would";
183                         mes "be to be rid of that crumbum~";
184                 }
185                 close;
186         }
187         mes "[Deviruchi]";
188         if (Zeny > 2499999) {
189                 mes "Excellent choice~";
190                 mes "Let's get started right";
191                 mes "away! This may take some";
192                 mes "time, but it's better than";
193                 mes "being hopelessly married";
194                 mes "^FF0000for the rest of your life.^000000";
195                 next;
196                 specialeffect EF_MAGICROD;
197                 specialeffect2 EF_DEVIL;
198                 set wedding_sign,0;
199                 set Zeny, Zeny-2500000;
200                 percentheal -100,-100;
201                 divorce;
202                 mes "[Deviruchi]";
203                 mes "Bwahhahahaha~!";
204                 mes "Now you're free~!";
205                 mes "Don't you feel so much";
206                 mes "better now as a single?";
207                 mes "Ah, bachelorhood...";
208                 close;
209         }
210         mes "Hmmm...I did tell you to bring";
211         mes "2,500,000 zeny, right?";
212         mes "No one else in this world can";
213         mes "offer this kind of freedom...";
214         mes "You can't put a price on";
215         mes "peace of mind, can you?";
216         close;
217 }