 a7c96436d9
			
		
	
	a7c96436d9
	
	
	
		
			
			* - 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 <57900059+NewSoupVi@users.noreply.github.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			844 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			844 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 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)
 | |
| 
 | |
| 
 |