1 //===== rAthena Script =======================================
2 //= Divorcing Deviruchi
3 //===== By: ==================================================
4 //= Perkka, Scriptor, LightFighter
6 //===== Current Version: =====================================
8 //===== Compatible With: =====================================
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 //============================================================
27 nif_in,190,112,5 script Deviruchi#divorce 738,{
29 // if (wedding_sign == 0) {
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.";
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~";
44 if (!getpartnerid()) {
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.";
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?";
62 mes "Oooooh...Hee hee~";
63 mes "I'd be more sympathetic if,";
64 mes "you know, I weren't a creature";
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~!";
76 mes "I sense that you carry a";
77 mes "tiresome burden...";
78 mes "If I'm not wrong, you're";
80 mes "a married man, aren't you?";
82 mes "a married woman, aren't you?";
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";
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...";
99 mes "At the end of the day, you and";
100 mes "your partner fight, and you feel";
101 mes "totally totally miserable.";
103 mes "...all because of HER.";
105 mes "...all because of HIM.";
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";
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...";
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";
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";
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!";
146 if (select("No thanks, I am happy.:Yes, please do.") == 1) {
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--!";
155 warp "niflheim",169,162;
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";
166 mes "After that, it's the carefree";
167 mes "single's life. All you have to";
168 mes "do is say the word...";
170 if (select("...Give me some time to think.:Any price will do, give me a divorce right now!") == 1) {
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~";
181 mes "how horrible your husband is,";
182 mes "and what a relief it would";
183 mes "be to be rid of that crumbum~";
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";
196 specialeffect EF_MAGICROD;
197 specialeffect2 EF_DEVIL;
199 set Zeny, Zeny-2500000;
200 percentheal -100,-100;
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...";
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?";