Commit Graph
18 Commits
Author SHA1 Message Date
tolmar 64bdedf1e3 Loosen EP rules
EP boss rules no longer need BK+bow, since those were actually requirements of the rooms leading up to the boss.
2019-09-15 23:41:08 -07:00
tolmar dda7dbaad4 "Ugly door" support
Ugly doors are doors that we don't want to see from the front:
- south-facing side of a BK door
- other side of one of those keyed staircases that don't actually have a matching key on the other side

This rejects layouts where one would appear.
2019-09-15 23:40:06 -07:00
tolmar 9fa26ef067 Handle multiple startpoints and some blocked doors
Better blocked door handling:
- Start dungeon layout at the entrance
- Hold off on linking from blocked doors until the end of the dungeon, so they either point deeper in, or get added as a loop.
- Now that we care what the start is, properly handle the fact that dungeons have multiple starts.
2019-09-15 21:14:51 -07:00
tolmar 6ac00c2968 Eastern Palace Logic
Works sometimes. Either needs a south-facing big key door hack, or a way to avoid placing big key doors in places where you can see their back.
2019-09-15 11:35:35 -07:00
tolmar 40f345df13 Simple key logic for Escape
Adds ability to make a location for required keys (enemy drops and pots), so the filler knows about them.

Uses the most pessimistic possible rule to make sure you can't keylock yourself in Escape.
2019-09-15 02:28:04 -07:00
tolmar 3a872723b0 Use connect_one_way when doors are blocked
Shuffler doesn't respect blocked doors yet so it may create an unbeatable layout, and the item placer will panic. But that's better than silently giving the player something impossible
2019-09-15 02:24:48 -07:00
tolmar b1e20c9c94 Revert forced keys change
I think I found a better way to do it
2019-09-15 00:27:51 -07:00
tolmar cce2ef12fa Add lamp rules to door entrances 2019-09-15 00:08:56 -07:00
tolmar c8bd17042e More door fixes 2019-09-15 00:08:30 -07:00
tolmar b4028f429a Merge branch 'DoorDev' into DoorShuffleStandardModeDev 2019-09-14 22:15:55 -07:00
tolmar fcd810b4f3 Force pair keydoors 2019-09-14 22:09:21 -07:00
tolmar 8513dff636 Fix some incorrect door keyness 2019-09-14 22:08:32 -07:00
tolmar b07c71a487 Merge branch 'DoorDev' into DoorShuffleStandardModeDev 2019-09-07 16:44:26 -07:00
tolmar 861195eb8b Add internal key data
Adds forced keys (enemy and pot drops) to regions, adds key doors within supertiles.
2019-09-07 16:39:39 -07:00
tolmar a0b9b1fefe Clean up shuffle_dungeon
Use logger instead of print, loop shuffling until it works.
2019-09-06 18:14:48 -07:00
tolmar cd3735fc2f Add spiral staircases to basic shuffle
Makes the basic shuffler attempt to link spiral stairs.
2019-09-05 11:29:15 -07:00
tolmar 274634acfd Merge pull request #2 from aerinon/DoorShuffleStandardModeDev
Fill in standard mode shuffle
2019-08-27 09:45:45 -07:00
tolmar 5a891c68d1 Fill in standard mode shuffle
A bit ugly for now, but it basically works. Still needs logic.
2019-08-26 21:37:31 -07:00