From c12e18892b5f31743e5c2eb359d84caccf8649eb Mon Sep 17 00:00:00 2001 From: Eric Pierce Date: Tue, 10 Aug 2021 16:16:16 -0600 Subject: [PATCH] Move sidebar.json to new data/json/ui directory --- data/json/{ => ui}/sidebar.json | 0 doc/SIDEBAR_MOD.md | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename data/json/{ => ui}/sidebar.json (100%) diff --git a/data/json/sidebar.json b/data/json/ui/sidebar.json similarity index 100% rename from data/json/sidebar.json rename to data/json/ui/sidebar.json diff --git a/doc/SIDEBAR_MOD.md b/doc/SIDEBAR_MOD.md index f4100bf2f1f48..16f3edca08925 100644 --- a/doc/SIDEBAR_MOD.md +++ b/doc/SIDEBAR_MOD.md @@ -26,7 +26,7 @@ character attributes in numeric form, or as a bar graph of arbitrary width. A wi layout of other widgets. Widget instances are defined by JSON data, with the main game sidebar widgets and layouts being in -`data/json/sidebar.json`. You may customize yours by editing this file, or by loading a mod that +`data/json/ui/sidebar.json`. You may customize yours by editing this file, or by loading a mod that adds or modifies widget definitions. For example, here is a widget to display the player character's "Focus" attribute as a number: @@ -310,7 +310,7 @@ Str: 8 Dex: 9 Int: 7 Per: 11 ### Root layouts -There are two important "root layout" widgets defined in `data/json/sidebar.json`: +There are two important "root layout" widgets defined in `data/json/ui/sidebar.json`: - Widget id "root_layout_wide" is used for "labels" and "classic" sidebars - Widget id "root_layout_narrow" is used for "compact" and "labels narrow" sidebars