mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00

committed by
GitHub

parent
9fd6d1b81f
commit
8e04182b3f
@@ -2,7 +2,7 @@ import string
|
||||
from .Items import item_table, V6Item
|
||||
from .Locations import location_table, V6Location
|
||||
from .Options import v6_options
|
||||
from .Rules import set_rules
|
||||
from .Rules import set_rules, area_connections
|
||||
from .Regions import create_regions
|
||||
from BaseClasses import Region, RegionType, Entrance, Item, MultiWorld
|
||||
from ..AutoWorld import World
|
||||
@@ -23,13 +23,16 @@ class V6World(World):
|
||||
data_version = 1
|
||||
forced_auto_forfeit = False
|
||||
|
||||
area_connections = {}
|
||||
|
||||
options = v6_options
|
||||
|
||||
def create_regions(self):
|
||||
create_regions(self.world,self.player)
|
||||
|
||||
def set_rules(self):
|
||||
set_rules(self.world,self.player)
|
||||
self.area_connections = {}
|
||||
set_rules(self.world,self.player,self.area_connections)
|
||||
|
||||
def create_item(self, name: str) -> Item:
|
||||
return V6Item(name, True, item_table[name], self.player)
|
||||
@@ -39,6 +42,7 @@ class V6World(World):
|
||||
|
||||
def fill_slot_data(self):
|
||||
return {
|
||||
"AreaRando": self.area_connections,
|
||||
"DoorCost": self.world.DoorCost[self.player].value,
|
||||
"DeathLink": self.world.DeathLink[self.player].value,
|
||||
"DeathLink_Amnesty": self.world.DeathLinkAmnesty[self.player].value
|
||||
|
Reference in New Issue
Block a user