Skip to content

Commit 599d0ac

Browse files
authored
Raft: Small website/code touchups (#1866)
* Remove unnecessary Set * Ocean theme * Use create_items instead of generate_basic
1 parent ce2433b commit 599d0ac

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

worlds/raft/Items.py

-3
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ def createResourcePackName(amount: int, itemName: str):
1313

1414
lookup_id_to_name = {}
1515
lookup_name_to_item = {}
16-
advancement_item_names = set()
1716

1817
lastItemId = -1
1918
for item in item_table:
2019
item_name = item["name"]
2120
lookup_id_to_name[item["id"]] = item_name
2221
lookup_name_to_item[item_name] = item
23-
if item["progression"]:
24-
advancement_item_names.add(item_name)
2522
lastItemId = max(lastItemId, item["id"])
2623

2724
progressive_item_list = {}

worlds/raft/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515

1616
class RaftWeb(WebWorld):
17+
theme = "ocean"
1718
tutorials = [Tutorial(
1819
"Multiworld Setup Guide",
1920
"A guide to setting up Raft integration for Archipelago multiworld games.",
@@ -42,7 +43,7 @@ class RaftWorld(World):
4243
data_version = 2
4344
required_client_version = (0, 3, 4)
4445

45-
def generate_basic(self):
46+
def create_items(self):
4647
minRPSpecified = self.multiworld.minimum_resource_pack_amount[self.player].value
4748
maxRPSpecified = self.multiworld.maximum_resource_pack_amount[self.player].value
4849
minimumResourcePackAmount = min(minRPSpecified, maxRPSpecified)

worlds/raft/docs/setup_en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## Installation Procedures
1111

12-
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.
12+
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.
1313

1414
2. Install RML.
1515

0 commit comments

Comments
 (0)