Initial Commit
This commit is contained in:
commit
fa38469735
30 files changed
+6902
No files matched your search
@@ -0,0 +1,23 @@
|
||||
from typing import Optional, Any
|
||||
from BaseClasses import MultiWorld
|
||||
|
||||
|
||||
# Use this if you want to override the default behavior of is_option_enabled
|
||||
# Return True to enable the category, False to disable it, or None to use the default behavior
|
||||
def before_is_category_enabled(multiworld: MultiWorld, player: int, category_name: str) -> Optional[bool]:
|
||||
return None
|
||||
|
||||
# Use this if you want to override the default behavior of is_option_enabled
|
||||
# Return True to enable the item, False to disable it, or None to use the default behavior
|
||||
def before_is_item_enabled(multiworld: MultiWorld, player: int, item: dict[str, Any]) -> Optional[bool]:
|
||||
return None
|
||||
|
||||
# Use this if you want to override the default behavior of is_option_enabled
|
||||
# Return True to enable the location, False to disable it, or None to use the default behavior
|
||||
def before_is_location_enabled(multiworld: MultiWorld, player: int, location: dict[str, Any]) -> Optional[bool]:
|
||||
return None
|
||||
|
||||
# Use this if you want to override the default behavior of is_option_enabled
|
||||
# Return True to enable the event, False to disable it, or None to use the default behavior
|
||||
def before_is_event_enabled(multiworld: MultiWorld, player: int, event: dict[str, Any]) -> Optional[bool]:
|
||||
return None
|
||||
Reference in new issue
Block a user