Merge pull request #28 from ThomasRubini/player_responses
added response text to trait_id in getPlayerResults
This commit is contained in:
		
						commit
						e8c5288f00
					
				@ -101,7 +101,8 @@ class Game:
 | 
			
		||||
        results = {}
 | 
			
		||||
        try:
 | 
			
		||||
            for npc_id in responses:
 | 
			
		||||
                results[npc_id] = responses[npc_id] == str(self.reaction_table[npc_id])
 | 
			
		||||
                trait_id = getTraitIdFromString(responses[npc_id])
 | 
			
		||||
                results[npc_id] = trait_id == str(self.reaction_table[npc_id])
 | 
			
		||||
            return results
 | 
			
		||||
        except:
 | 
			
		||||
            return False
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user