summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-16 22:03:15 -0600
committerwushin <pasekei@gmail.com>2015-02-17 00:11:28 -0600
commit528ab2715b568cb940a4e0054066b05edd4fac67 (patch)
treed23a02f69757967477cb8f84394f8e34e90b5d4e
parent7b35af2e20b7b6eb7fa6086f5b621e900131a583 (diff)
downloadevol-tools-528ab2715b568cb940a4e0054066b05edd4fac67.tar.gz
evol-tools-528ab2715b568cb940a4e0054066b05edd4fac67.tar.bz2
evol-tools-528ab2715b568cb940a4e0054066b05edd4fac67.tar.xz
evol-tools-528ab2715b568cb940a4e0054066b05edd4fac67.zip
Hercules: tmw convertor: Fix Marriage and Sex change conversion
-rw-r--r--hercules/code/server/tmw/npcs.py4
1 files changed, 3 insertions, 1 deletions
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"),