diff options
-rw-r--r-- | hercules/code/server/tmw/npcs.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/hercules/code/server/tmw/npcs.py b/hercules/code/server/tmw/npcs.py index 747a507..14e3e5c 100644 --- a/hercules/code/server/tmw/npcs.py +++ b/hercules/code/server/tmw/npcs.py @@ -301,6 +301,8 @@ def processStrReplace(tracker): line = line.replace("set BugLeg, 0;", "//set BugLeg, 0;") line = line.replace("set CaveSnakeLamp, 0;", "//set CaveSnakeLamp, 0;") line = line.replace("set Class, @BaseClass;", "//set Class, @BaseClass;") + line = line.replace("goto_Exit;", "goto L_Exit;") + line = line.replace("if @spants_state < 7 goto", "if(@spants_state < 7) goto") line = line.replace("getmap()", "getmapname()") line = line.replace("L_end", "L_End") @@ -313,6 +315,23 @@ def processStrReplace(tracker): line = line.replace("L_main", "L_Main") line = line.replace("L_next", "L_Next") line = line.replace("L_close", "L_Close") + line = line.replace("@NpcName$", "@npcname$") + line = line.replace("@cost", "@Cost") + line = line.replace("@TEMP", "@temp") + line = line.replace("L_Menuitems", "L_MenuItems") + line = line.replace("L_no_item", "L_No_Item") + line = line.replace("L_no_water", "L_No_Water") + line = line.replace("L_NOT_ENOUGH", "L_No_Water") + line = line.replace("L_bye", "L_Bye") + line = line.replace("L_NOHELP", "L_NoHelp") + line = line.replace("L_Eyepatch", "L_EyePatch") + line = line.replace("@PC_STAMINA", "@pc_stamina") + line = line.replace("L_magic", "L_Magic") + line = line.replace("L_cont", "L_Cont") + line = line.replace("L_accept", "L_Accept") + line = line.replace("L_no_event", "L_No_Event") + line = line.replace("L_event_done", "L_Event_Done") + line = line.replace("L_nobeer", "L_NoBeer") # fix at same time usage with same name function and variable line = line.replace("\"DailyQuestPoints\"", "\"DailyQuestPointsFunc\"") |