[OC2] Colored Ramp Button Items (#1466)
Before: 1 item activates all 4 After: 7 items activate 7 buttons, creating more divergent routes Also, I consolidated the 6 filler emotes into a single "Emote Wheel" item to make space in the item pool. I bumped my data version and min AP version to indicate this change. The corresponding oc2-modding update is **v1.6.0**
This commit is contained in:
@@ -46,10 +46,10 @@ class Overcooked2World(World):
|
||||
|
||||
game = "Overcooked! 2"
|
||||
web = Overcooked2Web()
|
||||
required_client_version = (0, 3, 7)
|
||||
required_client_version = (0, 3, 8)
|
||||
option_definitions = overcooked_options
|
||||
topology_present: bool = False
|
||||
data_version = 2
|
||||
data_version = 3
|
||||
|
||||
item_name_to_id = item_name_to_id
|
||||
item_id_to_name = item_id_to_name
|
||||
@@ -340,7 +340,16 @@ class Overcooked2World(World):
|
||||
# useful = list()
|
||||
# filler = list()
|
||||
# progression = list()
|
||||
for item_name in item_table:
|
||||
for item_name in item_table:
|
||||
if item_name in item_frequencies:
|
||||
freq = item_frequencies[item_name]
|
||||
else:
|
||||
freq = 1
|
||||
|
||||
if freq <= 0:
|
||||
# not used
|
||||
continue
|
||||
|
||||
if not self.options["ShuffleLevelOrder"] and item_name in ITEMS_TO_EXCLUDE_IF_NO_DLC:
|
||||
# skip DLC items if no DLC
|
||||
continue
|
||||
@@ -364,15 +373,10 @@ class Overcooked2World(World):
|
||||
# filler.append(item_name)
|
||||
classification = ItemClassification.filler
|
||||
|
||||
if item_name in item_frequencies:
|
||||
freq = item_frequencies[item_name]
|
||||
|
||||
while freq > 0:
|
||||
self.itempool.append(self.create_item(item_name, classification))
|
||||
classification = ItemClassification.useful # only the first progressive item can be progression
|
||||
freq -= 1
|
||||
else:
|
||||
while freq > 0:
|
||||
self.itempool.append(self.create_item(item_name, classification))
|
||||
classification = ItemClassification.useful # only the first progressive item can be progression
|
||||
freq -= 1
|
||||
|
||||
# print(f"progression: {progression}")
|
||||
# print(f"useful: {useful}")
|
||||
@@ -526,7 +530,14 @@ class Overcooked2World(World):
|
||||
"DisableCatch": True,
|
||||
"DisableControlStick": True,
|
||||
"DisableWokDrag": True,
|
||||
"DisableRampButton": True,
|
||||
# "DisableRampButton": True, # Unused
|
||||
"DisableGreenRampButton" : True,
|
||||
"DisableYellowRampButton" : True,
|
||||
"DisableBlueRampButton" : True,
|
||||
"DisablePinkRampButton" : True,
|
||||
"DisableGreyRampButton" : True,
|
||||
"DisableRedRampButton" : True,
|
||||
"DisablePurpleRampButton" : True,
|
||||
"WashTimeMultiplier": 1.4,
|
||||
"BurnSpeedMultiplier": 1.43,
|
||||
"MaxOrdersOnScreenOffset": -2,
|
||||
|
||||
Reference in New Issue
Block a user