Remove total_items option.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user