def rerolled(self):
        # Spacebar items can't be re-rolled by a D4, dice room, etc.
        if not self.info.space:
            self.was_rerolled = True
Mark the item as rerolled
dataset/ETHPy150Open Hyphen-ated/RebirthItemTracker/src/game_objects/item.py/Item.rerolled