mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
@@ -53,6 +53,7 @@ def create_random_items(world: NoitaWorld, weights: Dict[str, int], count: int)
|
|||||||
filler_pool = weights.copy()
|
filler_pool = weights.copy()
|
||||||
if not world.options.bad_effects:
|
if not world.options.bad_effects:
|
||||||
del filler_pool["Trap"]
|
del filler_pool["Trap"]
|
||||||
|
del filler_pool["Greed Die"]
|
||||||
|
|
||||||
return world.random.choices(population=list(filler_pool.keys()),
|
return world.random.choices(population=list(filler_pool.keys()),
|
||||||
weights=list(filler_pool.values()),
|
weights=list(filler_pool.values()),
|
||||||
@@ -114,7 +115,7 @@ item_table: Dict[str, ItemData] = {
|
|||||||
"Secret Potion": ItemData(110024, "Items", ItemClassification.filler),
|
"Secret Potion": ItemData(110024, "Items", ItemClassification.filler),
|
||||||
"Powder Pouch": ItemData(110025, "Items", ItemClassification.filler),
|
"Powder Pouch": ItemData(110025, "Items", ItemClassification.filler),
|
||||||
"Chaos Die": ItemData(110026, "Items", ItemClassification.filler),
|
"Chaos Die": ItemData(110026, "Items", ItemClassification.filler),
|
||||||
"Greed Die": ItemData(110027, "Items", ItemClassification.filler),
|
"Greed Die": ItemData(110027, "Items", ItemClassification.trap),
|
||||||
"Kammi": ItemData(110028, "Items", ItemClassification.filler, 1),
|
"Kammi": ItemData(110028, "Items", ItemClassification.filler, 1),
|
||||||
"Refreshing Gourd": ItemData(110029, "Items", ItemClassification.filler, 1),
|
"Refreshing Gourd": ItemData(110029, "Items", ItemClassification.filler, 1),
|
||||||
"Sädekivi": ItemData(110030, "Items", ItemClassification.filler),
|
"Sädekivi": ItemData(110030, "Items", ItemClassification.filler),
|
||||||
|
Reference in New Issue
Block a user