mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	[TimeSpinner] Serverside DeathLink + Spoiler log extension
This commit is contained in:
		 Jarno Westhof
					Jarno Westhof
				
			
				
					committed by
					
						 Fabian Dill
						Fabian Dill
					
				
			
			
				
	
			
			
			 Fabian Dill
						Fabian Dill
					
				
			
						parent
						
							f43475f33b
						
					
				
				
					commit
					ea707a0bc5
				
			| @@ -42,6 +42,10 @@ class Inverted(Toggle): | ||||
| #    "Require gasmask for Maw" | ||||
| #    display_name = "Stinky Maw" | ||||
|  | ||||
| class DeathLink(Toggle): | ||||
|     "Participate in the DeathLink mechanic" | ||||
|     display_name = "DeathLink" | ||||
|  | ||||
| # Some options that are available in the timespinner randomizer arent currently implemented | ||||
| timespinner_options: Dict[str, Toggle] = { | ||||
|     "StartWithJewelryBox": StartWithJewelryBox, | ||||
| @@ -53,7 +57,8 @@ timespinner_options: Dict[str, Toggle] = { | ||||
|     "QuickSeed": QuickSeed, | ||||
|     "SpecificKeycards": SpecificKeycards, | ||||
|     "Inverted": Inverted, | ||||
|     #"StinkyMaw": StinkyMaw | ||||
|     #"StinkyMaw": StinkyMaw, | ||||
|     "DeathLink": DeathLink, | ||||
| } | ||||
|  | ||||
| def is_option_enabled(world: MultiWorld, player: int, name: str) -> bool: | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| from typing import Dict, List, Set | ||||
| from typing import Dict, List, Set, TextIO | ||||
| from BaseClasses import Item, MultiWorld, Location | ||||
| from ..AutoWorld import World | ||||
| from .LogicMixin import TimespinnerLogic | ||||
| @@ -77,7 +77,11 @@ class TimespinnerWorld(World): | ||||
|         slot_data["PersonalItems"] = get_personal_items(self.player, self.location_cache[self.player]) | ||||
|  | ||||
|         return slot_data | ||||
|          | ||||
|  | ||||
|     def write_spoiler_header(self, spoiler_handle: TextIO): | ||||
|         spoiler_handle.write('Twin Pyramid Keys unlock:        %s\n' % (self.pyramid_keys_unlock[self.player])) | ||||
|          | ||||
|  | ||||
| def get_excluded_items_based_on_options(world: MultiWorld, player: int) -> Set[str]: | ||||
|     excluded_items: Set[str] = set() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user