summaryrefslogtreecommitdiff
path: root/npc/other
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 19:58:04 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-20 19:58:04 +0000
commit1873f00935e96730fdb52ca357ffbd2311d79bec (patch)
tree1cd37b2159f8d25ec4559456e789203c841060c6 /npc/other
parent0822199f38915337bf0f59f4e0cb8818b2688fab (diff)
downloadhercules-1873f00935e96730fdb52ca357ffbd2311d79bec.tar.gz
hercules-1873f00935e96730fdb52ca357ffbd2311d79bec.tar.bz2
hercules-1873f00935e96730fdb52ca357ffbd2311d79bec.tar.xz
hercules-1873f00935e96730fdb52ca357ffbd2311d79bec.zip
Fixed samesex marriages
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@677 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/other')
-rw-r--r--npc/other/wedding.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/other/wedding.txt b/npc/other/wedding.txt
index 48c69dd38..97e45f9f9 100644
--- a/npc/other/wedding.txt
+++ b/npc/other/wedding.txt
@@ -72,7 +72,8 @@ L_GroomCeremony:
mes "[Tristan the Third]";
mes "Please tell your wife to speak to me, and then we will start exchanging rings";
delitem 2613,1;//Items: Diamond_Ring,
- getitem 2635,1;//Items: Wedding_Ring_F,
+ if (sex == 0) getitem 2635,1;//Items: Wedding_Ring_F,
+ if (sex == 1) getitem 2634,1;//Items: Wedding_Ring_M,
set @get_ring,1;
next;
mes "[Tristan the Third]";
@@ -107,7 +108,8 @@ L_BrideCeremony:
deltimer "weddinglimit2";
marriage $name$;
delitem 2613,1;//Items: Diamond_Ring,
- getitem 2634,1;//Items: Wedding_Ring_M,
+ if (sex == 0) getitem 2635,1;//Items: Wedding_Ring_F,
+ if (sex == 1) getitem 2634,1;//Items: Wedding_Ring_M,
set @get_ring,1;
close;
L_CancelWedding: