From 528ab2715b568cb940a4e0054066b05edd4fac67 Mon Sep 17 00:00:00 2001 From: wushin Date: Mon, 16 Feb 2015 22:03:15 -0600 Subject: Hercules: tmw convertor: Fix Marriage and Sex change conversion --- hercules/code/server/tmw/npcs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hercules') diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py index 8f26197..dae9b00 100644 --- a/hercules/code/server/tmw/npcs.py +++ b/hercules/code/server/tmw/npcs.py @@ -300,6 +300,7 @@ def processStrReplace(tracker): ("sc_poison", "SC_POISON"), ("sc_slowpoison", "SC_SLOWPOISON"), ("countitem(", "countitemcolor("), + ("sex", "Sex"), (".gat", ""), ("Bugleg", "BugLeg"), @@ -309,6 +310,8 @@ def processStrReplace(tracker): ("goto_Exit;", "goto L_Exit;"), ("if @spants_state < 7 goto", "if(@spants_state < 7) goto"), ("isdead()", "ispcdead()"), + ("changeSex", "changecharsex()"), + ("getpartnerid2()", "getpartnerid()"), ("getmap()", "getmapname()"), ("L_end", "L_End"), @@ -366,7 +369,6 @@ def processStrReplace(tracker): ("@menuID", "@menuid"), ("L_NO_ITEM", "L_No_Item"), ("L_HELP", "L_Help"), - ("sex", "Sex"), ("L_Noitem", "L_NoItem"), ("L_No_fur", "L_No_Fur"), ("@EXP", "@Exp"), -- cgit v1.2.3-60-g2f50