Opened 14 years ago
Closed 14 years ago
#221 closed bug (fixed)
Teleports can lead into a locked vault
Reported by: | tehtmi | Owned by: | tehtmi |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.9.4 |
Component: | lua | Version: | 0.9.9.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
A teleport's destination is chosen right after it is generated. However, it is possible for the layout of the level to change after the teleport is generated. Generally, these changes come from placing other rooms.
This means teleports can have several unfortunate destinations: lava rooms, locked vaults, or occasionally walls. Adding more room types will only aggravate the problem.
One solution would be to generate a teleport's destination the first time it is used, as the level will have finished generating by then.
Change History (1)
comment:1 Changed 14 years ago by epyon
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [1657]) * teleport destination is determined at first use, no in-vault teleporting anymore (fixes #221)