Archipelago/worlds/messenger
alwaysintreble 573a1a8402
Core: Add a function to allow worlds to easily allow self-locking items (#1383)
* implement function to allow self locking items for items accessibility

* swap some lttp locations to use new functionality

* lambda capture `item_name` and `location`

* don't lambda capture location

* Revert weird visual indent

* make location.always_allow additive

* fix always_allow rule for multiple items

* don't need to lambda capture item_names

* oop

* move player assignment to the beginning

* always_allow should only be for that player so prevent non_local_items

* messenger got merged so have it use this

* Core: fix doc string indentation for allow_self_locking_items

* Core: fix doc string indentation for allow_self_locking_items, number two

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2023-03-14 00:55:34 +01:00
..
docs The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
test The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
Constants.py The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
Options.py The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
Regions.py The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
Rules.py Core: Add a function to allow worlds to easily allow self-locking items (#1383) 2023-03-14 00:55:34 +01:00
SubClasses.py The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00
__init__.py The Messenger: implement new game (#1494) 2023-03-12 15:05:50 +01:00