You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Reactive,Category("Misc"),DisplayName("Allow saving as vanilla object"),Description("If enabled, the editor will allow saving objects with \"Vanilla\" flag set. If disabled, the object will be forcefully saved as \"Custom\" instead.")]
42
50
publicboolAllowSavingAsVanillaObject{get;set;}
43
51
44
52
#region Object Folders
45
53
46
-
[Reactive,PathBrowsable(PathBrowsableType.Directory),Category("Object Folders"),DisplayName("Downloads"),Description("The folder to store downloaded objects")]
54
+
conststringGameObjectFolderCategory="Folders OpenLoco can use objects from";
55
+
conststringUserObjectFolderCategory="Folders where you store custom objects";
56
+
57
+
[Reactive,PathBrowsable(PathBrowsableType.Directory),Category(GameObjectFolderCategory),DisplayName("AppData ObjData Folder"),Description("The ObjData folder in %AppData%\\OpenLoco\\objects.")]
[Reactive,PathBrowsable(PathBrowsableType.Directory),Category(GameObjectFolderCategory),DisplayName("Locomotion ObjData Folder"),Description("The ObjData folder in your Locomotion installation.")]
[Reactive,PathBrowsable(PathBrowsableType.Directory),Category(GameObjectFolderCategory),DisplayName("OpenLoco ObjData Folder"),Description("The ObjData folder in the OpenLoco\\Objects directory.")]
[Reactive,PathBrowsable(PathBrowsableType.Directory),Category(UserObjectFolderCategory),DisplayName("Downloads"),Description("The folder to store downloaded objects.")]
[Reactive,ReadOnly(true),Category("Object Folders"),DisplayName("Current ObjectData folder"),Description("The currently-selected ObjectData folder. This is readonly and only used to remember the previous location when you start up the editor.")]
50
-
publicstringObjDataDirectory{get;set;}
68
+
[Reactive,ReadOnly(true),Category(UserObjectFolderCategory),DisplayName("Current ObjectData folder"),Description("The currently-selected ObjectData folder. This is readonly and only used to remember the previous location when you start up the editor.")]
69
+
publicstringCurrentObjDataFolder{get;set;}
51
70
52
-
[Reactive,Category("Object Folders"),DisplayName("ObjectData folders"),Description("The list of all ObjectData folders.")]
71
+
[Reactive,Category(UserObjectFolderCategory),DisplayName("ObjectData folders"),Description("The list of all ObjectData folders.")]
<ButtonMargin="4"Command="{Binding ExportUncompressedCommand}" ToolTip.Tip="Equivalent to saving the object with 'Uncompressed' encoding">Export as uncompressed DAT file</Button>
<MenuItemHeader="Copy to AppData game folder"Command="{Binding CopyToGameObjDataCommand}"CommandParameter="{x:Static gui:GameObjDataFolder.AppData}"/>
21
+
<MenuItemHeader="Copy to Locomotion game folder"Command="{Binding CopyToGameObjDataCommand}"CommandParameter="{x:Static gui:GameObjDataFolder.Locomotion}"/>
22
+
<MenuItemHeader="Copy to OpenLoco game folder"Command="{Binding CopyToGameObjDataCommand}"CommandParameter="{x:Static gui:GameObjDataFolder.OpenLoco}"/>
0 commit comments