parent
1ded7b2fd4
commit
2e0769c90e
|
@ -53,6 +53,7 @@ def create_random_items(world: NoitaWorld, weights: Dict[str, int], count: int)
|
|||
filler_pool = weights.copy()
|
||||
if not world.options.bad_effects:
|
||||
del filler_pool["Trap"]
|
||||
del filler_pool["Greed Die"]
|
||||
|
||||
return world.random.choices(population=list(filler_pool.keys()),
|
||||
weights=list(filler_pool.values()),
|
||||
|
@ -114,7 +115,7 @@ item_table: Dict[str, ItemData] = {
|
|||
"Secret Potion": ItemData(110024, "Items", ItemClassification.filler),
|
||||
"Powder Pouch": ItemData(110025, "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),
|
||||
"Refreshing Gourd": ItemData(110029, "Items", ItemClassification.filler, 1),
|
||||
"Sädekivi": ItemData(110030, "Items", ItemClassification.filler),
|
||||
|
|
Loading…
Reference in New Issue