Skip to content

Commit b347800

Browse files
committed
Made it so collectable requirements gates the goal level, and fixed documentation
1 parent d4e653b commit b347800

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

worlds/celeste/docs/en_Celeste.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,17 @@ greyed out cannot be pressed, blocking access to Chapters/Sides that are not yet
3535

3636
## What is the goal for a Celeste world?
3737

38-
At the moment, the only available goal for a Celeste world is to complete "Chapter 10: Farewell". This is done by
39-
receiving one of the three `Level 9 X-Side Completion` items from the multi-world, and then accessing and playing
40-
through Chapter 10.
38+
The following goals can be selected for a Celeste world:
39+
- Completing "Chapter 7: The Summit" A-Side.
40+
- Completing "Chapter 8: Core" A-Side.
41+
- Completing "Chapter 9: Farewell" A-Side.
4142

4243
There is a set of options that allow you to configure how many items of different types need to have been collected
43-
prior to passing through the Crystal Heart Gate in Chapter 10. It defaults to matching the original story progression
44-
(i.e., requiring 15 different Crystal Hearts and nothing else), but can be modified to make it either easier or harder
45-
to pass through the gate. The required number of Cassettes, Crystal Hearts, Level Completions, and Strawberries can all
46-
be configured.
44+
prior to accessing the goal level. The required number of Cassettes, Crystal Hearts, Level Completions, and Strawberries can all be configured.
4745

4846
The following goals are currently being planned for addition:
49-
- Completing "Chapter 7: The Summit" A-Side.
50-
- Completing "Chapter 8: Core" A-Side.
5147
- Completing some set of Sides (e.g., all A-Sides, all A and B-Sides, etc) for all Chapters in-game.
5248

53-
5449
The following configuration options are also being planned:
5550
- Toggle for whether the end-game item checks are based on receiving items from the multi-world or completing location
5651
checks.

worlds/celeste/items.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def create_from_pandas(world: World, row: Dict[str, Any]) -> "CelesteLocation":
9999
location.access_rule = lambda state: state.has_group("gemhearts", world.player, 15)
100100
elif location.side == 2:
101101
location.access_rule = lambda state: state.has_group("gemhearts", world.player, 23)
102-
if location.level == 10:
102+
if location.level == world.completion_level:
103103
location.access_rule = (
104104
lambda state: state.has_group(
105105
"gemhearts", world.player, get_option_value(world.multiworld, world.player, "hearts_required")

worlds/celeste/options.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99

1010
class BerriesRequired(Range):
11-
"""Number of Strawberries required to pass through the Crystal Heart Gate in Chapter 9: Farewell."""
11+
"""Number of Strawberries required to access the goal level."""
1212

1313
display_name = "Strawberry Requirement"
1414
range_start = 0
@@ -17,7 +17,7 @@ class BerriesRequired(Range):
1717

1818

1919
class CassettesRequired(Range):
20-
"""Number of Cassettes required to pass through the Crystal Heart Gate in Chapter 9: Farewell."""
20+
"""Number of Cassettes required to access the goal level."""
2121

2222
display_name = "Cassette Requirement"
2323
range_start = 0
@@ -26,16 +26,16 @@ class CassettesRequired(Range):
2626

2727

2828
class HeartsRequired(Range):
29-
"""Number of Crystal Hearts required to pass through the Crystal Heart Gate in Chapter 9: Farewell."""
29+
"""Number of Crystal Hearts required to access the goal level."""
3030

3131
display_name = "Crystal Heart Requirement"
3232
range_start = 0
3333
range_end = 24
34-
default = 15
34+
default = 0
3535

3636

3737
class LevelsRequired(Range):
38-
"""Number of Level Completions required to pass through the Crystal Heart Gate in Chapter 9: Farewell."""
38+
"""Number of Level Completions required to access the goal level."""
3939

4040
display_name = "Level Completion Requirement"
4141
range_start = 0

0 commit comments

Comments
 (0)