VVVVVV: Make unnecessary Trinkets filler (#3806)

* Make unnecessary trinkets filler

* Proper syntax

Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>

---------

Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
Scrungip 2024-08-18 16:03:57 -05:00 committed by GitHub
parent 2b1802ccee
commit 49a5b52774
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -49,12 +49,14 @@ class V6World(World):
self.area_cost_map = {}
set_rules(self.multiworld, self.options, self.player, self.area_connections, self.area_cost_map)
def create_item(self, name: str) -> Item:
return V6Item(name, ItemClassification.progression, item_table[name], self.player)
def create_item(self, name: str, classification: ItemClassification = ItemClassification.filler) -> Item:
return V6Item(name, classification, item_table[name], self.player)
def create_items(self):
trinkets = [self.create_item("Trinket " + str(i+1).zfill(2)) for i in range(0,20)]
self.multiworld.itempool += trinkets
progtrinkets = [self.create_item("Trinket " + str(i+1).zfill(2), ItemClassification.progression) for i in range(0, (4 * self.options.door_cost.value))]
filltrinkets = [self.create_item("Trinket " + str(i+1).zfill(2)) for i in range((4 * self.options.door_cost.value), 20)]
self.multiworld.itempool += progtrinkets
self.multiworld.itempool += filltrinkets
def generate_basic(self):
musiclist_o = [1,2,3,4,9,12]