TerryCavanagh / diceydungeons.com

Dicey Dungeons
48 stars 7 forks source link

[Request] Include a variable/array to track the order dice were used over the course of the player's turn #3000

Open racknae opened 1 year ago

racknae commented 1 year ago

You can sort of do this by iterating through self.dicepool and checking for unavailable dice, but that tracks the order in which the dice were rolled, not the order in which they were used.

I've also attempted to do this more accurately by iterating through self.equipmenthistory and checking what dice were used in each equipment (eq.assigneddice and eq.dicehistory for countdowns), but there are several dice "uses" where this method either does not work or does not work accurately. (Witch spellbook, combination type equipment, countdowns beyond the most recent dice inserted)

Ideally this new variable would work like self.equipmenthistory but tracking dice instead of equipment.