handle progressive bows like other progressive items
This commit is contained in:
parent
d7c839ef7d
commit
5cc0c2355e
10
ItemList.py
10
ItemList.py
|
@ -32,7 +32,7 @@ normalfinal25extra = ['Rupees (20)'] * 23 + ['Rupees (5)'] * 2
|
||||||
Difficulty = namedtuple('Difficulty',
|
Difficulty = namedtuple('Difficulty',
|
||||||
['baseitems', 'bottles', 'bottle_count', 'same_bottle', 'progressiveshield',
|
['baseitems', 'bottles', 'bottle_count', 'same_bottle', 'progressiveshield',
|
||||||
'basicshield', 'progressivearmor', 'basicarmor', 'swordless',
|
'basicshield', 'progressivearmor', 'basicarmor', 'swordless',
|
||||||
'progressivesword', 'basicsword', 'basicbow', 'timedohko', 'timedother',
|
'progressivesword', 'basicsword', 'progressivebow', 'basicbow', 'timedohko', 'timedother',
|
||||||
'triforcehunt', 'retro',
|
'triforcehunt', 'retro',
|
||||||
'extras', 'progressive_sword_limit', 'progressive_shield_limit',
|
'extras', 'progressive_sword_limit', 'progressive_shield_limit',
|
||||||
'progressive_armor_limit', 'progressive_bottle_limit',
|
'progressive_armor_limit', 'progressive_bottle_limit',
|
||||||
|
@ -53,6 +53,7 @@ difficulties = {
|
||||||
swordless=['Rupees (20)'] * 4,
|
swordless=['Rupees (20)'] * 4,
|
||||||
progressivesword=['Progressive Sword'] * 4,
|
progressivesword=['Progressive Sword'] * 4,
|
||||||
basicsword=['Fighter Sword', 'Master Sword', 'Tempered Sword', 'Golden Sword'],
|
basicsword=['Fighter Sword', 'Master Sword', 'Tempered Sword', 'Golden Sword'],
|
||||||
|
progressivebow=["Progressive Bow"] * 2,
|
||||||
basicbow=['Bow', 'Silver Bow'],
|
basicbow=['Bow', 'Silver Bow'],
|
||||||
timedohko=['Green Clock'] * 25,
|
timedohko=['Green Clock'] * 25,
|
||||||
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
||||||
|
@ -79,6 +80,7 @@ difficulties = {
|
||||||
swordless=['Rupees (20)'] * 4,
|
swordless=['Rupees (20)'] * 4,
|
||||||
progressivesword=['Progressive Sword'] * 4,
|
progressivesword=['Progressive Sword'] * 4,
|
||||||
basicsword=['Fighter Sword', 'Master Sword', 'Master Sword', 'Tempered Sword'],
|
basicsword=['Fighter Sword', 'Master Sword', 'Master Sword', 'Tempered Sword'],
|
||||||
|
progressivebow=["Progressive Bow"] * 2,
|
||||||
basicbow=['Bow'] * 2,
|
basicbow=['Bow'] * 2,
|
||||||
timedohko=['Green Clock'] * 25,
|
timedohko=['Green Clock'] * 25,
|
||||||
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
||||||
|
@ -99,12 +101,14 @@ difficulties = {
|
||||||
bottle_count=4,
|
bottle_count=4,
|
||||||
same_bottle=False,
|
same_bottle=False,
|
||||||
progressiveshield=['Progressive Shield'] * 3,
|
progressiveshield=['Progressive Shield'] * 3,
|
||||||
basicshield = ['Progressive Shield'] * 3, #only the first one will upgrade, making this equivalent to two blue shields
|
basicshield=['Progressive Shield'] * 3,
|
||||||
|
# only the first one will upgrade, making this equivalent to two blue shields
|
||||||
progressivearmor=['Progressive Armor'] * 2, # neither will count
|
progressivearmor=['Progressive Armor'] * 2, # neither will count
|
||||||
basicarmor=['Progressive Armor'] * 2, # neither will count
|
basicarmor=['Progressive Armor'] * 2, # neither will count
|
||||||
swordless=['Rupees (20)'] * 4,
|
swordless=['Rupees (20)'] * 4,
|
||||||
progressivesword=['Progressive Sword'] * 4,
|
progressivesword=['Progressive Sword'] * 4,
|
||||||
basicsword=['Fighter Sword', 'Fighter Sword', 'Master Sword', 'Master Sword'],
|
basicsword=['Fighter Sword', 'Fighter Sword', 'Master Sword', 'Master Sword'],
|
||||||
|
progressivebow=["Progressive Bow"] * 2,
|
||||||
basicbow=['Bow'] * 2,
|
basicbow=['Bow'] * 2,
|
||||||
timedohko=['Green Clock'] * 20 + ['Red Clock'] * 5,
|
timedohko=['Green Clock'] * 20 + ['Red Clock'] * 5,
|
||||||
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
timedother=['Green Clock'] * 20 + ['Blue Clock'] * 10 + ['Red Clock'] * 10,
|
||||||
|
@ -468,7 +472,7 @@ def get_pool_core(world, player: int):
|
||||||
pool.extend(diff.basicarmor)
|
pool.extend(diff.basicarmor)
|
||||||
|
|
||||||
if want_progressives():
|
if want_progressives():
|
||||||
pool.extend(['Progressive Bow'] * 2)
|
pool.extend(diff.progressivebow)
|
||||||
elif swords != 'swordless':
|
elif swords != 'swordless':
|
||||||
pool.extend(diff.basicbow)
|
pool.extend(diff.basicbow)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue