mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Subtle changes to make apworld work with 0.6.3
This commit is contained in:
@@ -116,16 +116,16 @@ MISSION_ITEMS_TABLE: dict[str, GrinchItemData] = {
|
|||||||
|
|
||||||
#Sleigh Parts
|
#Sleigh Parts
|
||||||
SLEIGH_PARTS_TABLE: dict[str, GrinchItemData] = {
|
SLEIGH_PARTS_TABLE: dict[str, GrinchItemData] = {
|
||||||
"Exhaust Pipes": GrinchItemData("Sleigh Parts", 300, IC.progression_skip_balancing,
|
"Exhaust Pipes": GrinchItemData("Sleigh Parts", 300, IC.deprioritized,
|
||||||
[GrinchRamData(0x0101FB, binary_bit_pos=2), GrinchRamData(0x0100AA, binary_bit_pos=5)]),
|
[GrinchRamData(0x0101FB, binary_bit_pos=2)]),
|
||||||
"GPS": GrinchItemData("Sleigh Parts", 301, IC.useful,
|
"GPS": GrinchItemData("Sleigh Parts", 301, IC.useful,
|
||||||
[GrinchRamData(0x0101FB, binary_bit_pos=5), GrinchRamData(0x0100AA, binary_bit_pos=5)]),
|
[GrinchRamData(0x0101FB, binary_bit_pos=5)]),
|
||||||
"Tires": GrinchItemData("Sleigh Parts", 302, IC.progression_skip_balancing,
|
"Tires": GrinchItemData("Sleigh Parts", 302, IC.deprioritized,
|
||||||
[GrinchRamData(0x0101FB, binary_bit_pos=4), GrinchRamData(0x0100AA, binary_bit_pos=5)]),
|
[GrinchRamData(0x0101FB, binary_bit_pos=4)]),
|
||||||
"Skis": GrinchItemData("Sleigh Parts", 303, IC.progression_skip_balancing,
|
"Skis": GrinchItemData("Sleigh Parts", 303, IC.deprioritized,
|
||||||
[GrinchRamData(0x0101FB, binary_bit_pos=3), GrinchRamData(0x0100AA, binary_bit_pos=5)]),
|
[GrinchRamData(0x0101FB, binary_bit_pos=3)]),
|
||||||
"Twin-End Tuba": GrinchItemData("Sleigh Parts", 304, IC.progression_skip_balancing,
|
"Twin-End Tuba": GrinchItemData("Sleigh Parts", 304, IC.deprioritized,
|
||||||
[GrinchRamData(0x0101FB, binary_bit_pos=6), GrinchRamData(0x0100AA, binary_bit_pos=5)])
|
[GrinchRamData(0x0101FB, binary_bit_pos=6)])
|
||||||
}
|
}
|
||||||
|
|
||||||
#Access Keys
|
#Access Keys
|
||||||
@@ -183,7 +183,8 @@ TRAPS_TABLE: dict[str, GrinchItemData] = {
|
|||||||
#alias to Home Trap for traplink
|
#alias to Home Trap for traplink
|
||||||
"Who sent me back?": GrinchItemData("Traps", 608, IC.trap, [GrinchRamData(0x08FB94, value=1)]),
|
"Who sent me back?": GrinchItemData("Traps", 608, IC.trap, [GrinchRamData(0x08FB94, value=1)]),
|
||||||
# "Cutscene Trap": GrinchItemData("Traps", 609, IC.trap, [GrinchRamData()]),
|
# "Cutscene Trap": GrinchItemData("Traps", 609, IC.trap, [GrinchRamData()]),
|
||||||
# "No Vac Trap": GrinchItemData("Traps", 610, IC.trap, [GrinchRamData()])
|
# "No Vac Trap": GrinchItemData("Traps", 610, IC.trap, [GrinchRamData(0x0102DA, value=0]),
|
||||||
|
# "Invisible Trap": GrinchItemData("Traps", 611, IC.trap, [GrinchRamData(0x0102DA, value=0, bit_size=4)])
|
||||||
}
|
}
|
||||||
|
|
||||||
#Movesets
|
#Movesets
|
||||||
@@ -206,6 +207,15 @@ ALL_ITEMS_TABLE: dict[str, GrinchItemData] = {
|
|||||||
# **MOVES_TABLE
|
# **MOVES_TABLE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Psuedocoding traplink table
|
||||||
|
# BEE_TRAP_EQUIV = ["Army Trap", "Buyon Trap", "Ghost", "Gooey Bag", "OmoTrap", "Police Trap"]
|
||||||
|
# ICE_TRAP_EQUIV = ["Chaos Control Trap", "Freeze Trap", "Frozen Trap", "Honey Trap", "Paralyze Trap", "Stun Trap"]
|
||||||
|
# DAMAGE_TRAP_EQUIV = ["Banana Trap", "Bomb", "Bonk Trap", "Fire Trap", "Laughter Trap", "Nut Trap", "Push Trap", "Squash Trap", "Thwimp Trap", "TNT Barrel Trap"]
|
||||||
|
# SPRING_TRAP_EQUIV = ["Eject Ability", "Hiccup Trap", "Jump Trap", "Jumping Jacks Trap", "Whoops! Trap"]
|
||||||
|
# HOME_TRAP_EQUIV = ["Blue Balls Curse", "Instant Death Trap"]
|
||||||
|
# SLOWNESS_TRAP_EQUIV = ["Iron Boots Trap", "Slow Trap", "Sticky Floor Trap"]
|
||||||
|
# CUTSCENE_TRAP_EQUIV = ["Phone Trap"]
|
||||||
|
|
||||||
def grinch_items_to_id() -> dict[str, int]:
|
def grinch_items_to_id() -> dict[str, int]:
|
||||||
item_mappings: dict[str, int] = {}
|
item_mappings: dict[str, int] = {}
|
||||||
for ItemName, ItemData in ALL_ITEMS_TABLE.items():
|
for ItemName, ItemData in ALL_ITEMS_TABLE.items():
|
||||||
|
@@ -20,7 +20,7 @@ class GrinchWorld(World):
|
|||||||
topology_present = True #not an open world game, very linear
|
topology_present = True #not an open world game, very linear
|
||||||
item_name_to_id: ClassVar[dict[str,int]] = grinch_items_to_id()
|
item_name_to_id: ClassVar[dict[str,int]] = grinch_items_to_id()
|
||||||
location_name_to_id: ClassVar[dict[str,int]] = grinch_locations_to_id()
|
location_name_to_id: ClassVar[dict[str,int]] = grinch_locations_to_id()
|
||||||
required_client_version = (0, 6, 2)
|
required_client_version = (0, 6, 3)
|
||||||
|
|
||||||
|
|
||||||
def __init__(self, *args, **kwargs): #Pulls __init__ function and takes control from there in BaseClasses.py
|
def __init__(self, *args, **kwargs): #Pulls __init__ function and takes control from there in BaseClasses.py
|
||||||
|
Reference in New Issue
Block a user