Archipelago/test/general
Silvris fb9ef19c15
Core: add list/dict merging feature to triggers (#2793)
* proof of concept

* add dict support, block top/game level merge

* prevent key error when option being merged is new

* update triggers guide

* Add documentation about add/remove/replace

* move to trailing name instead of proper tag

* update docs

* confirm types

* Update Utils.py

* Update Generate.py

* pep8

* move to + syntax

* forgot to support sets

* specify received type of type error

* Update Generate.py

Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>

* Apply suggestion from review

* add test for update weights

* move test to new test case

* Apply suggestions from code review

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

---------

Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
2024-03-12 22:08:12 +01:00
..
__init__.py Tests: add test for 2-player-multiworlds (#2386) 2024-03-11 23:22:30 +01:00
test_fill.py Core: create the per world random object in the world constructor (#2083) 2024-03-10 18:47:45 +01:00
test_groups.py Tests: test that item/location name groups are not empty (#2748) 2024-01-30 08:34:54 +01:00
test_helpers.py Core: don't allow region, location, or entrance with duplicate names (#2453) 2024-02-25 21:56:27 +01:00
test_host_yaml.py Core: deprecate Utils.get_options and remove Utils.get_default_options (#2352) 2023-10-28 19:32:12 +02:00
test_ids.py Tests: test that the datapackage after generation is still valid (#2575) 2023-12-12 02:14:44 +01:00
test_implemented.py Tests: log the seed fo slot_data failures (#2402) 2023-11-08 09:15:06 +01:00
test_items.py LTTP: remove multiworld = None (#2290) 2024-03-10 08:18:25 +01:00
test_locations.py Tests: use strict equality in some tests # (#2778) 2024-01-30 09:00:47 +01:00
test_memory.py Core: fix some memory leak sources without removing caching (#2400) 2023-10-31 02:08:56 +01:00
test_names.py Tests: modern PEP8-ify core test modules and methods (#2298) 2023-10-22 13:00:27 +02:00
test_options.py Tests: test that World.options is not set on the class (#2725) 2024-01-15 20:50:16 +01:00
test_player_options.py Core: add list/dict merging feature to triggers (#2793) 2024-03-12 22:08:12 +01:00
test_reachability.py Core: Purge the evil (`world: MultiWorld`) (#2749) 2024-02-05 00:38:00 +01:00