From 599d0ac81b1b8ea3099fc968a01185485bb4823f Mon Sep 17 00:00:00 2001 From: Sunny Bat Date: Wed, 14 Jun 2023 15:30:14 -0700 Subject: [PATCH] Raft: Small website/code touchups (#1866) * Remove unnecessary Set * Ocean theme * Use create_items instead of generate_basic --- worlds/raft/Items.py | 3 --- worlds/raft/__init__.py | 3 ++- worlds/raft/docs/setup_en.md | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/worlds/raft/Items.py b/worlds/raft/Items.py index 45603595..76b896f6 100644 --- a/worlds/raft/Items.py +++ b/worlds/raft/Items.py @@ -13,15 +13,12 @@ with open(os.path.join(os.path.dirname(__file__), 'resourcepacks.json'), 'r') as lookup_id_to_name = {} lookup_name_to_item = {} -advancement_item_names = set() lastItemId = -1 for item in item_table: item_name = item["name"] lookup_id_to_name[item["id"]] = item_name lookup_name_to_item[item_name] = item - if item["progression"]: - advancement_item_names.add(item_name) lastItemId = max(lastItemId, item["id"]) progressive_item_list = {} diff --git a/worlds/raft/__init__.py b/worlds/raft/__init__.py index b66d0d08..1ecf3ede 100644 --- a/worlds/raft/__init__.py +++ b/worlds/raft/__init__.py @@ -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) diff --git a/worlds/raft/docs/setup_en.md b/worlds/raft/docs/setup_en.md index 4d84ef0f..236bb8d8 100644 --- a/worlds/raft/docs/setup_en.md +++ b/worlds/raft/docs/setup_en.md @@ -9,7 +9,7 @@ ## Installation Procedures -1. Install Raft. The currently-supported Raft version is Version 1.0: The Final Chapter. Any minor version (such as 1.08) should be compatible. +1. Install Raft. The currently-supported Raft version is Version 1.0: The Final Chapter. Any minor version (such as 1.09) should be compatible. 2. Install RML.