Skip to content

Commit 2f4c04a

Browse files
committed
bugfixes; whoops i should test more
1 parent 798f8dd commit 2f4c04a

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

APWorld/Items.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ def baseID(delta: int) -> int:
4040
"ItemShoes": MinitItemData(code=baseID(9), classification=prog),
4141
"ItemGlove": MinitItemData(code=baseID(10), classification=prog),
4242
"ItemBoat": MinitItemData(code=baseID(11), classification=prog),
43-
# "ItemCamera": MinitItemData(code=baseID(12), classification=filler),
44-
# camera will never be granted as an item for AP
43+
# could be granted again, will play with the idea
44+
"ItemCamera": MinitItemData(
45+
code=baseID(12), classification=filler,
46+
can_create=lambda world: False),
4547
"ItemBasement": MinitItemData(code=baseID(13), classification=prog),
4648
"ItemMegaSword": MinitItemData(
4749
code=baseID(14), classification=prog,

APWorld/Rules.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,16 +500,16 @@ def __init__(self, world: MinitWorld) -> None:
500500
# }
501501

502502
def apply_rules(optional_rules):
503-
for key, rule in optional_rules.values():
504-
if key in region_rules:
503+
for key, rule in optional_rules.items():
504+
if key in self.region_rules:
505505
self.region_rules[key] = rule
506506
else:
507507
self.location_rules[key] = rule
508508

509509
if self.world.options.obscure:
510510
apply_rules(obscure)
511511

512-
if self.world.options.obscure and self.world.options.damage_boost:
512+
if self.world.options.obscure and self.world.options.damage_boosts:
513513
apply_rules(damage_boost_obscure)
514514

515515
# if self.world.options.dark_room:

APWorld/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,12 @@
6060
# TODO - pull all required game mods out and reapply to clean up patch file
6161

6262
# add options
63-
# TODO - figure out how to progressive sword
6463
# TODO - add puzzleless to de-prio longer/confusing puzzles
6564
# TODO - add random start locations
6665

6766
# known low prio
6867
# TODO - clean up game mod logging to necessities
6968
# TODO - clean up item/location names
70-
# TODO - refactor code
71-
# TODO - add swim as an option for getting 1/4 of temple coin
7269

7370
# deathlink testing
7471
# deaths during pause seem to dissapear
@@ -83,7 +80,9 @@
8380

8481
# bug reports
8582
# hotel backroom coin is accessible without breaking the pot
83+
# - confirmed, no idea how to fix
8684
# fanfares sometimes clip you into walls without a way out
85+
# - confirmed, not that worried because you always can respawn
8786
# generation breaks sometimes, unknown cause
8887

8988
# ideas to explore

minit.apworld

286 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)