From 228dbba73e5553bb33e3cd63c60061e5ab02ec99 Mon Sep 17 00:00:00 2001 From: AardCrowley Date: Sat, 6 Aug 2022 17:16:44 -0400 Subject: [PATCH] Create RoomWindow.xml --- RoomWindow.xml | 195 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 RoomWindow.xml diff --git a/RoomWindow.xml b/RoomWindow.xml new file mode 100644 index 0000000..724b1d2 --- /dev/null +++ b/RoomWindow.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + + + + + + if not string.find("%1", "roomchars") then + roomCharsWin:add_text(TriggerStyleRuns, false) + end + + + +EnableTrigger("charCapture", false) +EnableTrigger("charEnd", false) + +if #roomCharsWin:get_text() == 0 then + roomCharsWin:add_text("No room characters to display.", false) +end +roomCharsWin:fit_contents(835, 250) +roomCharsWin:set_scroll(1) +roomCharsWin:show() + + + + +EnableTrigger("charStart", false) +EnableTrigger("charCapture") +EnableTrigger("charEnd") + + + + + if not string.find("%1", "roomobjs") then + roomObjsWin:add_text(TriggerStyleRuns, false) + end + + + +EnableTrigger("objCapture", false) +EnableTrigger("objEnd", false) + +if #roomObjsWin:get_text() == 0 then + roomObjsWin:add_text("No room objects to display.", false) +end +roomObjsWin:fit_contents(835, 250) +roomObjsWin:set_scroll(1) +roomObjsWin:show() + + + + +EnableTrigger("objStart", false) +EnableTrigger("objCapture") +EnableTrigger("objEnd") + + + + + +