Soulash
Double Deuce 28 May, 2024 @ 10:15am
[Modding] How do you make an ability or recipe show at certain levels?
Basically need to know how to set entities or abilities to only be available at certain levels / appear in your abilities book when you reach a certain level.

I'd rather not set my modded abilities as known at lvl 1 as they're too powerful. I tried setting the ability json for my modded ability to level 2 for example and once it showed on level up at level 2 but not the other two test cases I made, so it's random if it shows upon level up when it set that.

I can create new entities as an 'on use' to learn them sure, but those are random gen in the world loot tables and if I set them as craftable then you have to set the character.json with the known recipes and that's almost the same as just giving it to them at level 1 which I don't wanna do. It also tends to crash if you set more than one of those. Ideally being able to set it where say upon level 3, the ability appears in your known abilities is the goal (and/or craftable). If it's only available in the level up screen, so be it but would need to know how to force it to always show at that level.

Anyone know of a good way to achieve this?