Fix toggle verbs (#32138)
First commit Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -32,6 +32,18 @@ public sealed partial class ItemToggleComponent : Component
|
||||
[DataField]
|
||||
public bool OnUse = true;
|
||||
|
||||
/// <summary>
|
||||
/// The localized text to display in the verb to activate.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string VerbToggleOn = "item-toggle-activate";
|
||||
|
||||
/// <summary>
|
||||
/// The localized text to display in the verb to de-activate.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public string VerbToggleOff = "item-toggle-deactivate";
|
||||
|
||||
/// <summary>
|
||||
/// Whether the item's toggle can be predicted by the client.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user