forked from Hay1tsme/artemis
Added customization unlock overrides
This commit is contained in:
@ -65,6 +65,17 @@ class ChuniModsConfig:
|
||||
self.__config, "chuni", "mods", "stock_count", default=99
|
||||
)
|
||||
|
||||
def forced_item_unlocks(self, item: str) -> bool:
|
||||
forced_item_unlocks = CoreConfig.get_config_field(
|
||||
self.__config, "chuni", "mods", "forced_item_unlocks", default={}
|
||||
)
|
||||
|
||||
if item not in forced_item_unlocks.keys():
|
||||
# default to no forced unlocks
|
||||
return False
|
||||
|
||||
return forced_item_unlocks[item]
|
||||
|
||||
|
||||
class ChuniVersionConfig:
|
||||
def __init__(self, parent_config: "ChuniConfig") -> None:
|
||||
|
Reference in New Issue
Block a user