소스 검색

Saveupdater now moves the old piercing variable values to the new ones.

netuttki 2 달 전
부모
커밋
83622e775e
1개의 변경된 파일14개의 추가작업 그리고 2개의 파일을 삭제
  1. 14 2
      locations/mod_wlife_saveupdater.qsrc

+ 14 - 2
locations/mod_wlife_saveupdater.qsrc

@@ -25,6 +25,8 @@ if $ARGS[0] = '':
 		gs 'mod_wlife_saveupdater', 'update_11'
 	elseif wl_save_update = 11:
 		gs 'mod_wlife_saveupdater', 'update_12'
+	elseif wl_save_update = 12:
+		gs 'mod_wlife_saveupdater', 'update_13'
 	end
 end
 
@@ -273,9 +275,19 @@ elseif $ARGS[0] = 'update_12':
 		npc_dick[$npclastsaved] = 7
 		npc_sexskill[$npclastsaved] = 0
 	end
+elseif $ARGS[0] = 'update_13':
+	wl_save_update = 13
+	if wl_whore['pirsA'] ! 0 and wl_whore['tongue_piercing'] = 0:
+		wl_whore['tongue_piercing'] = wl_whore['pirsA']
+		wl_whore['pirsA'] = 0
+	end
+	if wl_whore['pirsF'] ! 0 and wl_whore['nipple_piercing'] = 0:
+		wl_whore['nipple_piercing'] = wl_whore['pirsF']
+		wl_whore['pirsF'] = 0
+	end
 end
 
-if wl_save_update < 12: gs 'mod_wlife_saveupdater'
+if wl_save_update < 13: gs 'mod_wlife_saveupdater'
 
 gs 'mod_wlife_setup'
 $mod_name[mod_i] = $mod_info[0]
@@ -284,4 +296,4 @@ $mod_author[mod_i] = $mod_info[2]
 $mod_desc[mod_i] = $mod_info[3]
 $mod_opt[mod_i] = $mod_info[4]
 
---- mod_wlife_saveupdater ---------------------------------
+--- mod_wlife_saveupdater ---------------------------------