//I was wondering, is it more efficient to create a bunch
//of variables or store is it better to store a lot of strings
//inside a list? I.e.
mob/player/var
list/traits = new
mob/player/proc
addTraits()
traits.Add("Hero","Exp whore","Businessman","Sharp Eye","\
... and etc until I hit over 20 strings")
//OR
mob/player/var
Hero = FALSE
Businessman = FALSE
Exp_Whore = FALSE
Sharp_Eye = FALSE
//v
//v
//v
//until i hit over 20 variables
Problem description: Later on I will call the list to check if the player has that string in their.
Or later on I could check if the variable is TRUE for that player
I am trying to implement traits in my game.
Honestly, I'm not entirely sure why you are using both variables and a list? It seems to me like one or the other should be enough. If the code I've posted is not at all what you were wanting, or you are in need of more. Please comment back.