DKC3 v1.1.0 (#938)
Features: * KONGsanity option (Collect all KONG letters in each level for a check) * Autosave option * Difficulty option * MERRY option * Handle collected/co-op locations Bugfixes: * Fixed Mekanos softlock * Prevent Brothers Bear giving extra Banana Birds * Fixed Banana Bird Mother check sending prematurely * Fix Logic bug with Krematoa level costs
This commit is contained in:
		| @@ -4,7 +4,7 @@ import math | ||||
| import threading | ||||
|  | ||||
| from BaseClasses import Item, MultiWorld, Tutorial, ItemClassification | ||||
| from .Items import DKC3Item, ItemData, item_table, inventory_table | ||||
| from .Items import DKC3Item, ItemData, item_table, inventory_table, junk_table | ||||
| from .Locations import DKC3Location, all_locations, setup_locations | ||||
| from .Options import dkc3_options | ||||
| from .Regions import create_regions, connect_regions | ||||
| @@ -40,7 +40,7 @@ class DKC3World(World): | ||||
|     game: str = "Donkey Kong Country 3" | ||||
|     option_definitions = dkc3_options | ||||
|     topology_present = False | ||||
|     data_version = 1 | ||||
|     data_version = 2 | ||||
|     #hint_blacklist = {LocationName.rocket_rush_flag} | ||||
|  | ||||
|     item_name_to_id = {name: data.code for name, data in item_table.items()} | ||||
| @@ -99,10 +99,13 @@ class DKC3World(World): | ||||
|  | ||||
|         # Bosses | ||||
|         total_required_locations += number_of_bosses | ||||
|          | ||||
|  | ||||
|         # Secret Caves | ||||
|         total_required_locations += 13 | ||||
|  | ||||
|         if self.world.kongsanity[self.player]: | ||||
|             total_required_locations += 39 | ||||
|  | ||||
|         ## Brothers Bear | ||||
|         if False:#self.world.include_trade_sequence[self.player]: | ||||
|             total_required_locations += 10 | ||||
| @@ -118,7 +121,11 @@ class DKC3World(World): | ||||
|  | ||||
|         total_junk_count = total_required_locations - len(itempool) | ||||
|  | ||||
|         itempool += [self.create_item(ItemName.bear_coin)] * total_junk_count | ||||
|         junk_pool = [] | ||||
|         for item_name in self.world.random.choices(list(junk_table.keys()), k=total_junk_count): | ||||
|             junk_pool += [self.create_item(item_name)] | ||||
|  | ||||
|         itempool += junk_pool | ||||
|  | ||||
|         self.active_level_list = level_list.copy() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 PoryGone
					PoryGone