Space-Time Vortex: Difference between revisions

500 bytes added ,  19:06, 14 May 2021
add details on how zone is chosen
(upped the cool factor)
(add details on how zone is chosen)
Line 18: Line 18:


Once created, the vortex will begin to move around randomly. If the player, a creature, or another object passes into the same tile as the vortex, or the vortex passes into the same tile as them, they will be teleported to a randomly chosen location somewhere in Qud, be it on the surface, underground, etc. The chosen location will be consistent for anything that crosses through that particular vortex. If the player enters the vortex, they will become [[lost]] upon arriving at their destination.  
Once created, the vortex will begin to move around randomly. If the player, a creature, or another object passes into the same tile as the vortex, or the vortex passes into the same tile as them, they will be teleported to a randomly chosen location somewhere in Qud, be it on the surface, underground, etc. The chosen location will be consistent for anything that crosses through that particular vortex. If the player enters the vortex, they will become [[lost]] upon arriving at their destination.  
The random zone that the vortex leads to is distributed evenly across the whole world map, but tends to be a surface zone: There is a 50% chance that it will be the surface, and the remaining 50% of the time a stratum is chosen evenly from among all strata no deeper than stratum 30. (This means the surface is chosen ''slightly more'' than half of the time, and that you can't be taken to a stratum deeper than 30.){{Code Reference | class = SpaceTimeVortex | method = GetRandomDestinationZoneID}}


There is also a 0.5% chance for a random creature to emerge from the vortex each turn. This can be any creature that is eligible to appear during dynamic encounters.{{Code Reference|namespace=XRL.World.Parts|class=SpaceTimeVortex}}
There is also a 0.5% chance for a random creature to emerge from the vortex each turn. This can be any creature that is eligible to appear during dynamic encounters.{{Code Reference|namespace=XRL.World.Parts|class=SpaceTimeVortex}}