Expand room generation fidelity and magic item actions
This commit is contained in:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user