From 1873f00935e96730fdb52ca357ffbd2311d79bec Mon Sep 17 00:00:00 2001 From: amber Date: Mon, 20 Dec 2004 19:58:04 +0000 Subject: Fixed samesex marriages git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@677 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/other/wedding.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/other/wedding.txt') 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: -- cgit v1.2.3-70-g09d2