Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(5 edits)

I did not manage to make the inbuilt example mod for adding angels work.
Is it broken? is there is something I am missing?
I could not see a single angel despite seeing 18 different characters.
Ps: I am talking about the mod created when I press the "create character.csv file" in the mods tab after I pressed continue.
I did restart before checking characters again and there is still no angels.
I found the bug, it is quite trivial: you do not check for the presence of a modded all_races table when initialising, making your race adding mod a particularly bad example of a random character changing mod.
Basically: you do : ANY_RACE_TABLE.load_from_file("all_races.csv")
Where there should be :
ANY_RACE_TABLE.load_from_file("all_races.csv", get_user_tables_files().has(row["all_races.csv"])
If the mod you made is any indication of intent.
However, now that I know the issue, I can probably work around it.

(1 edit)

I'm glad you figured it out. Unfortunately, I couldn't respond earlier because the itch.io servers were down. You're right, it's not the most user-friendly system for modifications, and I don't think I'll be able to fix it quickly. But I'd love to hear your ideas on how to implement this and make it more user-friendly.

For your information, in v1.1.2, user tables overwrite in-game tables, meaning you can refer to in-game tables from your custom table and vice versa.

I'll attach the tables that are currently in the game. 
https://files.catbox.moe/g6xvag.zip

(1 edit)

The workaround I used was that since it is forbidden to override the all_races.csv table, I replaced all of the initial races tables by tables that mentions solely my new "allracesreplacement.csv" table that then redirects towards all the custom races I wanted, however in the current state, the angel mod distributed with the game does not work due to the line of code I mentioned (line 75 in global, I had to decompile the game to find why it was not working) not checking for the presence of a custom table meaning that all_races.csv is the only table that is impossible to override.

Could you share your mod? I'm very interested in what you added and how you did it.