Core: add generic interface to add ER data to hints (#1014)

This commit is contained in:
Fabian Dill
2022-09-18 14:30:43 +02:00
committed by GitHub
parent 58f66e0f42
commit c2d69cb05e
5 changed files with 52 additions and 35 deletions

View File

@@ -240,6 +240,11 @@ class World(metaclass=AutoWorldRegister):
"""Fill in the slot_data field in the Connected network package."""
return {}
def extend_hint_information(self, hint_data: Dict[int, Dict[int, str]]):
"""Fill in additional entrance information text into locations, which is displayed when hinted.
structure is {player_id: {location_id: text}} You will need to insert your own player_id."""
pass
def modify_multidata(self, multidata: Dict[str, Any]) -> None: # TODO: TypedDict for multidata?
"""For deeper modification of server multidata."""
pass