Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stardew valley: Add Marlon bedroom entrance rule #3735

Merged
Next Next commit
- Created a test for the "Mapping Cave Systems" book
  • Loading branch information
agilbert1412 committed Aug 30, 2024
commit 1656e6cfd84e6141f242273bdb5e17ddd800151b
21 changes: 21 additions & 0 deletions worlds/stardew_valley/test/rules/TestBooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
from ... import options
from ...test import SVTestBase


class TestBooksLogic(SVTestBase):
options = {
options.Booksanity.internal_name: options.Booksanity.option_all,
}

def test_need_weapon_for_mapping_cave_systems(self):
self.collect_all_the_money()

location = self.multiworld.get_location("Read Mapping Cave Systems", self.player)

self.assert_reach_location_false(location, self.multiworld.state)

self.collect("Progressive Weapon")

self.assert_reach_location_true(location, self.multiworld.state)