FunctionsNPCTraitGenerateNPCTraitGenerate CallableNPCTraitGenerate(C: NPCCharacter): voidGenerate random traits for a NPC (70% odds for each traits, can switch on both sides, strength is from 1 to 100). Will generate at least one trait.ParametersC: NPCCharacterNPC to generate the trait forReturns voidNothing
Generate random traits for a NPC (70% odds for each traits, can switch on both sides, strength is from 1 to 100). Will generate at least one trait.