def remove_unused_sv_files(path, addons):
re_sv_filename = re.compile("^(.*)\.lua(?:.bak)?$")
for sv_file in listfiles(path):
match = re_sv_filename.match(sv_file)
if match:
addon_name = match.group(1)
if addon_name not in addons:
print "Removing " + os.path.join(path, sv_file)
os.remove(os.path.join(path, sv_file))
0
0
0
0
0
The localization file is attached.
0
Now this addon may for melee dders.
the file is here: http://www.cs.ccu.edu.tw/~hst95u/ItemBonusLib-1.0.lua
0