Bläddra i källkod

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

netuttki 3 månader sedan
förälder
incheckning
83622e775e
1 ändrade filer med 14 tillägg och 2 borttagningar
  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 ---------------------------------