FutureProg functions
settrait
Number settrait(Character who, Trait trait, Number value)
Contexts: computer function, computer program, standard futureprog
Sets the value of a trait (skill or attribute) for a player with the specified value. Gives them the trait if they don't have it but can lower the value if they already have it but it is higher than the value you specify. Returns the value of the trait
who: The character to give the trait to
trait: The trait to give the character
value: The value of the trait
Contexts: computer function, computer program, standard futureprog
Sets the value of a trait (skill or attribute) for a player with the specified value. Gives them the trait if they don't have it but can lower the value if they already have it but it is higher than the value you specify. Returns the value of the trait
who: The character to give the trait to
trait: The trait to give the character
value: The value of the trait