 a05dbac55f
			
		
	
	a05dbac55f
	
	
	
		
			
			* rename locations accessibility to "full" and make old locations accessibility debug only * fix a bug in oot * reorder lttp tests to not override its overrides * changed the wrong word in the dict * :forehead: * update the manual lttp yaml * use __debug__ * update pokemon and messenger * fix conflicts from 993 * fix stardew presets * add that locations may be inaccessible to description * use reST format and make the items description one line so that it renders correctly on webhost * forgot i renamed that * add aliases for back compat * some cleanup * fix imports * fix test failure * only check "items" players when the item is progression * Revert "only check "items" players when the item is progression" This reverts commit ecbf986145e6194aa99a39c481d8ecd0736d5a4c. * remove some unnecessary diffs * CV64: Add ItemsAccessibility * put items description at the bottom of the docstring since that's it's visual order * : * rename accessibility reference in pokemon rb dexsanity * make the rendered tooltips look nicer
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
| from worlds.alttp.Dungeons import get_dungeon_item_pool
 | |
| from worlds.alttp.EntranceShuffle import link_inverted_entrances
 | |
| from worlds.alttp.InvertedRegions import create_inverted_regions
 | |
| from worlds.alttp.ItemPool import difficulties
 | |
| from worlds.alttp.Items import item_factory
 | |
| from worlds.alttp.Regions import mark_light_world_regions
 | |
| from worlds.alttp.Shops import create_shops
 | |
| from test.bases import TestBase
 | |
| 
 | |
| from worlds.alttp.test import LTTPTestBase
 | |
| 
 | |
| 
 | |
| class TestInverted(TestBase, LTTPTestBase):
 | |
|     def setUp(self):
 | |
|         self.world_setup()
 | |
|         self.multiworld.worlds[1].difficulty_requirements = difficulties['normal']
 | |
|         self.multiworld.mode[1].value = 2
 | |
|         self.multiworld.bombless_start[1].value = True
 | |
|         self.multiworld.shuffle_capacity_upgrades[1].value = 2
 | |
|         create_inverted_regions(self.multiworld, 1)
 | |
|         self.world.create_dungeons()
 | |
|         create_shops(self.multiworld, 1)
 | |
|         link_inverted_entrances(self.multiworld, 1)
 | |
|         self.world.create_items()
 | |
|         self.multiworld.itempool.extend(get_dungeon_item_pool(self.multiworld))
 | |
|         self.multiworld.itempool.extend(item_factory(['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'], self.world))
 | |
|         self.multiworld.get_location('Agahnim 1', 1).item = None
 | |
|         self.multiworld.get_location('Agahnim 2', 1).item = None
 | |
|         mark_light_world_regions(self.multiworld, 1)
 | |
|         self.world.set_rules()
 |