mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-07 23:25:51 -08:00
Compare commits
3 Commits
NewSoupVi-
...
NewSoupVi-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a69c73eed | ||
|
|
e6250fbcd8 | ||
|
|
d09295e726 |
@@ -335,6 +335,13 @@ class MultiWorld():
|
||||
for item_name, item_count in next(iter(common_item_count.values())).items():
|
||||
for _ in range(item_count):
|
||||
new_item = group["world"].create_item(item_name)
|
||||
|
||||
# Make sure this item is picked up even if it is not progression
|
||||
# (Monkeypatching a property is kind of hard, this is one of the only ways)
|
||||
class AdvancementTrue(new_item.__class__):
|
||||
advancement = True
|
||||
new_item.__class__ = AdvancementTrue
|
||||
|
||||
# mangle together all original classification bits
|
||||
new_item.classification |= classifications[item_name]
|
||||
new_itempool.append(new_item)
|
||||
|
||||
Reference in New Issue
Block a user