-
Notifications
You must be signed in to change notification settings - Fork 657
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stardew valley: Add Marlon bedroom entrance rule (#3735)
* - Created a test for the "Mapping Cave Systems" book * - Added missing rule to marlon's bedroom * - Can kill any monster, not just green slime * - Added a compound source structure, but I ended up deciding to not use it here. Still keeping it as it will probably be useful eventually * - Use the compound source of the monster compoundium (ironic, I know) * - Add required elevators --------- Co-authored-by: NewSoupVi <[email protected]>
- Loading branch information
1 parent
4e60f3c
commit a7c9643
Showing
6 changed files
with
50 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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_lots_of_money(0.5) | ||
|
||
location = self.multiworld.get_location("Read Mapping Cave Systems", self.player) | ||
|
||
self.assert_reach_location_false(location, self.multiworld.state) | ||
|
||
self.collect("Progressive Mine Elevator") | ||
self.collect("Progressive Mine Elevator") | ||
self.collect("Progressive Mine Elevator") | ||
self.collect("Progressive Mine Elevator") | ||
self.assert_reach_location_false(location, self.multiworld.state) | ||
|
||
self.collect("Progressive Weapon") | ||
self.assert_reach_location_true(location, self.multiworld.state) | ||
|
||
|