Timespinner: add support for spider traps from new client release (#4848)

Co-authored-by: sgrunt <sgrunt1987@gmail.com>
This commit is contained in:
sgrunt
2025-08-30 17:09:22 -06:00
committed by GitHub
parent f2461a2fea
commit 34aaa44b1f
2 changed files with 5 additions and 3 deletions

View File

@@ -208,7 +208,9 @@ item_table: Dict[str, ItemData] = {
'Lab Access Research': ItemData('Lab Access', 1337196, progression=True), 'Lab Access Research': ItemData('Lab Access', 1337196, progression=True),
'Lab Access Dynamo': ItemData('Lab Access', 1337197, progression=True), 'Lab Access Dynamo': ItemData('Lab Access', 1337197, progression=True),
'Drawbridge Key': ItemData('Key', 1337198, progression=True), 'Drawbridge Key': ItemData('Key', 1337198, progression=True),
# 1337199 - 1337248 Reserved # 1337199 Reserved
'Spider Trap': ItemData('Trap', 1337200, 0, trap=True),
# 1337201 - 1337248 Reserved
'Max Sand': ItemData('Stat', 1337249, 14) 'Max Sand': ItemData('Stat', 1337249, 14)
} }

View File

@@ -367,8 +367,8 @@ class TrapChance(Range):
class Traps(OptionList): class Traps(OptionList):
"""List of traps that may be in the item pool to find""" """List of traps that may be in the item pool to find"""
display_name = "Traps Types" display_name = "Traps Types"
valid_keys = { "Meteor Sparrow Trap", "Poison Trap", "Chaos Trap", "Neurotoxin Trap", "Bee Trap", "Throw Stun Trap" } valid_keys = { "Meteor Sparrow Trap", "Poison Trap", "Chaos Trap", "Neurotoxin Trap", "Bee Trap", "Throw Stun Trap", "Spider Trap" }
default = [ "Meteor Sparrow Trap", "Poison Trap", "Chaos Trap", "Neurotoxin Trap", "Bee Trap", "Throw Stun Trap" ] default = [ "Meteor Sparrow Trap", "Poison Trap", "Chaos Trap", "Neurotoxin Trap", "Bee Trap", "Throw Stun Trap", "Spider Trap" ]
class PresentAccessWithWheelAndSpindle(Toggle): class PresentAccessWithWheelAndSpindle(Toggle):
"""When inverted, allows using the refugee camp warp when both the Timespinner Wheel and Spindle is acquired.""" """When inverted, allows using the refugee camp warp when both the Timespinner Wheel and Spindle is acquired."""