Archipelago/worlds/alttp
alwaysintreble f909576813
core: Generic boss plando handler (#1044)
* fix some blunders i made when implementing this

* move generic functions to core class

* move lttp specific stuff out and split up from_text a bit for more modularity

* slightly optimize from_text call order

* don't make changes on github apparently. reading hard

* Metaclass Magic

* do a check against the base class

* copy paste strikes again

* use option default instead of hardcoded "none". check locations and bosses aren't reused.

* throw dupe location error for lttp

* generic singularity support with a bool

* forgot to enable it for lttp

* better error handling

* PlandoBosses: fix inheritance of singularity

* Tests: PlandoBosses

* fix case insensitive tests

* Tests: cleanup PlandoBosses tests

* f in the chat

* oop

* split location into a different variable

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>

* pass the list of options as `option_list`

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2022-10-12 20:28:32 +02:00
..
docs Docs: Update snes9x Links (#1048) 2022-09-27 13:26:33 +02:00
Bosses.py core: Generic boss plando handler (#1044) 2022-10-12 20:28:32 +02:00
Dungeons.py Core: optimize away Item.world (#840) 2022-08-05 17:09:21 +02:00
EntranceRandomizer.py Core: remove game-specific arguments from Generate (#971) 2022-08-30 17:12:33 +02:00
EntranceShuffle.py Core: use assert correctly (#345) 2022-03-25 20:12:54 -04:00
InvertedRegions.py LttP: Rename "Dark World Shop" overworld door to Village of Outcasts Shop. Note: Now the overworld door, Region, Shop and inside door are named the same. 2021-12-29 11:08:23 +01:00
ItemPool.py Alttp: only check item.type for own items with retro_cave 2022-09-17 02:25:09 +02:00
Items.py Core: cleanup Item classes (#849) 2022-08-06 00:49:54 +02:00
Options.py core: Generic boss plando handler (#1044) 2022-10-12 20:28:32 +02:00
OverworldGlitchRules.py split building owg connections and setting the rules for those connections 2021-09-01 11:22:30 +00:00
Regions.py Core: add generic interface to add ER data to hints (#1014) 2022-09-18 14:30:43 +02:00
Rom.py Core remove legacy patch (#1047) 2022-09-30 00:36:30 +02:00
Rules.py Core: optimize away Item.world (#840) 2022-08-05 17:09:21 +02:00
Shops.py Core: cleanup BaseClasses.Location 2022-08-07 13:11:12 +02:00
SubClasses.py Core: cleanup BaseClasses.Location 2022-08-07 13:11:12 +02:00
Text.py Update Text.py (#274) 2022-02-12 03:01:41 +01:00
UnderworldGlitchRules.py Fixed broken mirrorless swamp rules 2021-06-10 18:10:25 -05:00
__init__.py Core: move output file name logic into core (#1066) 2022-10-02 16:53:18 +02:00
requirements.txt Requirements: update modules and move bsdiff4 to be a common module 2022-03-15 14:17:03 +01:00