Lore¶
-
class
ourdestiny.d2lore(lore_json)¶ Bases:
ourdestiny.common.d2displaypropertiesA class used to contain information about lore in the game
Parameters: lore_json (dict) – A JSON obtained from the database containing lore data
Variables: - name (string) – The name of the lore piece
- description (string) – The description of the lore piece - this is where the main text of the lore will be
- subtitle (string) – The subtitle of the lore piece - normally only used on lore tabs on items
- hash (integer) – The hash of the lore piece