Tidying up for v20 release

This commit is contained in:
Maruno17
2022-05-19 19:42:16 +01:00
parent 5fb8218098
commit 47ad801645
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#==============================================================================# #==============================================================================#
# Pokémon Essentials # # Pokémon Essentials #
# Version 19.1.dev # # Version 20 #
# https://github.com/Maruno17/pokemon-essentials # # https://github.com/Maruno17/pokemon-essentials #
#==============================================================================# #==============================================================================#
@@ -433,6 +433,6 @@ end
# DO NOT EDIT THESE! # DO NOT EDIT THESE!
module Essentials module Essentials
VERSION = "19.1.dev" VERSION = "20"
ERROR_TEXT = "" ERROR_TEXT = ""
end end

View File

@@ -7,8 +7,8 @@
# numerical IDs to symbolic IDs (for the berry planted and for mulch laid down). # numerical IDs to symbolic IDs (for the berry planted and for mulch laid down).
# Since item numerical IDs no longer exist, this conversion needs to have a list # Since item numerical IDs no longer exist, this conversion needs to have a list
# of them in order to convert planted berry data properly. # of them in order to convert planted berry data properly.
SaveData.register_conversion(:v19_2_fix_planted_berry_numerical_ids) do SaveData.register_conversion(:v20_fix_planted_berry_numerical_ids) do
essentials_version 19.2 essentials_version 20
display_title "Fixing berry plant IDs data" display_title "Fixing berry plant IDs data"
to_value :global_metadata do |global| to_value :global_metadata do |global|
berry_conversion = { berry_conversion = {
@@ -231,7 +231,7 @@ end
#=============================================================================== #===============================================================================
SaveData.register_conversion(:v20_increment_player_character_id) do SaveData.register_conversion(:v20_increment_player_character_id) do
essentials_version 19.1 essentials_version 20
display_title "Incrementing player character ID" display_title "Incrementing player character ID"
to_value :player do |player| to_value :player do |player|
player.character_ID += 1 player.character_ID += 1