rearrage_stuff

This commit is contained in:
Kim Ravn Hansen
2025-09-16 11:26:40 +02:00
parent 40e8c5e0ab
commit 3f11ebe6dc
4937 changed files with 1146031 additions and 134 deletions

25
models/portal.js Executable file
View File

@@ -0,0 +1,25 @@
/**
* Connects two location ONE WAY.
*
* Example: two adjacent rooms connected by a door:
* Room A has a portal to Room B, and
* Room B has a portal to Room A.
*
* @todo Add encounters to portals
*/
export class Portal {
/**
* Target Location.
*/
_targetLocationId;
/**
* Description shown to the player when they inspect the portal from the source location.
*/
_description;
/**
* Description shown to the player when they traverse the portal.
*/
_traversalDescription;
}