Remove total_items option.

This commit is contained in:
Hussein Farran
2021-09-01 17:35:16 -04:00
parent c73b994305
commit df435eb693
3 changed files with 9 additions and 14 deletions

View File

@@ -43,7 +43,7 @@ class RiskOfRainWorld(World):
# Fill remaining items with randomly generated junk
itempool += self.world.random.choices(list(junk_pool.keys()), weights=list(junk_pool.values()),
k=self.world.total_items[self.player] -
k=self.world.total_locations[self.player] -
self.world.total_revivals[self.player])
# Convert itempool into real items
@@ -61,7 +61,7 @@ class RiskOfRainWorld(World):
return {
"itemPickupStep": self.world.item_pickup_step[self.player].value,
"seed": "".join(self.world.slot_seeds[self.player].choice(string.digits) for i in range(16)),
"totalLocations": self.world.total_items[self.player].value,
"totalLocations": self.world.total_locations[self.player].value,
"totalRevivals": self.world.total_revivals[self.player].value
}