So yea.
I need help with a player gaining a trait when selecting an option or drinking an potion.
Sort of how the do it in Elona.
Any idea how to set up soemthing like that ?
I want player character to sort of evovle get reawarded with traits.
By default traits are static and can only be gained by states.
For anything else you'll need plugins like shaz dynamic traits.
If you mean "Traits" as in the things on the Traits box in the upper right portion of the Actors,Classes,Equipment,States tabs in the database, you will need plugins like Andar said. If you mean the basic parameters like HP, ATK etc, you can use the event command Change Parameters, and also there might be something in the effects box of the item that can actually increase parameters too.
Anyway, if he only needs to change/add basic parameters, the event command should suffice. If he wants to modify Traits, he needs the plugin. He asked for "Traits" so we gave him the more general answer.
I mean traists as in well traits/perks.
lets say yout char drinks a potion that grants him "charming smile" wich causes vendors to have better prices.
or :spirit vision" like in divinity orginal sin wich causes player to see events that normally wouldnt be there.
Or "demon eyes" wich would cause better lets say luck stat but for the cost of some other stat.
By traits i mean "you gain a tag scholar you are now able to use that tag in a conversation"
Or like Elona does it."you were exposed to magic Aids you can use third arm to hold an items"