Add stone theme to WebHost (#645)
* Add stone theme * Fix h2 color, change rogue-legacy to stone theme (approved by Phar) * Add stone theme preview to world api.md * Different stone theme preview to match other images
This commit is contained in:
@@ -72,7 +72,7 @@ class TimespinnerWorld(World):
|
||||
self.world.StartWithJewelryBox[self.player].value = self.world.StartWithJewelryBox[self.player].option_true
|
||||
|
||||
def create_regions(self):
|
||||
create_regions(self.world, self.player, get_locations(self.world, self.player),
|
||||
create_regions(self.world, self.player, get_locations(self.world, self.player),
|
||||
self.location_cache, self.pyramid_keys_unlock)
|
||||
|
||||
def create_item(self, name: str) -> Item:
|
||||
@@ -131,7 +131,7 @@ def get_excluded_items(self: TimespinnerWorld, world: MultiWorld, player: int) -
|
||||
for item in world.precollected_items[player]:
|
||||
if item.name not in self.item_name_groups['UseItem']:
|
||||
excluded_items.add(item.name)
|
||||
|
||||
|
||||
return excluded_items
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@ def assign_starter_items(world: MultiWorld, player: int, excluded_items: Set[str
|
||||
assign_starter_item(world, player, excluded_items, locked_locations, 'Tutorial: Yo Momma 2', local_starter_spells)
|
||||
|
||||
|
||||
def assign_starter_item(world: MultiWorld, player: int, excluded_items: Set[str], locked_locations: List[str],
|
||||
def assign_starter_item(world: MultiWorld, player: int, excluded_items: Set[str], locked_locations: List[str],
|
||||
location: str, item_list: Tuple[str, ...]):
|
||||
|
||||
item_name = world.random.choice(item_list)
|
||||
@@ -193,7 +193,7 @@ def place_first_progression_item(world: MultiWorld, player: int, excluded_items:
|
||||
for item in world.precollected_items[player]:
|
||||
if item.name in starter_progression_items:
|
||||
return
|
||||
|
||||
|
||||
local_starter_progression_items = tuple(
|
||||
item for item in starter_progression_items if item not in world.non_local_items[player].value)
|
||||
non_excluded_starter_progression_locations = tuple(
|
||||
@@ -252,5 +252,5 @@ def get_personal_items(player: int, locations: List[Location]) -> Dict[int, int]
|
||||
for location in locations:
|
||||
if location.address and location.item and location.item.code and location.item.player == player:
|
||||
personal_items[location.address] = location.item.code
|
||||
|
||||
|
||||
return personal_items
|
||||
|
||||
Reference in New Issue
Block a user