Expand room generation fidelity and magic item actions

This commit is contained in:
Keith Solomon
2026-03-20 17:06:45 -05:00
parent 37e2b27870
commit 9f494461de
19 changed files with 3800 additions and 6 deletions
+18
View File
@@ -155,12 +155,29 @@ export type CreatureDefinition = {
export type ExitType = "open" | "door" | "locked" | "secret" | "shaft" | "stairs";
export type RoomObjectType =
| "container"
| "altar"
| "corpse"
| "hazard"
| "feature"
| "quest";
export type ExitTemplate = {
direction?: "north" | "east" | "south" | "west";
exitType: ExitType;
destinationLevel?: number;
};
export type RoomObjectTemplate = {
objectType: RoomObjectType;
title: string;
sourceTableCode?: string;
hidden?: boolean;
searchable?: boolean;
notes?: string;
};
export type RoomClass = "normal" | "small" | "large" | "special" | "start" | "stairs";
export type RoomTemplate = {
@@ -180,6 +197,7 @@ export type RoomTemplate = {
height: number;
};
exits?: ExitTemplate[];
objects?: RoomObjectTemplate[];
encounterRefs?: ContentReference[];
objectRefs?: ContentReference[];
tags: string[];