Vaporeon Character

by Buwwet

This mod adds my favorite Pokémon: Vaporeon, to Factorio with the help of the CharacterModHelper mod. NOTE: This mod does not work by its own, you require a character selector mod such as miniMAXIme or RitnCharacters.

1 year, 4 months ago
1.1 - 2.0
3.77K

b load error

14 days ago

Failed to load mods: CharacterModHelper/images.lua:148: This function must be called during data-final-fixes!
stack traceback:
[C]: in function 'error'
CharacterModHelper/images.lua:148: in function 'map_armors_to_char_anims'
CharacterModHelper/data.lua:140: in function 'check_my_prototypes'
vaporeon-character/data.lua:17: in main chunk

I don't know what changed. it used to work fine

10 days ago

I don't know what changed. it used to work fine

Sorry for the inconvenience! I had defined all functions provided by CharacterModHelper in data.lua, so modders could see all relevant definitions in one place. However, some mods exploited that by calling function check_my_prototypes() during data or data-updates instead of waiting until data-final-fixes (as pointed out in the documentation). In version 2.0.6, I've made some changes that require the function to be called in data-final-fixes. This change has been documented in the changelog, along with a fix (basically same thing as your error message: call check_my_properties during data-final-fixes).

a day ago

Got a fix for us!

The Character Mod Helper mod updated and broke the Vaporeon mod here.
Version 2.0.6 of Character Helper Mod is incompatible with our beloved Vaporeon Character mod.

The fix is to download Character Helper Mod versin 2.0.5 (Linked here https://mods.factorio.com/mod/CharacterModHelper/downloads) and replace it your new Character Helper Mod version 2.0.6 with the old version.

a day ago
(updated 19 hours ago)

Got a fix for us!

Why? I've already mentioned the real fix in the last sentence of my previous post: "This change has been documented in the changelog, along with a fix (basically same thing as your error message: call check_my_properties during data-final-fixes."

The fix is to download Character Helper Mod versin 2.0.5 (Linked here https://mods.factorio.com/mod/CharacterModHelper/downloads) and replace it your new Character Helper Mod version 2.0.6 with the old version.

No. The real fix is:

  • Remove the last 2 lines from data.lua
  • Create a new file data-final-fixes.lua with this contents:
    -- Work without a character selector mod (if there is no other working character mod)
    CharModHelper.check_my_prototypes(vaporeon.new_characters["Vaporeon_character_skin"])
    

(Edit: corrected argument of function call.)

New response