summary refs log tree commit diff stats
path: root/test/__init__.py
blob: 7ff456d8fcc34abd0fbbecec5c4ef040e0b6592a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from typing import ClassVar

from test.bases import WorldTestBase


class LingoTestBase(WorldTestBase):
    game = "Lingo"
    player: ClassVar[int] = 1

    def world_setup(self, *args, **kwargs):
        super().world_setup(*args, **kwargs)

    def remove_forced_good_item(self):
        location = self.multiworld.get_location("Second Room - Good Luck", self.player)
        self.remove(location.item)
        self.multiworld.itempool.append(location.item)
        self.multiworld.state.events.add(location)