DLC Quest Bug Fix 50+ coin bundle basic Campaign (#4276)
* DLC Quest Bug Fix * DLC Quest Bug Fix
This commit is contained in:
		
							parent
							
								
									78bc7b8156
								
							
						
					
					
						commit
						283d1ab7e8
					
				| 
						 | 
				
			
			@ -72,8 +72,16 @@ class DLCqworld(World):
 | 
			
		|||
 | 
			
		||||
        self.multiworld.itempool += created_items
 | 
			
		||||
 | 
			
		||||
        if self.options.campaign == Options.Campaign.option_basic or self.options.campaign == Options.Campaign.option_both:
 | 
			
		||||
            self.multiworld.early_items[self.player]["Movement Pack"] = 1
 | 
			
		||||
        campaign = self.options.campaign
 | 
			
		||||
        has_both = campaign == Options.Campaign.option_both
 | 
			
		||||
        has_base = campaign == Options.Campaign.option_basic or has_both
 | 
			
		||||
        has_big_bundles = self.options.coinsanity and self.options.coinbundlequantity > 50
 | 
			
		||||
        early_items = self.multiworld.early_items
 | 
			
		||||
        if has_base:
 | 
			
		||||
            if has_both and has_big_bundles:
 | 
			
		||||
                early_items[self.player]["Incredibly Important Pack"] = 1
 | 
			
		||||
            else:
 | 
			
		||||
                early_items[self.player]["Movement Pack"] = 1
 | 
			
		||||
 | 
			
		||||
        for item in items_to_exclude:
 | 
			
		||||
            if item in self.multiworld.itempool:
 | 
			
		||||
| 
						 | 
				
			
			@ -82,7 +90,7 @@ class DLCqworld(World):
 | 
			
		|||
    def precollect_coinsanity(self):
 | 
			
		||||
        if self.options.campaign == Options.Campaign.option_basic:
 | 
			
		||||
            if self.options.coinsanity == Options.CoinSanity.option_coin and self.options.coinbundlequantity >= 5:
 | 
			
		||||
                self.multiworld.push_precollected(self.create_item("Movement Pack"))
 | 
			
		||||
                self.multiworld.push_precollected(self.create_item("DLC Quest: Coin Bundle"))
 | 
			
		||||
 | 
			
		||||
    def create_item(self, item: Union[str, ItemData], classification: ItemClassification = None) -> DLCQuestItem:
 | 
			
		||||
        if isinstance(item, str):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue