mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-23 08:13:22 -07:00
Moved setting early items to generate_early
This commit is contained in:
@@ -320,6 +320,10 @@ class YachtDiceWorld(World):
|
||||
#add precollected items using push_precollected. Items in self.itempool get created in create_items
|
||||
for item in self.precollected:
|
||||
self.multiworld.push_precollected(self.create_item(item))
|
||||
|
||||
#make sure one dice and one roll is early, so that you will have 2 dice and 2 rolls soon
|
||||
self.multiworld.early_items[self.player]["Dice"] = 1
|
||||
self.multiworld.early_items[self.player]["Roll"] = 1
|
||||
|
||||
def create_items(self):
|
||||
self.multiworld.itempool += [self.create_item(name) for name in self.itempool]
|
||||
@@ -358,11 +362,6 @@ class YachtDiceWorld(World):
|
||||
set_yacht_rules(self.multiworld, self.player, self.options)
|
||||
set_yacht_completion_rules(self.multiworld, self.player)
|
||||
|
||||
def pre_fill(self):
|
||||
#in the pre_fill, make sure one dice and one roll is early, so that you will have 2 dice and 2 rolls soon
|
||||
self.multiworld.early_items[self.player]["Dice"] = 1
|
||||
self.multiworld.early_items[self.player]["Roll"] = 1
|
||||
|
||||
def fill_slot_data(self):
|
||||
#make slot data, which consists of yachtdice_data, options, and some other variables.
|
||||
yacht_dice_data = self._get_yachtdice_data()
|
||||
|
||||
Reference in New Issue
Block a user