Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raft: Small website/code touchups #1866

Merged
merged 4 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions worlds/raft/Items.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@ def createResourcePackName(amount: int, itemName: str):

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 = {}
Expand Down
3 changes: 2 additions & 1 deletion worlds/raft/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


class RaftWeb(WebWorld):
theme = "ocean"
tutorials = [Tutorial(
"Multiworld Setup Guide",
"A guide to setting up Raft integration for Archipelago multiworld games.",
Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion worlds/raft/docs/setup_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down