Kingdom Hearts: Minor Logic Fixes (#4236)
* Update Rules.py * Update worlds/kh1/Rules.py Co-authored-by: Scipio Wright <scipiowright@gmail.com> * Update worlds/kh1/Rules.py Co-authored-by: Scipio Wright <scipiowright@gmail.com> --------- Co-authored-by: Scipio Wright <scipiowright@gmail.com>
This commit is contained in:
parent
03b90cf39b
commit
36f17111bf
|
@ -235,6 +235,11 @@ def set_rules(kh1world):
|
|||
lambda state: (
|
||||
state.has("Progressive Glide", player)
|
||||
or
|
||||
(
|
||||
state.has("High Jump", player, 2)
|
||||
and state.has("Footprints", player)
|
||||
)
|
||||
or
|
||||
(
|
||||
options.advanced_logic
|
||||
and state.has_all({
|
||||
|
@ -246,6 +251,11 @@ def set_rules(kh1world):
|
|||
lambda state: (
|
||||
state.has("Progressive Glide", player)
|
||||
or
|
||||
(
|
||||
state.has("High Jump", player, 2)
|
||||
and state.has("Footprints", player)
|
||||
)
|
||||
or
|
||||
(
|
||||
options.advanced_logic
|
||||
and state.has_all({
|
||||
|
@ -258,7 +268,6 @@ def set_rules(kh1world):
|
|||
|
||||
state.has("Footprints", player)
|
||||
or (options.advanced_logic and state.has("Progressive Glide", player))
|
||||
or state.has("High Jump", player, 2)
|
||||
))
|
||||
add_rule(kh1world.get_location("Wonderland Tea Party Garden Across From Bizarre Room Entrance Chest"),
|
||||
lambda state: (
|
||||
|
@ -376,7 +385,7 @@ def set_rules(kh1world):
|
|||
lambda state: state.has("White Trinity", player))
|
||||
add_rule(kh1world.get_location("Monstro Chamber 6 Other Platform Chest"),
|
||||
lambda state: (
|
||||
state.has("High Jump", player)
|
||||
state.has_all(("High Jump", "Progressive Glide"), player)
|
||||
or (options.advanced_logic and state.has("Combo Master", player))
|
||||
))
|
||||
add_rule(kh1world.get_location("Monstro Chamber 6 Platform Near Chamber 5 Entrance Chest"),
|
||||
|
@ -386,7 +395,7 @@ def set_rules(kh1world):
|
|||
))
|
||||
add_rule(kh1world.get_location("Monstro Chamber 6 Raised Area Near Chamber 1 Entrance Chest"),
|
||||
lambda state: (
|
||||
state.has("High Jump", player)
|
||||
state.has_all(("High Jump", "Progressive Glide"), player)
|
||||
or (options.advanced_logic and state.has("Combo Master", player))
|
||||
))
|
||||
add_rule(kh1world.get_location("Halloween Town Moonlight Hill White Trinity Chest"),
|
||||
|
@ -595,6 +604,7 @@ def set_rules(kh1world):
|
|||
lambda state: (
|
||||
state.has("Green Trinity", player)
|
||||
and has_all_magic_lvx(state, player, 2)
|
||||
and has_defensive_tools(state, player)
|
||||
))
|
||||
add_rule(kh1world.get_location("Neverland Hold Flight 2nd Chest"),
|
||||
lambda state: (
|
||||
|
@ -710,8 +720,7 @@ def set_rules(kh1world):
|
|||
lambda state: state.has("White Trinity", player))
|
||||
add_rule(kh1world.get_location("End of the World Giant Crevasse 5th Chest"),
|
||||
lambda state: (
|
||||
state.has("High Jump", player)
|
||||
or state.has("Progressive Glide", player)
|
||||
state.has("Progressive Glide", player)
|
||||
))
|
||||
add_rule(kh1world.get_location("End of the World Giant Crevasse 1st Chest"),
|
||||
lambda state: (
|
||||
|
@ -1441,10 +1450,11 @@ def set_rules(kh1world):
|
|||
has_emblems(state, player, options.keyblades_unlock_chests)
|
||||
and has_x_worlds(state, player, 7, options.keyblades_unlock_chests)
|
||||
and has_defensive_tools(state, player)
|
||||
and state.has("Progressive Blizzard", player, 3)
|
||||
))
|
||||
add_rule(kh1world.get_location("Agrabah Defeat Kurt Zisa Zantetsuken Event"),
|
||||
lambda state: (
|
||||
has_emblems(state, player, options.keyblades_unlock_chests) and has_x_worlds(state, player, 7, options.keyblades_unlock_chests) and has_defensive_tools(state, player)
|
||||
has_emblems(state, player, options.keyblades_unlock_chests) and has_x_worlds(state, player, 7, options.keyblades_unlock_chests) and has_defensive_tools(state, player) and state.has("Progressive Blizzard", player, 3)
|
||||
))
|
||||
if options.super_bosses or options.goal.current_key == "sephiroth":
|
||||
add_rule(kh1world.get_location("Olympus Coliseum Defeat Sephiroth Ansem's Report 12"),
|
||||
|
|
Loading…
Reference in New Issue