Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hey there!

I recently updated from 1.11 to the most current version of the plugin, and it seems I've ran into a bug that must have crept in at some point. When using the Skyrin-like additive traits mode, if I combine at least 2 ingredients with the trait CHANGE HP RECOVERY: 0 30 in their notetags, the first potion crafted works just fine, having 30 HP healing. However, if I then craft another potion, the next potion will have 60 HP healing, and then the next 90 HP, and so on. I'm guessing the trait is somehow getting stuck in memory, or something of that sort.

(As an added note, I'm incredibly happy to see that now more than just one item in a recipe can be a "wildcard", as opposed to needing to set the other item's ID's.)

(+1)

Hey there.

That is a weird thing to randomly have happen after the update, since I don't think I've changed much about the skyrim-like additive traits mode since I put it in. It does sound like it's holding on to the traits of the old result item instead of clearing, though, so you might be onto something. I'm curious to see what other traits it might hold on to in this case, lol.

I'll see if I can reproduce the problem, and then work on a fix for it.

-Ramza

Hello again.

I managed to reproduce an issue with this plugin parameter. It didn't present itself in the exact way that you described, but if nothing else, it was definitely contributing to the problem. In my test project, I had a recipe that should have given 25% hp recovery and +60 flat hp from the traits, but it was actually giving 39% and +240. This was regardless of how many times the item was crafted. The issue ended up being some logic I had programmed incorrectly that was only used specifically for the skyrim-like system, which was causing traits to be combined with each other far more than they were supposed to be. With my recipe it was 4x because the two ingredient items shared four traits with each other, but yours could've been different here.

Once I corrected that logic issue, the traits were added to the item in the correct amount, so it appears to be functioning the right way now. Let me know if you still have issues when you download the update.

~Ramza