mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00

## What is this fixing or adding? Adds Bombless Start option, along with proper bomb logic. This involves updating `can_kill_most_things` to include checking how many bombs can be held. Many places where the ability to kill enemies was assumed, now have logic. This fixes some possible existing logic issues, for example: Mini Moldorm cave checks currently are always in logic despite the fact that on expert enemy health it would require 12 bombs to kill each mini moldorm. Overhauls options, pulling them out of core and in particular making large changes to how the shop options work. Co-authored-by: espeon65536 <81029175+espeon65536@users.noreply.github.com> Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com> Co-authored-by: Bondo <38083232+BadmoonzZ@users.noreply.github.com> Co-authored-by: espeon65536 <espeon65536@gmail.com> Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
25 lines
1.4 KiB
Python
25 lines
1.4 KiB
Python
from worlds.alttp.Dungeons import get_dungeon_item_pool
|
|
from worlds.alttp.InvertedRegions import mark_dark_world_regions
|
|
from worlds.alttp.ItemPool import difficulties
|
|
from worlds.alttp.Items import ItemFactory
|
|
from test.TestBase import TestBase
|
|
from worlds.alttp.test import LTTPTestBase
|
|
|
|
|
|
class TestVanilla(TestBase, LTTPTestBase):
|
|
def setUp(self):
|
|
self.world_setup()
|
|
self.multiworld.glitches_required[1] = "no_glitches"
|
|
self.multiworld.difficulty_requirements[1] = difficulties['normal']
|
|
self.multiworld.bombless_start[1].value = True
|
|
self.multiworld.shuffle_capacity_upgrades[1].value = True
|
|
self.multiworld.worlds[1].er_seed = 0
|
|
self.multiworld.worlds[1].create_regions()
|
|
self.multiworld.worlds[1].create_items()
|
|
self.multiworld.required_medallions[1] = ['Ether', 'Quake']
|
|
self.multiworld.itempool.extend(get_dungeon_item_pool(self.multiworld))
|
|
self.multiworld.itempool.extend(ItemFactory(['Green Pendant', 'Red Pendant', 'Blue Pendant', 'Beat Agahnim 1', 'Beat Agahnim 2', 'Crystal 1', 'Crystal 2', 'Crystal 3', 'Crystal 4', 'Crystal 5', 'Crystal 6', 'Crystal 7'], 1))
|
|
self.multiworld.get_location('Agahnim 1', 1).item = None
|
|
self.multiworld.get_location('Agahnim 2', 1).item = None
|
|
mark_dark_world_regions(self.multiworld, 1)
|
|
self.multiworld.worlds[1].set_rules() |