Refactor spoiler generation for VT integration.

This commit is contained in:
LLCoolDave
2017-07-18 12:44:13 +02:00
parent 3b7b65cf56
commit b6c4bf6bd6
5 changed files with 219 additions and 216 deletions

View File

@@ -30,8 +30,6 @@ def set_rules(world):
if not world.swamp_patch_required:
add_rule(world.get_entrance('Swamp Palace Moat'), lambda state: state.has_Mirror())
return ''
def set_rule(spot, rule):
spot.access_rule = rule