class Leaders def initialize @Faction = "None" @Family = "None" @Influence = "100" @Age = "45" @Child = "None" @Father = "None" @Mother = "None" @Brother = "None" @Sister = "None" @Personality = "Agressive" @Name = "None" end def Faction @Faction end def Faction=(val) @Faction = val end def Family @Family end def Family=(val) @Faction = val end def Influence @Influence end def Influence=(val) @Influence = @Age * val end def Age @Age end def Age=(val) @Age = val end def Child @Child end def Child=(val) @Child = val end def Father @Father end def Father=(val) @Father = val end def Mother @Mother end def Mother=(val) @Mother = val end def Brother @Brother end def Brother=(val) @Brother = val end def Sister @Sister end def Sister=(val) @Sister = val end def Personality @Personality end def Personality=(val) @Personality = val end def Name @Name end def Name=(val) @Name = val end end$Leaders_Rome = ["Manius", "Gaius", "Julius", "Septimus", "Decius", "Leuke", "Maximus", "Spartacus", "Aemilianus", "Aemilus", "Aetius", "Agrippa"]$Families_Rome = ["Juliana", "Trilian", "Scipio", "Brutti"]$Sons_Rome = $Leaders_Rome$Daughters_Rome = ["Julia", "Gaia", "Mania", "Septima", "Decia", "Lucia", "Maxine", "Spartia", "Aemi", "Amilia", "Aetia", "Agris"]$Personality_Rome = ["Agressive", "Loyal", "Cautious", "Peaceful"]$name_rome = $Leaders_Rome[rand(12)] $surname_rome = $Families_Rome[rand(4)]$Rome_son_or_daughter = rand(2)if $Rome_son_or_daughter == 1 $child_rome = $Sons_Rome[rand(12)]else $child_rome = $Daughters_Rome[rand(12)]end$Roman_Leader = Leaders.new$Roman_Leader.Name = $name_rome$Roman_Leader.Faction = "Rome"$Roman_Leader.Family = $surname_rome$Roman_Leader.Age = rand(100)$Roman_Leader.Influence = ($Roman_Leader.Age * 1.5)$Roman_Leader.Child = $child_rome$Roman_Leader.Father = $Leaders_Rome[rand(12)]$Roman_Leader.Mother = $Daughters_Rome[rand(12)]$Roman_Leader.Brother = $Leaders_Rome[rand(12)]$Roman_Leader.Sister = $Daughters_Rome[rand(12)]$Roman_Leader.Personality = $Personality_Rome[rand(4)]p $Roman_Leader