summaryrefslogtreecommitdiff
path: root/npc/other/marriage.txt
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2013-10-24 09:27:15 -0700
committershennetsind <shennetsind@users.noreply.github.com>2013-10-24 09:27:15 -0700
commit418dd821c91ae19723a7b7b531e64b9c4565d555 (patch)
treeb361a1823a08e654e5969dcdea97da05f4f7cd90 /npc/other/marriage.txt
parent835d55b07858202198564bc6c2ff0888a7f78d31 (diff)
parente3afdc2af4c5e50c79237ee092e25f39b7428e47 (diff)
downloadhercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.gz
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.bz2
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.tar.xz
hercules-418dd821c91ae19723a7b7b531e64b9c4565d555.zip
Merge pull request #201 from Michieru/master
Super-Mega Thanks to Michieru! NPC Changelog (might be incomplete, did my best) - npc/battleground/bg_common.txt -- 1.4 Added GM management function. [Euphy] - npc/battleground/flavius/flavius01.txt -- 1.4 Label standardization. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/battleground/flavius/flavius02.txt -- 1.5 Label standardization. [Euphy] -- 1.6 Added GM management function. [Euphy] - npc/battleground/tierra/tierra01.txt -- 1.4 Label standardization. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/battleground/tierra/tierra02.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/cities/ayothaya.txt -- 1.9 Updated Renewal warp coordinates. - npc/cities/izlude.txt -- 1.9a A part of Kylick's dialogue is Pre-Renewal only. [Euphy] - npc/cities/yuno.txt -- 1.5 Added Renewal coordinates for Payon and Izlude. [Euphy] - npc/events/bossnia.txt -- 1.2 Moved spawns and warps (by Masao) to this file. [Euphy] - npc/events/easter_2010.txt -- 1.0 First version. [Euphy] - npc/events/gdevent_aru.txt -- 1.2 Added GM management function. [Euphy] - npc/events/gdevent_sch.txt -- 1.2 Added GM management function. [Euphy] - npc/events/god_se_festival.txt -- 1.1 Added GM management function. [Euphy] - npc/jobs/2-2/rogue.txt -- impossible get a Gladius [3]. (bugreport:481) [Samuray22] - npc/jobs/2-2e/SoulLinker.txt -- 1.6 Updated to match the latest official script. [Euphy] - npc/kafras/kafras.txt -- 1.1a Fixed Pre-RE Call and some leftovers. [Lemongrass] -- 1.1b Enabled saving in Izlude duplicates (RE). [Euphy] - npc/merchants/alchemist.txt -- 1.8 Moved Craft Book Merchant to Renewal path. [Euphy] - npc/mobs/citycleaners.txt -- 1.2 Split spawns into Pre-RE/RE and Town files. [Euphy] - npc/mobs/towns.txt -- 1.0 First version. - npc/other/Global_Functions.txt -- 2.17 Renamed 'F_RandMes' to 'F_Rand'. [Euphy] -- 2.18 Removed useless 'getJobName' function. [Euphy] - npc/other/acolyte_warp.txt -- 1.0 First version. [Euphy] - npc/other/arena/arena_aco.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Script updates, and removed two level restrictions. [Euphy] -- 1.5 Added GM management function. [Euphy] - npc/other/arena/arena_lvl50.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates. [Euphy] - npc/other/arena/arena_lvl60.txt -- 1.3 Label standardization. [Euphy] -- 1.4 Script updates. [Euphy] - npc/other/arena/arena_lvl70.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates. [Euphy] - npc/other/arena/arena_lvl80.txt -- 1.2 Label standardization. [Euphy] -- 1.3 Script updates, and removed a level restriction. [Euphy] - npc/other/arena/arena_party.txt -- 1.4 Label standardization and bug fixes. [Euphy] -- 1.5 Script updates, and removed a level restriction. [Euphy] - npc/other/arena/arena_room.txt -- 1.2 Label standardization, disabled GM NPCs. [Euphy] -- 1.2a Added Renewal level checksk. [Euphy] -- 1.3 Script updates. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/other/hugel_bingo.txt -- 1.9 Some optimization/standardization. [Euphy] - npc/other/marriage.txt -- 1.3 Changed permanent global variables to temporary ones. [Euphy] -- 1.4 Added GM management function. [Euphy] - npc/other/pvp.txt -- 2.4 Fixed incorrect use of 'close' and some cleaning. [Joseph] -- 2.5 Renewal/Pre-Renewal split. [Euphy] - npc/other/turbo_track.txt -- 1.1 Updated RE/Pre-RE EXP. [Euphy] -- 1.2 Added Renewal features. [Euphy] - npc/pre-re/cities/yuno.txt -- 1.0 First version. - npc/pre-re/kafras/kafras.txt -- 1.0 First version. - npc/pre-re/merchants/ammo_boxes.txt -- 1.0 First version, Pre-Renewal duplicates. - npc/pre-re/merchants/ammo_dealer.txt -- 1.0 First version, Pre-Renewal duplicates. - npc/pre-re/merchants/shops.txt -- 1.1 Moved Izlude shops to pre-re/re paths. [Streusel] - npc/pre-re/mobs/citycleaners.txt -- 1.0 First version, Pre-Renewal spawns. - npc/pre-re/other/bulletin_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE/RE paths. - npc/pre-re/other/msg_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE path. - npc/pre-re/other/pvp.txt -- 1.0 First version, Pre-Renewal. - npc/pre-re/other/resetskill.txt -- 1.0 First version. [L0ne_W0lf] - npc/pre-re/other/turbo_track.txt -- 1.0 Split Peco Peco Manager NPC. - npc/pre-re/quests/first_class/tu_archer.txt -- 1.0 First version. [Euphy] - npc/pre-re/quests/monstertamers.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. - npc/pre-re/quests/quests_13_1.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. [Euphy] - npc/pre-re/quests/quests_nameless.txt -- 1.0 Moved Dorian to pre-re/re paths. - npc/pre-re/quests/quests_veins.txt -- 1.0 First version. - npc/pre-re/warps/other/arena.txt -- 1.0 First version, Pre-Renewal warps. - npc/quests/dandelion_request.txt -- 1.3 Added GM management function. [Euphy] - npc/quests/eye_of_hellion.txt -- 2.0 Updated EXP rewards. -- 2.1 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/first_class/tu_archer.txt -- 1.1 optimized [Lupus] -- 1.2 fixed Weight check - npc/quests/first_class/tu_magician01.txt -- 1.4 Updated to match the official script. [Euphy] - npc/quests/first_class/tu_merchant.txt -- 1.1 Fixed bugs, optimized [Lupus] -- 1.2 fixed Weight check - npc/quests/first_class/tu_sword.txt -- 1.5 Added Renewal Izlude coordinates. -- 1.6 Added Pre-Renewal support. [Euphy] - npc/quests/first_class/tu_thief01.txt -- 1.5 Added Pre-Renewal support. [Euphy] - npc/quests/mage_solution.txt -- 1.0 Split from Pre-Renewal Mage job quest. [Zopokx] - npc/quests/okolnir.txt -- 1.1 Some bug fixes. [Toshiro90/Euphy] - npc/quests/partyrelay.txt -- 1.2 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/quests_13_1.txt -- 3.1 Updated RE/Pre-RE EXP. [Euphy] -- 3.2 Updated ep13_start and dialog to match official script. [Joseph] -- 3.3 Updated to match the latest official script. [Euphy] -- 3.3a Added Izlude RE coordinates. [Euphy] -- 3.4 Added GM management function and NPC. [Euphy] - npc/quests/quests_alberta.txt -- 2.6 Updated RE/Pre-RE EXP. [Euphy] - npc/quests/quests_amatsu.txt -- 1.5 Added questlog support. [Euphy] - npc/quests/quests_geffen.txt -- 1.5 Added Number Match Game. [Euphy] - npc/quests/quests_juperos.txt -- 1.8 Updated RE/Pre-RE EXP. [Euphy] -- 1.9 Added GM management NPC. [Euphy] - npc/quests/quests_niflheim.txt -- Updated to Aegis 10.3 Standed, added Message Delivery Quest. -- 1.6 Added questlog support. [Euphy] - npc/quests/quests_veins.txt -- Added Veins Thor Volcano Base Quest NPC. [L0ne_W0lf] - npc/quests/seals/god_global.txt -- 1.2 Renewal script update. [Euphy] - npc/quests/seals/god_weapon_creation.txt -- 1.3 Renewal script update. [Euphy] - npc/quests/seals/seal_status.txt -- 1.0 Translated from the official. [L0ne_W0lf] -- 1.1 Now checks proper char vars. [L0ne_W0lf] -- 1.2 Cleaning. [Euphy] -- 1.3 Renewal script update. [Euphy] - npc/quests/seals/sleipnir_seal.txt -- 1.4 Renewal script update. [Euphy] - npc/quests/skills/novice_skills.txt -- 1.8 Added Baby support. [Zopokx] - npc/quests/skills/rogue_skills.txt -- 1.8 Some cleaning. [Euphy] - npc/quests/skills/sage_skills.txt -- 1.5 Optimized. [Euphy] - npc/re/airports/izlude.txt -- 1.0 Updated to match the new Izlude Map. [Masao] -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/cities/dicastes.txt -- 1.3 Updated to match official script. [SkittleNugget] - npc/re/cities/izlude.txt -- 1.1 Updated to match the official script. [Euphy] -- 1.2 Added Channel Warper and Izlude duplicates. [Euphy] - npc/re/cities/jawaii.txt -- 1.1 Moved "Honeymoon Helper" NPC. -- 1.2 Added Izlude duplicates. [Euphy] - npc/re/cities/malangdo.txt -- 1.2 Moved "Odgnalam" coordinates. -- 1.3 Fixed dialogues. -- 1.4 Dialogue edits, source iRO. -- 1.5 Added Izlude duplicates. - npc/re/cities/malaya.txt -- 0.1 Alberta sailors only. [Euphy] -- 0.2 Adapted from Masao's conversion. -- 1.0 Added remaining NPCs. - npc/re/cities/yuno.txt -- 1.0 First version. - npc/re/guides/guides_alberta.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_aldebaran.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_amatsu.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_ayothaya.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_brasilis.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_comodo.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_dewata.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_dicastes.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_einbroch.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_geffen.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_gonryun.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_hugel.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_izlude.txt -- 1.2 Added Renewal Izlude viewpoint coordinates. -- 1.3 Navigation system update. [Euphy] -- 1.4 Added Izlude duplicates. [Euphy] - npc/re/guides/guides_juno.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_lighthalzen.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_louyang.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_lutie.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_malaya.txt -- 1.0 First version. [Euphy] -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_mora.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_morroc.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_moscovia.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_niflheim.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_payon.txt -- 1.2 Navigation system update. [Euphy] - npc/re/guides/guides_prontera.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_rachel.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_umbala.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/guides_veins.txt -- 1.1 Navigation system update. [Euphy] - npc/re/guides/navigation.txt -- 1.0 First version. - npc/re/guild/invest_main.txt -- 1.1 Added GM management function. [Euphy] - npc/re/jobs/3-1/guillotine_cross.txt -- 1.4 Added missing labels. [Joseph] -- 1.5 Added GM management function. [Euphy] - npc/re/jobs/3-2/royal_guard.txt -- 1.2 Added GM management function. [Euphy] - npc/re/jobs/3-2/sura.txt -- 1.3 Added GM management function. [Euphy] - npc/re/jobs/novice/novice.txt -- 1.0 First version, hand scripted from iRO. [Kisuka] -- 1.5 Replaced with the official kRO scripts. [Euphy] - npc/re/jobs/repair.txt -- 1.0 First version. -- 1.1 Added GM management function. [Euphy] - npc/re/kafras/kafras.txt -- 1.2 Added Port Malaya Kafras. [Euphy] -- 1.3 Added Eden Group Kafra. [Euphy] -- 1.3a Moved Rune Knight Kafra from job file. [Euphy] -- 1.4 Added Izlude duplicates. [Euphy] - npc/re/merchants/3rd_trader.txt -- 1.3 Added Malangdo/Mora Points NPC. [Euphy] -- 1.4 Updated to match the official scripts. [Euphy] -- 1.5 Added Izlude duplicates. [Euphy] - npc/re/merchants/advanced_refiner.txt -- 1.0 Added Malangdo Refiner "Holink". [Euphy] - npc/re/merchants/alchemist.txt -- 1.0 Split Geneticist shop from main file. [Euphy] - npc/re/merchants/ammo_boxes.txt -- 1.0 First version, Renewal duplicates. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/merchants/ammo_dealer.txt -- 1.0 First version, Renewal duplicates. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/merchants/card_separation.txt -- 1.1 Added "Richard" NPC. [Euphy] - npc/re/merchants/enchan_mora.txt -- 1.2 Bug fixes (bugreport:7930) [DeadlySilence] - npc/re/merchants/enchan_upg.txt -- 1.0 First version. -- 1.1 Standardizing, grammar and bug fixes. [Euphy] - npc/re/merchants/flute.txt -- 1.2a Fixed some conditions. [Euphy] - npc/re/merchants/renters.txt -- 2.2 Updated to match the official scripts. [Euphy] - npc/re/merchants/shops.txt -- 1.7 Added Izlude duplicates. [Euphy] - npc/re/mobs/citycleaners.txt -- 1.0 First version, Renewal spawns. - npc/re/mobs/dungeons/ecl_tdun.txt -- 1.0 First version. [Euphy] - npc/re/mobs/dungeons/mal_dun.txt -- 1.2 Added Pouring spawn, source iRO. [Euphy] - npc/re/mobs/fields/eclage.txt -- 1.0 First version. [Euphy] - npc/re/mobs/towns.txt -- 1.0 First version, Renewal spawns. - npc/re/other/bulletin_boards.txt -- 1.0 Moved Izlude NPCs to Pre-RE/RE paths. - npc/re/other/item_merge.txt -- 1.0 First version, currently useless/disabled. - npc/re/other/mail.txt -- 1.0 First version, Renewal duplicates. - npc/re/other/mercenary_rent.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/other/pvp.txt -- 1.0 First version, Renewal. - npc/re/other/resetskill.txt -- 1.0 First version, Renewal script. -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/other/stone_change.txt -- 1.0 First version. - npc/re/other/turbo_track.txt -- 1.0 Split Mount Manager NPC. - npc/re/quests/eden/71-85.txt -- 1.3 Updated to match the official scripts. [Euphy] - npc/re/quests/eden/eden_iro.txt -- 1.0 First version. -- 1.1 Edited and added more NPCs, lots of placeholders. [Euphy] - npc/re/quests/eden/eden_quests.txt -- 1.5 Added GM management function. [Euphy] - npc/re/quests/first_class/tu_archer.txt -- 1.0 First version. [Euphy] - npc/re/quests/homun_s.txt -- Genetic quest to mutate a level 99 evolved Homunculus -- 1.0 First Version, entirely custom. [Masao] - npc/re/quests/magic_books.txt -- 1.1 Optimized. [Euphy] -- 1.1a Updated NPC name to "Master Velofos". [Euphy] - npc/re/quests/monstertamers.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. - npc/re/quests/mrsmile.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_13_1.txt -- 1.0 Moved Izlude NPC to pre-re/re paths. [Euphy] -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_izlude.txt -- 1.1 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_lighthalzen.txt -- 1.2 Added Izlude duplicates. [Euphy] - npc/re/quests/quests_malangdo.txt -- 1.4a Dialogue edits, source iRO. -- 1.5 Added Cat Gamers. -- 1.6 Added GM management function. - npc/re/quests/quests_malaya.txt -- 0.4 Added "Cautious Village" and subsequent quests [DeadlySilence] -- 0.5 Added "Bakonawa Extermination" quest. [Euphy] -- 1.0 Added "Nurse in Port Malaya" and "Pintados Festival" quests. [Euphy] -- 1.1 Added GM management function and NPC. [Euphy] - npc/re/quests/quests_mora.txt -- 1.1 Added GM management function and NPCs. [Euphy] - npc/re/quests/quests_morocc.txt -- 1.1 Added new warpers for Satan Morroc maps. [Euphy] - npc/re/quests/quests_nameless.txt -- 1.0 Moved Dorian to pre-re/re paths. - npc/re/warps/cities/eclage.txt -- 1.0a Disabled quest warp. [Euphy] - npc/re/warps/cities/izlude.txt -- 1.7 Updated to match the official scripts. [Euphy] -- 1.8 Added Izlude & Prontera Field 8 duplicates. [Euphy] - npc/re/warps/cities/malaya.txt -- 1.1 Updated to match official scripts. [Masao] -- 1.2 Added official Jeepney warp scripts. [Euphy] - npc/re/warps/fields/prontera_fild.txt -- 1.3a Moved Izlude warp to other file. [Euphy] -- 1.4 Commented moc_fild20 warps replaced with new NPCs. [Euphy] -- 1.5 Added Prontera Field 8 duplicates. [Euphy] - npc/re/warps/other/arena.txt -- 1.0 First version, Renewal warps. - npc/re/warps/other/jobquests.txt -- 2.3 Added exit warps (job_exit) for 2nd class quests. [Euphy] - npc/warps/fields/glastheim.txt -- 1.5 Fixed random warp coordinates. [Euphy] - npc/warps/other/arena.txt -- 1.3 Split Izlude warps into Pre-Renewal/Renewal paths. [Euphy] -- 1.4 Added GM management function. [Euphy]
Diffstat (limited to 'npc/other/marriage.txt')
-rw-r--r--npc/other/marriage.txt273
1 files changed, 210 insertions, 63 deletions
diff --git a/npc/other/marriage.txt b/npc/other/marriage.txt
index 59771c077..88dcabad7 100644
--- a/npc/other/marriage.txt
+++ b/npc/other/marriage.txt
@@ -1,22 +1,25 @@
//===== Hercules Script ======================================
//= Player Marriage
-//===== By: ==================================================
+//===== By: ==================================================
//= L0ne_W0lf
-//===== Current Version: =====================================
-//= 1.2
-//===== Description: =========================================
-//= [Aegis Conversion]
+//===== Current Version: =====================================
+//= 1.4
+//===== Description: =========================================
+//= [Official Conversion]
//= Official Marriage script.
//= Added isloggedin() check, even though Aegis doesn't do it.
-//= Currently does not support same-sex marriages.
+//= Currently does not support same-Sex marriages.
//= Old script located in: npc/custom/marriage.txt
//= - Variable in use: wedding_sign (max 1)
-//= - Variable in use: $Wedding (max 1)
-//= - Variab;e in use: $wed_groom$ $wed_bride$
-//===== Additional Comments: =================================
+//= - Variable in use: $@wedding (max 1)
+//= - Variable in use: $@wed_groom$ $@wed_bride$
+//===== Additional Comments: =================================
//= 1.0 First version. [L0ne_W0lf]
//= 1.1 Fixed a missing ")" [L0ne_W0lf]
//= 1.2 Corrected duration of Wedding status. [L0ne_W0lf]
+//= 1.3 Changed permanent global variables to temporary ones. [Euphy]
+//= Added GM NPCs (commented).
+//= 1.4 Added GM management function. [Euphy]
//============================================================
prt_church,97,100,4 script Wedding Staff#w 71,{
@@ -179,7 +182,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
case 3:
cutin "wedding_marry02",2;
- if (sex) {
+ if (Sex) {
mes "[Marry Happy]";
mes "So you'd like to get married?";
mes "As a groom, you need to prepare";
@@ -254,8 +257,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
mes "back after you find it, okay?";
goto L_End;
}
- else if (sex) {
- if (zeny < 1300000) {
+ else if (Sex) {
+ if (Zeny < 1300000) {
mes "[Marry Happy]";
mes "I'm sorry, but you don't";
mes "have the 1,300,000 zeny";
@@ -275,8 +278,8 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
goto L_End;
}
}
- else if (sex == 0) {
- if (zeny < 1200000) {
+ else if (Sex == 0) {
+ if (Zeny < 1200000) {
mes "[Marry Happy]";
mes "I'm sorry, but all brides";
mes "must pay the 1,200,000";
@@ -338,17 +341,17 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
mes "process, both of you should";
mes "speak to the Bishop to begin";
mes "the wedding ceremony.";
- Emotion e_lv;
+ emotion e_lv;
next;
mes "[Marry Happy]";
- if (sex) {
+ if (Sex) {
mes "Since you're the groom,";
mes "you need to speak to the";
mes "Bishop first. When you're";
mes "finished, it will be your";
mes "bride's turn to speak to";
mes "Bishop Vomars.";
- set zeny,zeny-1300000;
+ set Zeny, Zeny-1300000;
delitem 7170,1; //Tuxedo
}
else {
@@ -358,7 +361,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
mes "Vomars first. When he's";
mes "finished, it'll be your turn";
mes "to speak to Bishop Vomars.";
- set zeny,zeny-1200000;
+ set Zeny, Zeny-1200000;
delitem 2338,1; //Wedding_Dress
}
delitem 2613,1; //Diamond_Ring
@@ -382,7 +385,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
donpcevent "Single Army#Payon::OnEnable";
donpcevent "Single Army#Amatsu::OnEnable";
donpcevent "Single Army#Gonryun::OnEnable";
- Emotion e_omg;
+ emotion e_omg;
mes "[Single Army]";
mes "^CC9933You have to refine";
mes "items on your own to";
@@ -422,7 +425,7 @@ prt_church,97,100,4 script Wedding Staff#w 71,{
emotion e_rock,0,"Single Army#Gonryun";
close2;
cutin "wedding_marry01",255;
- Emotion e_swt;
+ emotion e_swt;
donpcevent "Single Army#Prontera::OnInit";
donpcevent "Single Army#Geffen::OnInit";
donpcevent "Single Army#Morocc::OnInit";
@@ -559,13 +562,13 @@ prt_church,100,128,4 script Bishop#w 60,{
}
if (!getpartnerid()) {
- if (!$wedding) {
+ if (!$@wedding) {
if (wedding_sign == 1) {
getpartymember(getcharid(1));
set .@partymembercount,$@partymembercount;
if (.@partymembercount == 2) {
- if (sex) {
- set $wedding,1;
+ if (Sex) {
+ set $@wedding,1;
initnpctimer;
mes "[Vomars]";
mes "Young lovers, please";
@@ -583,23 +586,23 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "her and protect her. Now, may";
mes "I know the name of your bride?";
next;
- input $wed_bride$;
+ input $@wed_bride$;
mes "[Vomars]";
mes "Mr. " + strcharinfo(0) + "...";
mes "Do you swear on your life";
mes "that you will forever cherish";
mes "and care for your bride,";
- mes "Miss " + $wed_bride$ + "?";
+ mes "Miss " + $@wed_bride$ + "?";
next;
select("I do.");
- set $wed_groom$,strcharinfo(0);
+ set $@wed_groom$,strcharinfo(0);
mes "[Vomars]";
mes "Now, it is time for";
mes "your bride to make";
mes "her wedding vows.";
mes "If she will come forward...";
close2;
- mapannounce "prt_church","The groom, Mr. " + strcharinfo(0) + ", has made his vows to Miss " + $wed_bride$ + "...",bc_map;
+ mapannounce "prt_church","The groom, Mr. " + strcharinfo(0) + ", has made his vows to Miss " + $@wed_bride$ + "...",bc_map;
cutin "",255;
end;
}
@@ -630,13 +633,13 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "to prepare for marriage.";
goto L_End;
}
- else if ($wedding == 1) {
+ else if ($@wedding == 1) {
if (wedding_sign == 1) {
getpartymember(getcharid(1));
set .@partymembercount,$@partymembercount;
if (.@partymembercount == 2) {
- if (sex == 0) {
- if (strcharinfo(0) == $wed_bride$) {
+ if (Sex == 0) {
+ if (strcharinfo(0) == $@wed_bride$) {
mes "[Vomars]";
mes "Young lovers, please";
mes "remember this moment for";
@@ -644,11 +647,11 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "and joy. May the love you share";
mes "grow with each passing day.";
next;
- mapannounce "prt_church","Let's hear what the bride, Miss "+$wed_bride$+", has to say...",bc_map;
+ mapannounce "prt_church","Let's hear what the bride, Miss "+$@wed_bride$+", has to say...",bc_map;
mes "[Vomars]";
- mes "Miss "+$wed_bride$+"...";
+ mes "Miss "+$@wed_bride$+"...";
mes "Do you swear to stay";
- mes "true to "+$wed_groom$+",";
+ mes "true to "+$@wed_groom$+",";
mes "to be by his side, no matter";
mes "what the dangers may be?";
next;
@@ -656,12 +659,12 @@ prt_church,100,128,4 script Bishop#w 60,{
cutin "wedding_bomars03",2;
mapannounce "prt_church","Next couple, please proceed...",bc_map;
mes "[Vomars]";
- mes "So "+$wed_groom$;
+ mes "So "+$@wed_groom$;
mes "isn't the one you";
mes "want to marry? Hmm.";
mes "I'm truly sorry for this";
mes "misunderstanding...";
- set $wedding,0;
+ set $@wedding,0;
close2;
stopnpctimer;
cutin "",255;
@@ -670,25 +673,25 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "[Vomars]";
mes "Do you truly swear";
mes "fidelity and patience?";
- mes "Will you marry "+$wed_groom$+"?";
+ mes "Will you marry "+$@wed_groom$+"?";
next;
if (select("Yes, I do.:^FF0000No.^000000") == 1) {
- if (isloggedin(getcharid(3,$wed_groom$))) {
- if (marriage($wed_groom$)) {
+ if (isloggedin(getcharid(3,$@wed_groom$))) {
+ if (marriage($@wed_groom$)) {
//Call Wedding effect
wedding;
//Give ring to Bride, and change to wedding sprite.
sc_start SC_Wedding,3600000,1;
getitem 2635,1; //Bride_Ring
//Give ring to Groom, and change to wedding sprite.
- attachrid(getcharid(3,$wed_groom$));
+ attachrid(getcharid(3,$@wed_groom$));
sc_start SC_Wedding,3600000,1;
getitem 2634,1; //Bridegroom_Ring
detachrid;
//Switch Script progression back to Bride
- attachrid(getcharid(3,$wed_bride$));
+ attachrid(getcharid(3,$@wed_bride$));
cutin "wedding_bomars02",2;
- mapannounce "prt_church","I now pronounce you, "+$wed_groom$+" and "+$wed_bride$+", husband and wife.",bc_map;
+ mapannounce "prt_church","I now pronounce you, "+$@wed_groom$+" and "+$@wed_bride$+", husband and wife.",bc_map;
mes "[Vomars]";
mes "By the power invested";
mes "in me as Royal Bishop of";
@@ -700,10 +703,10 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "[Vomars]";
mes "And lastly...";
mes "Always be happy,";
- mes "dear "+$wed_bride$+"...";
- set $wed_groom$,"";
- set $wed_bride$,"";
- set $wedding,0;
+ mes "dear "+$@wed_bride$+"...";
+ set $@wed_groom$,"";
+ set $@wed_bride$,"";
+ set $@wedding,0;
close2;
stopnpctimer;
cutin "",255;
@@ -722,7 +725,7 @@ prt_church,100,128,4 script Bishop#w 60,{
}
else {
cutin "wedding_bomars03",2;
- mapannounce "prt_church","Alas! "+$wed_bride$+" has rejected "+$wed_groom$+"'s marriage proposal!",bc_map;
+ mapannounce "prt_church","Alas! "+$@wed_bride$+" has rejected "+$@wed_groom$+"'s marriage proposal!",bc_map;
mes "[Vomars]";
mes "Hm. It seems that";
mes "you've changed your";
@@ -731,9 +734,9 @@ prt_church,100,128,4 script Bishop#w 60,{
mes "must do what your heart";
mes "tells you is right. Now, run!";
}
- set $wed_groom$,"";
- set $wed_bride$,"";
- set $wedding,0;
+ set $@wed_groom$,"";
+ set $@wed_bride$,"";
+ set $@wedding,0;
close2;
stopnpctimer;
cutin "",255;
@@ -745,7 +748,7 @@ prt_church,100,128,4 script Bishop#w 60,{
}
callsub S_Busy;
}
- if (strcharinfo(0) == $wed_bride$) {
+ if (strcharinfo(0) == $@wed_bride$) {
mes "[Vomars]";
mes "Hm? It appears that";
mes "Happy Marry still hasn't";
@@ -773,11 +776,11 @@ L_End:
end;
S_Busy:
- if ($wed_groom$ != "" && $wed_bride$ != "") {
+ if ($@wed_groom$ != "" && $@wed_bride$ != "") {
mes "[Vomars]";
mes "The wedding of";
- mes "Miss "+ $wed_bride$ +" and";
- mes "Mister "+ $wed_groom$;
+ mes "Miss "+ $@wed_bride$ +" and";
+ mes "Mister "+ $@wed_groom$;
mes "is currently in progress.";
mes "Please keep your voice down.";
goto L_End;
@@ -789,25 +792,169 @@ S_Busy:
mes "turn. Thanks for understanding... ^FFFFFF ^000000";
goto L_End;
-OnInit:
- set $wedding,0;
- end;
-
OnStop:
stopnpctimer;
end;
OnReset:
- set $wed_groom$,"";
- set $wed_bride$,"";
- set $wedding,0;
+ set $@wed_groom$,"";
+ set $@wed_bride$,"";
+ set $@wedding,0;
end;
OnTimer180000:
mapannounce "prt_church","You've responded too slowly... Next couple, please proceed.",bc_map;
- set $wed_groom$,"";
- set $wed_bride$,"";
- set $wedding,0;
+ donpcevent "Bishop#w::OnReset";
stopnpctimer;
end;
}
+
+prt_church,28,178,4 script The King of Midgart 108,{
+ callfunc "F_GM_NPC";
+ mes "[Vomars]";
+ mes "Wh-who are you?";
+ mes "You must know the";
+ mes "password to invoke";
+ mes "my awesome powers.";
+ next;
+ if (callfunc("F_GM_NPC",1854,0) < 1) {
+ mes "[Vomars]";
+ mes "This is";
+ mes "no place for";
+ mes "fooling around.";
+ close2;
+ warp "prt_church",101,102;
+ end;
+ }
+ mes "[Wedding Switch]";
+ mes "Is there a problem with";
+ mes "the wedding ceremony?";
+ mes "I can reset the Bishop";
+ mes "Vomars NPC if you like.";
+ next;
+ switch(select("No, thanks:RESET")) {
+ case 1:
+ mes "[Wedding Switch]";
+ mes "Alright, then.";
+ mes "However, if the";
+ mes "Bishop Vomars";
+ mes "NPC is stuck, it may";
+ mes "be best to reset it.";
+ close;
+ case 2:
+ donpcevent "Bishop#w::OnStop";
+ donpcevent "Bishop#w::OnReset";
+ mapannounce "prt_church","You've responded too slowly... Next couple, please proceed.",bc_map;
+ mes "[Wedding Switch]";
+ mes "The Bishop Vomars NPC";
+ mes "has now been reactivated.";
+ mes "It should now be possible";
+ mes "to proceed with weddings.";
+ close;
+ }
+}
+
+prt_church,20,179,4 script Divorce Staff 71,{
+ callfunc "F_GM_NPC";
+ mes "[Bad Ending]";
+ mes "Uh oh...";
+ mes "You know I can't";
+ mes "do anything for you.";
+ next;
+ if (callfunc("F_GM_NPC",1854,0) < 1) {
+ mes "[Bad Ending]";
+ mes "Hmm...";
+ mes "You really";
+ mes "shouldn't be";
+ mes "in this place...";
+ close;
+ }
+ mes "[Bad Ending]";
+ mes "Great, you know the";
+ mes "password! Now, did you";
+ mes "want me to remove the";
+ mes "Wedding Ring in your";
+ mes "inventory?";
+ next;
+ switch(select("Drop 1 Wedding Ring.:Keep it.")) {
+ case 1:
+ set .@ring, (Sex)?2634:2635; //Bridegroom_Ring, Bride_Ring
+ if (countitem(.@ring)) {
+ delitem .@ring,1;
+ mes "[Bad Ending]";
+ mes "It's done!";
+ } else {
+ mes "[Bad Ending]";
+ mes "I couldn't find";
+ mes "the Wedding Ring...";
+ mes "Please make sure";
+ mes "that it's not equipped.";
+ }
+ close;
+ case 2:
+ mes "[Bad Ending]";
+ mes "You sure you want";
+ mes "to keep that ring?";
+ mes "Alright, but if it becomes";
+ mes "a problem, you come to me.";
+ close;
+ }
+}
+
+prt_church,22,179,4 script Remarry Staff 71,{
+ callfunc "F_GM_NPC";
+ mes "[Wedding Again]";
+ mes "Hmm...?";
+ mes "What exactly are";
+ mes "you doing here?";
+ next;
+ if (callfunc("F_GM_NPC",1854,0) < 1) {
+ mes "[Wedding Again]";
+ mes "Ahk!";
+ mes "An adventurer";
+ mes "like you shouldn't";
+ mes "be in this place!";
+ close;
+ }
+ if (getpartnerid()) {
+ mes "[Wedding Again]";
+ mes "Hmm...";
+ mes "I can only create";
+ mes "a Wedding Ring if the";
+ mes "character is married.";
+ close;
+ }
+ mes "[Wedding Again]";
+ mes "Ah, I see that you";
+ mes "know the password.";
+ mes "Alright, if you somehow";
+ mes "lost your Wedding Ring,";
+ mes "I can make you a new one.";
+ next;
+ switch(select("Make new Wedding Ring.:Cancel.")) {
+ case 1:
+ set .@ring, (Sex)?2634:2635; //Bridegroom_Ring, Bride_Ring
+ if (countitem(.@ring) || isequipped(.@ring)) {
+ mes "[Wedding Again]";
+ mes "Wait, wait...";
+ mes "You're wearing your";
+ mes "Wedding Ring. I better";
+ mes "not make you another since";
+ mes "you don't need more than one.";
+ } else {
+ getitem .@ring,1;
+ mes "[Wedding Again]";
+ mes "Here you go~";
+ mes "It's your brand";
+ mes "new Wedding Ring!";
+ }
+ close;
+ case 2:
+ mes "[Wedding Again]";
+ mes "Alright. If you ever";
+ mes "lose your Wedding Ring,";
+ mes "come to me if you happen";
+ mes "to need a new one, okay?";
+ close;
+ }
+}