mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-01-02 13:53:42 +01:00
Rename some collection stuff.
This commit is contained in:
parent
f264725c45
commit
8aefdbd948
9 changed files with 51 additions and 35 deletions
|
|
@ -87,9 +87,9 @@ public partial class ConfigWindow
|
|||
var manager = Penumbra.ModManager;
|
||||
PrintValue( "Penumbra Version", $"{Penumbra.Version} {DebugVersionString}" );
|
||||
PrintValue( "Git Commit Hash", Penumbra.CommitHash );
|
||||
PrintValue( "Current Collection", Penumbra.CollectionManager.Current.Name );
|
||||
PrintValue( SelectedCollection, Penumbra.CollectionManager.Current.Name );
|
||||
PrintValue( " has Cache", Penumbra.CollectionManager.Current.HasCache.ToString() );
|
||||
PrintValue( "Default Collection", Penumbra.CollectionManager.Default.Name );
|
||||
PrintValue( DefaultCollection, Penumbra.CollectionManager.Default.Name );
|
||||
PrintValue( " has Cache", Penumbra.CollectionManager.Default.HasCache.ToString() );
|
||||
PrintValue( "Mod Manager BasePath", manager.BasePath.Name );
|
||||
PrintValue( "Mod Manager BasePath-Full", manager.BasePath.FullName );
|
||||
|
|
|
|||
|
|
@ -79,12 +79,12 @@ public partial class ConfigWindow
|
|||
|
||||
private static void DrawDefaultCollectionButton( Vector2 width )
|
||||
{
|
||||
var name = $"Default Collection ({Penumbra.CollectionManager.Default.Name})";
|
||||
var name = $"{DefaultCollection} ({Penumbra.CollectionManager.Default.Name})";
|
||||
var isCurrent = Penumbra.CollectionManager.Default == Penumbra.CollectionManager.Current;
|
||||
var isEmpty = Penumbra.CollectionManager.Default == ModCollection.Empty;
|
||||
var tt = isCurrent ? "The current collection is already the configured default collection."
|
||||
: isEmpty ? "The default collection is configured to be empty."
|
||||
: "Set the current collection to the configured default collection.";
|
||||
var tt = isCurrent ? $"The current collection is already the configured {DefaultCollection}."
|
||||
: isEmpty ? $"The {DefaultCollection} is configured to be empty."
|
||||
: $"Set the {SelectedCollection} to the configured {DefaultCollection}.";
|
||||
if( ImGuiUtil.DrawDisabledButton( name, width, tt, isCurrent || isEmpty ) )
|
||||
{
|
||||
Penumbra.CollectionManager.SetCollection( Penumbra.CollectionManager.Default, CollectionType.Current );
|
||||
|
|
|
|||
|
|
@ -59,27 +59,27 @@ public partial class ConfigWindow
|
|||
Dalamud.PluginInterface.UiBuilder.DisableGposeUiHide = !v;
|
||||
} );
|
||||
ImGui.Dummy( _window._defaultSpace );
|
||||
Checkbox( "Use Special Collections in Character Window",
|
||||
"Use the character collection for your character's name in your main character window, if it is set.",
|
||||
Checkbox( $"Use {AssignedCollections} in Character Window",
|
||||
"Use the character collection for your characters name or the Your Character collection in your main character window, if it is set.",
|
||||
Penumbra.Config.UseCharacterCollectionInMainWindow, v => Penumbra.Config.UseCharacterCollectionInMainWindow = v );
|
||||
Checkbox( "Use Special Collections in Adventurer Cards",
|
||||
Checkbox( $"Use {AssignedCollections} in Adventurer Cards",
|
||||
"Use the appropriate character collection for the adventurer card you are currently looking at, based on the adventurer's name.",
|
||||
Penumbra.Config.UseCharacterCollectionsInCards, v => Penumbra.Config.UseCharacterCollectionsInCards = v );
|
||||
Checkbox( "Use Special Collections in Try-On Window",
|
||||
Checkbox( $"Use {AssignedCollections} in Try-On Window",
|
||||
"Use the character collection for your character's name in your try-on, dye preview or glamour plate window, if it is set.",
|
||||
Penumbra.Config.UseCharacterCollectionInTryOn, v => Penumbra.Config.UseCharacterCollectionInTryOn = v );
|
||||
Checkbox( "Use Special Collections in Inspect Windows",
|
||||
Checkbox( $"Use {AssignedCollections} in Inspect Windows",
|
||||
"Use the appropriate character collection for the character you are currently inspecting, based on their name.",
|
||||
Penumbra.Config.UseCharacterCollectionInInspect, v => Penumbra.Config.UseCharacterCollectionInInspect = v );
|
||||
Checkbox( "Use Special Collections based on Ownership",
|
||||
Checkbox( $"Use {AssignedCollections} based on Ownership",
|
||||
"Use the owner's name to determine the appropriate character collection for mounts, companions and combat pets.",
|
||||
Penumbra.Config.UseOwnerNameForCharacterCollection, v => Penumbra.Config.UseOwnerNameForCharacterCollection = v );
|
||||
Checkbox( "Prefer Named Collections over Ownership",
|
||||
"If you have a character collection set to a specific name for a companion or combat pet, prefer this collection over the owner's collection.\n"
|
||||
"If you have a character collection set to a specific name for a companion or combat pet, prefer this collection over the owners collection.\n"
|
||||
+ "That is, if you have a 'Topaz Carbuncle' collection, it will use this one instead of the one for its owner.",
|
||||
Penumbra.Config.PreferNamedCollectionsOverOwners, v => Penumbra.Config.PreferNamedCollectionsOverOwners = v );
|
||||
Checkbox( "Use Default Collection for Housing Retainers",
|
||||
"Housing Retainers use the name of their owner instead of their own, you can decide to let them use their owners character collection or the default collection.\n"
|
||||
Checkbox( $"Use {DefaultCollection} for Housing Retainers",
|
||||
$"Housing Retainers use the name of their owner instead of their own, you can decide to let them use their owners character collection or the {DefaultCollection}.\n"
|
||||
+ "It is not possible to make them have their own collection, since they have no connection to their actual name.",
|
||||
Penumbra.Config.UseDefaultCollectionForRetainers, v => Penumbra.Config.UseDefaultCollectionForRetainers = v );
|
||||
ImGui.Dummy( _window._defaultSpace );
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ public partial class ConfigWindow
|
|||
public const string SelectedCollection = "Selected Collection";
|
||||
public const string DefaultCollection = "Base Collection";
|
||||
public const string ActiveCollections = "Active Collections";
|
||||
public const string AssignedCollections = "Assigned Collections";
|
||||
public const string GroupAssignment = "Group Assignment";
|
||||
public const string CharacterGroups = "Character Groups";
|
||||
public const string ConditionalGroup = "Group";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue