From 63f31954862d8bbeccdf6027240ca997082d57e0 Mon Sep 17 00:00:00 2001
From: Marten Mrfc <101009922+Marten-Mrfc@users.noreply.github.com>
Date: Sat, 14 Dec 2024 19:33:55 +0100
Subject: [PATCH] [Docs] Added questField
---
documentation/src/components/EntryField/index.tsx | 7 +++++++
documentation/src/components/EntryInspector/index.tsx | 7 ++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/documentation/src/components/EntryField/index.tsx b/documentation/src/components/EntryField/index.tsx
index 6c475307d3..f4bb0041be 100644
--- a/documentation/src/components/EntryField/index.tsx
+++ b/documentation/src/components/EntryField/index.tsx
@@ -117,6 +117,13 @@ export const SoundField = () => {
);
};
+export const questField = () => {
+ return (
+
+ The quest of the entry.
+
+ );
+};
/**
* @deprecated Should be individualy be generated by the documentation generator.
diff --git a/documentation/src/components/EntryInspector/index.tsx b/documentation/src/components/EntryInspector/index.tsx
index 5bb69a4122..25d064ffe5 100644
--- a/documentation/src/components/EntryInspector/index.tsx
+++ b/documentation/src/components/EntryInspector/index.tsx
@@ -369,6 +369,9 @@ function CustomFieldInspector({
if (editor === "duration") {
return ;
}
+ if (editor === "ref") {
+ return ;
+ }
if (editor === "soundId") {
return ;
}
@@ -637,7 +640,9 @@ function DurationField({ duration, path }: { duration: number; path: string }) {
function SoundIdField({ value, path }: { value: string; path: string }) {
return ;
}
-
+function QuestField({ value, path }: { value: string; path: string }) {
+ return ;
+}
interface SoundSourceFieldProps {
type: "self" | "emitter" | "location";
entryId: string;