mirror of
				https://github.com/MarioSpore/Grinch-AP.git
				synced 2025-10-21 20:21:32 -06:00 
			
		
		
		
	Core: move multiple Item properties into a single Flag (#638)
This commit is contained in:
		| @@ -5,7 +5,7 @@ from .Locations import location_table, V6Location | ||||
| from .Options import v6_options | ||||
| from .Rules import set_rules | ||||
| from .Regions import create_regions | ||||
| from BaseClasses import Region, RegionType, Entrance, Item, MultiWorld, Tutorial | ||||
| from BaseClasses import Item, ItemClassification, Tutorial | ||||
| from ..AutoWorld import World, WebWorld | ||||
|  | ||||
| client_version = 1 | ||||
| @@ -53,7 +53,7 @@ class V6World(World): | ||||
|         set_rules(self.world, self.player, self.area_connections, self.area_cost_map) | ||||
|  | ||||
|     def create_item(self, name: str) -> Item: | ||||
|         return V6Item(name, True, item_table[name], self.player) | ||||
|         return V6Item(name, ItemClassification.progression, item_table[name], self.player) | ||||
|  | ||||
|     def generate_basic(self): | ||||
|         trinkets = [self.create_item("Trinket " + str(i+1).zfill(2)) for i in range(0,20)] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fabian Dill
					Fabian Dill