implement cursed
This commit is contained in:
parent
71fb238916
commit
a5ab152c2b
|
@ -86,9 +86,9 @@ def gen_items(world: MultiWorld, player: int):
|
||||||
world.push_precollected(item)
|
world.push_precollected(item)
|
||||||
elif item_data.type == "Cursed":
|
elif item_data.type == "Cursed":
|
||||||
if world.CURSED[player]:
|
if world.CURSED[player]:
|
||||||
raise Exception("Cursed is not implemented yet.")
|
pool.append(item)
|
||||||
# implement toss_junk for HK first
|
|
||||||
else:
|
else:
|
||||||
|
# fill Focus Location with Focus and add it to start inventory as well.
|
||||||
event_location = world.get_location(item_name, player)
|
event_location = world.get_location(item_name, player)
|
||||||
world.push_item(event_location, item)
|
world.push_item(event_location, item)
|
||||||
event_location.event = True
|
event_location.event = True
|
||||||
|
|
Loading…
Reference in New Issue