LADX: Stabilize Item Pool Option (#3935)
Co-authored-by: Scipio Wright <scipiowright@gmail.com> Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
@@ -68,10 +68,12 @@ DEFAULT_ITEM_POOL = {
|
||||
|
||||
|
||||
class ItemPool:
|
||||
def __init__(self, logic, settings, rnd):
|
||||
def __init__(self, logic, settings, rnd, stabilize_item_pool: bool):
|
||||
self.__pool = {}
|
||||
self.__setup(logic, settings)
|
||||
self.__randomizeRupees(settings, rnd)
|
||||
|
||||
if not stabilize_item_pool:
|
||||
self.__randomizeRupees(settings, rnd)
|
||||
|
||||
def add(self, item, count=1):
|
||||
self.__pool[item] = self.__pool.get(item, 0) + count
|
||||
|
||||
Reference in New Issue
Block a user