Skip to content

Commit db095b3

Browse files
committed
Merge branch 'main' into fixfilenames
2 parents 97d1bcc + 2665f2d commit db095b3

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

worlds/crystal_project/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,16 +398,16 @@ def set_rules(self) -> None:
398398
win_condition_item: str
399399
if self.options.goal == self.options.goal.option_astley:
400400
win_condition_item = "Item - New World Stone" # todo should this still be here if we auto-hand you the stone?
401-
elif self.options.goal == self.options.goal.option_true_astley:
402-
win_condition_item = "Item - Old World Stone"
401+
#elif self.options.goal == self.options.goal.option_true_astley:
402+
# win_condition_item = "Item - Old World Stone"
403403
elif self.options.goal == self.options.goal.option_clamshells:
404404
win_condition_item = "Item - Clamshell"
405405

406406
if self.options.goal == 0:
407407
self.multiworld.completion_condition[self.player] = lambda state: logic.has_jobs(state, self.options.newWorldStoneJobQuantity.value)
408-
if self.options.goal == 1:
409-
self.multiworld.completion_condition[self.player] = lambda state: state.has(win_condition_item, self.player)
410-
if self.options.goal == 2:
408+
#elif self.options.goal == 1:
409+
# self.multiworld.completion_condition[self.player] = lambda state: state.has(win_condition_item, self.player)
410+
elif self.options.goal == 2:
411411
self.multiworld.completion_condition[self.player] = lambda state: state.has(win_condition_item, self.player, self.options.clamshellsQuantity.value)
412412

413413
def get_job_id_list(self) -> List[int]:

worlds/crystal_project/options.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ class Goal(Choice):
1313
1414
Astley: Defeat Astley in the New World. A New World Stone will be given to the player after obtaining a certain number of jobs.
1515
16-
True Astley: Defeat Astley but more somehow.
17-
1816
Clamshells: Collect enough clamshells for the clam lover.
1917
"""
2018
display_name = "Goal"
2119
option_astley = 0
22-
option_true_astley = 1
20+
#option_true_astley = 1 True Astley: Defeat Astley but more somehow.
2321
option_clamshells = 2
2422
default = 0
2523

@@ -120,7 +118,7 @@ class IncludedRegions(Choice):
120118
default = 3
121119

122120
#"""Progression Options"""
123-
class LevelGating(Toggle):
121+
class LevelGating(DefaultOnToggle):
124122
"""
125123
When enabled, the parties maximum level will be capped, with items in the pool increasing that cap.
126124
Areas in the game will be considered out of logic (but still accessible) if the party level cap is below the area level.
@@ -158,13 +156,11 @@ class KeyMode(Choice):
158156
159157
Skeleton Key: Only the Skeleton Key, which can open any locked door, will be in your item pool.
160158
161-
Key Ring: One check will give all keys needed to complete one dungeon. The Skeleton Key will still be in the pool. NOT IMPLEMENTED
162-
163159
Vanilla: All vanilla keys will be in the item pool.
164160
"""
165161
display_name = "Key Mode"
166162
option_skeleton = 0
167-
option_key_ring = 1
163+
#option_key_ring = 1 Key Ring: One check will give all keys needed to complete one dungeon. The Skeleton Key will still be in the pool.
168164
option_vanilla = 2
169165
default = 2
170166

0 commit comments

Comments
 (0)