浏览代码

[fixed] Split off bgk's experience update to prevent bugs

anjuna krokus 7 月之前
父节点
当前提交
424a043537
共有 1 个文件被更改,包括 9 次插入6 次删除
  1. 9 6
      locations/saveupdater.qsrc

+ 9 - 6
locations/saveupdater.qsrc

@@ -2622,9 +2622,9 @@ if temp_current_save_version < 00090202:
 end
 
 
-!!------------------------------------!!Version 0.9.3.0!!-----------------------------------------------!!
+!!------------------------------------!!Version 0.9.2.3!!-----------------------------------------------!!
 
-if temp_current_save_version < 00090300:
+if temp_current_save_version < 00090203:
 	!!updates the exp to the new scale so you don''t go down in stat
 	gs 'stat_sklattrib'
 
@@ -2664,8 +2664,11 @@ if temp_current_save_version < 00090300:
 	i = 0 & x += 1
 	if x < 3: jump 'rstloop'
 	killvar 'i' & killvar 'x'
+end
 
+!!------------------------------------!!Version 0.9.3.0!!-----------------------------------------------!!
 
+if temp_current_save_version < 00090300:
 	!! Drugs variable migration
 	if NarkImmune				> 0:	drugVars['cheat_immune']			= NarkImmune			& killvar 'NarkImmune'
 	if SNarkPriton				> 0:	drugVars['city_drugden']			= SNarkPriton			& killvar 'SNarkPriton'
@@ -2827,18 +2830,18 @@ if temp_current_save_version < 00090300:
 	if arrpos('$contact', 'A108') > -1:
 		temp_pos = arrpos('$contact', 'A108')
 		if strpos($contactICode[temp_pos], 'telefon') > -1:
-			$contactICode[temp_pos] = replace($contactICode[temp_pos], "gs 'telefon', 'vladimir'", "gs 'vladimirQW_loc', 'telephone_call'")
+			$contactICode[temp_pos] = replace($contactICode[temp_pos], "'telefon', 'vladimir'", "'vladimirQW_loc', 'telephone_call'")
 		end
 		if strpos($contactISche[temp_pos], 'vladimirday') > -1:
-			$contactICode[temp_pos] = replace($contactISche[temp_pos], "vladimirday", "vladimirQW['day']")
+			$contactISche[temp_pos] = replace($contactISche[temp_pos], "vladimirday", "vladimirQW['day']")
 		end
 		killvar 'temp_pos'
 	end
 
 	if arrpos('$contact', 'A192') > -1:
 		temp_pos = arrpos('$contact', 'A192')
-		if strpos($contactICode[temp_pos], 'telefon') > -1:
-			$contactICode[temp_pos] = replace($contactICode[temp_pos], "gs 'telefon', 'start'", "gs 'nastja', 'start'")
+		if strpos($contactOCode[temp_pos], 'telefon') > -1:
+			$contactOCode[temp_pos] = replace($contactOCode[temp_pos], 'telefon', 'nastja')
 		end
 		killvar 'temp_pos'
 	end