Core: implement start_inventory_from_pool (#1170)
* Core: implement start_inventory_from_pool * Factorio/LttP/Subnautica: add start_inventory_from_pool Option
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| import typing | ||||
|  | ||||
| from BaseClasses import MultiWorld | ||||
| from Options import Choice, Range, Option, Toggle, DefaultOnToggle, DeathLink, TextChoice, PlandoBosses | ||||
| from Options import Choice, Range, Option, Toggle, DefaultOnToggle, DeathLink, StartInventoryPool, PlandoBosses | ||||
|  | ||||
|  | ||||
| class Logic(Choice): | ||||
| @@ -466,5 +466,6 @@ alttp_options: typing.Dict[str, type(Option)] = { | ||||
|     "beemizer_total_chance": BeemizerTotalChance, | ||||
|     "beemizer_trap_chance": BeemizerTrapChance, | ||||
|     "death_link": DeathLink, | ||||
|     "allow_collect": AllowCollect | ||||
|     "allow_collect": AllowCollect, | ||||
|     "start_inventory_from_pool": StartInventoryPool, | ||||
| } | ||||
|   | ||||
| @@ -1247,8 +1247,8 @@ def patch_rom(world: MultiWorld, rom: LocalRom, player: int, enemized: bool): | ||||
|     # assorted fixes | ||||
|     rom.write_byte(0x1800A2, 0x01 if world.fix_fake_world[ | ||||
|         player] else 0x00)  # Toggle whether to be in real/fake dark world when dying in a DW dungeon before killing aga1 | ||||
|     rom.write_byte(0x180169, | ||||
|                    0x01 if world.lock_aga_door_in_escape else 0x00)  # Lock or unlock aga tower door during escape sequence. | ||||
|     # Lock or unlock aga tower door during escape sequence. | ||||
|     rom.write_byte(0x180169, 0x00) | ||||
|     if world.mode[player] == 'inverted': | ||||
|         rom.write_byte(0x180169, 0x02)  # lock aga/ganon tower door with crystals in inverted | ||||
|     rom.write_byte(0x180171, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill