Remove scraps only preset since it doesn't work. Increase item pool to 100. Add direct links in tutorial.

This commit is contained in:
alwaysintreble
2021-09-26 14:22:46 -05:00
committed by Fabian Dill
parent cf070e6dd9
commit 1ffe5fc7bb
4 changed files with 7 additions and 27 deletions

View File

@@ -117,19 +117,6 @@ even_weights = {
"Equipment": 1
}
scraps_only_weights = {
"Item Scrap, Green": 80,
"Item Scrap, Red": 40,
"Item Scrap, Yellow": 10,
"Item Scrap, White": 100,
"Common Item": 0,
"Uncommon Item": 0,
"Legendary Item": 0,
"Boss Item": 0,
"Lunar Item": 0,
"Equipment": 0
}
item_pool_weights: typing.Dict[int, typing.Dict[str, int]] = {
0: default_weights,
1: new_weights,
@@ -137,8 +124,7 @@ item_pool_weights: typing.Dict[int, typing.Dict[str, int]] = {
3: legendary_weights,
4: lunartic_weights,
6: no_scraps_weights,
7: even_weights,
8: scraps_only_weights
7: even_weights
}
lookup_id_to_name: typing.Dict[int, str] = {id: name for name, id in item_table.items() if id}

View File

@@ -15,7 +15,7 @@ base_location_table = {
}
item_pickups = {
f"ItemPickup{i}": 37005+i for i in range(1, 51)
f"ItemPickup{i}": 37005+i for i in range(1, 101)
}
location_table = {**base_location_table, **item_pickups}

View File

@@ -6,7 +6,7 @@ class TotalLocations(Range):
"""Number of location checks which are added to the Risk of Rain playthrough."""
displayname = "Total Locations"
range_start = 10
range_end = 50
range_end = 100
default = 20
@@ -130,8 +130,7 @@ class ItemWeights(Choice):
lunartic makes everything a lunar item.
chaos generates the pool completely at random with rarer items having a slight cap to prevent this option being too easy.
no_scraps removes all scrap items from the item pool.
even generates the item pool with every item having an even weight.
scraps_only removes all non scrap items from the item pool."""
even generates the item pool with every item having an even weight."""
displayname = "Item Weights"
option_default = 0
option_new = 1
@@ -141,7 +140,6 @@ class ItemWeights(Choice):
option_chaos = 5
option_no_scraps = 6
option_even = 7
option_scraps_only = 8
#define a dictionary for the weights of the generated item pool.
ror2_weights: typing.Dict[str, type(Option)] = {