forked from mirror/Archipelago
Some checks failed
Analyze modified files / flake8 (push) Failing after 2m28s
Build / build-win (push) Has been cancelled
Build / build-ubuntu2204 (push) Has been cancelled
ctest / Test C++ ubuntu-latest (push) Has been cancelled
ctest / Test C++ windows-latest (push) Has been cancelled
Analyze modified files / mypy (push) Has been cancelled
Build and Publish Docker Images / Push Docker image to Docker Hub (push) Successful in 5m4s
Native Code Static Analysis / scan-build (push) Failing after 5m2s
type check / pyright (push) Successful in 1m7s
unittests / Test Python 3.11.2 ubuntu-latest (push) Failing after 16m23s
unittests / Test Python 3.12 ubuntu-latest (push) Failing after 28m19s
unittests / Test Python 3.13 ubuntu-latest (push) Failing after 14m49s
unittests / Test hosting with 3.13 on ubuntu-latest (push) Successful in 5m0s
unittests / Test Python 3.13 macos-latest (push) Has been cancelled
unittests / Test Python 3.11 windows-latest (push) Has been cancelled
unittests / Test Python 3.13 windows-latest (push) Has been cancelled
24 lines
820 B
Python
24 lines
820 B
Python
"""This module handles creation of item hints for Merluvlee to offer Mario."""
|
|
from .options import ShuffleKootFavors, ShuffleLetters, PaperMarioOptions
|
|
|
|
from .data.itemlocation_special \
|
|
import kootfavors_reward_locations,\
|
|
kootfavors_keyitem_locations,\
|
|
chainletter_giver_locations,\
|
|
chainletter_final_reward_location,\
|
|
simpleletter_locations,\
|
|
limited_by_item_areas
|
|
from .data.partners_meta import all_partners
|
|
|
|
|
|
def get_itemhints(
|
|
allow_itemhints: bool,
|
|
placed_items: list,
|
|
options: PaperMarioOptions,
|
|
):
|
|
"""
|
|
Returns a list of item hint lists for a given list of item nodes.
|
|
Each item hint list contains the item id and a reference word describing
|
|
the area, map and item source type.
|
|
"""
|
|
return [[0x00000000, 0xFFFFFFFF]] |