; Source script file for patcher:  http://www.ibsensoftware.com/download.html

colors  0xA0 0xD0 0xC0   0x00 0x00 0x40
title   "Нажмите PATCH для русификации миссии!"
dlgsize 50 8
print "Thief Fan-Mission  : Rogue's Honour \n"
print "Russian version by : DonSleza4e\n"
print "Visit our website  : http://darkfate.org\n"

start


;Open File
onerror goto error
print "- opening file .... "
open "miss15.mis"
print "done\n"



;Patch file
onerror goto done           ; when the search fails, goto done
print   "- patching file ... "

search  "Name_MagicWand: "
write   "Name_MagicWand  "
search  "Name_kfr: "
write   "Name_kfr  "
search  "Name_keyA: "
write   "Name_keyA  "
search  "Name_keyG: "
write   "Name_keyG  "
search  "Name_Goblet2: "
write   "Name_Goblet2  "
search  "Name_keyb: "
write   "Name_keyb  "
search  "Name_SubQuest: "
write   "Name_SubQuest  "
search  "Name_keyC: "
write   "Name_keyC  "
;double
search  "Name_keyC: "
write   "Name_keyC  "
search  "Name_keyhea: "
write   "Name_keyhea  "
search  "Name_keyw: "
write   "Name_keyw  "
search  "Name_MainQuest: "
write   "Name_MainQuest  "
;double
search  "Name_keyhea: "
write   "Name_keyhea  "
search  "Name_Killer: "
write   "Name_Killer  "
;double
search  "Name_keyA: "
write   "Name_keyA  "
search  "Name_kRoom: "
write   "Name_kRoom  "
search  "Name_CHammer: "
write   "Name_CHammer  "
;triple
search  "Name_keyA: "
write   "Name_keyA  "

print "done\n"






;Open File
onerror goto error
print "- opening file #2 .... "
open "totality.gam"
print "done\n"


;Patch file
onerror goto done           ; when the search fails, goto done
print   "- patching file #2 ... "

search  "Name_NightPotion: "
write   "Name_NightPotion  "
search  "Name_Poison: "
write   "Name_Poison  "
search  "Name_Steth: "
write   "Name_Steth  "



done:
	 print "done\n"
     quit

error:
    print "ERROR!\n"
    quit

end
