Buckets:

download
raw
713 Bytes
from __future__ import annotations
from typing import TYPE_CHECKING, TypeVar
from randovania.layout.base.trick_level import LayoutTrickLevel
if TYPE_CHECKING:
from randovania.game_description.game_description import GameDescription
from randovania.game_description.resources.trick_resource_info import TrickResourceInfo
T = TypeVar("T")
def difficulties_for_trick(game: GameDescription, trick: TrickResourceInfo) -> set[LayoutTrickLevel]:
return {LayoutTrickLevel.from_number(level) for level in game.get_used_trick_levels().get(trick, set())}
def used_tricks(game: GameDescription) -> set[TrickResourceInfo]:
return {trick for trick, uses in game.get_used_trick_levels().items() if uses}

Xet Storage Details

Size:
713 Bytes
·
Xet hash:
5e2985f2b6b55d4b90b440298d3f103e0174695fac972f3714cee9b22a5e129f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.