Raft: Small website/code touchups (#1866)

* Remove unnecessary Set

* Ocean theme

* Use create_items instead of generate_basic
This commit is contained in:
Sunny Bat
2023-06-14 15:30:14 -07:00
committed by GitHub
parent ce2433b247
commit 599d0ac81b
3 changed files with 3 additions and 5 deletions

View File

@@ -14,6 +14,7 @@ from ..AutoWorld import World, WebWorld
class RaftWeb(WebWorld):
theme = "ocean"
tutorials = [Tutorial(
"Multiworld Setup Guide",
"A guide to setting up Raft integration for Archipelago multiworld games.",
@@ -42,7 +43,7 @@ class RaftWorld(World):
data_version = 2
required_client_version = (0, 3, 4)
def generate_basic(self):
def create_items(self):
minRPSpecified = self.multiworld.minimum_resource_pack_amount[self.player].value
maxRPSpecified = self.multiworld.maximum_resource_pack_amount[self.player].value
minimumResourcePackAmount = min(minRPSpecified, maxRPSpecified)