Noita: Make greed die a trap (#4382)

Noita make greed die a trap
This commit is contained in:
Scipio Wright 2024-12-19 20:30:41 -05:00 committed by GitHub
parent 1ded7b2fd4
commit 2e0769c90e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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),