Rework item descriptions, fix item rescue menu
This commit is contained in:
@@ -29,7 +29,9 @@ public partial class ThrowableItem : Node3D, IBaseInventoryItem, IStackable
|
||||
|
||||
public string ItemName => Stats.Name;
|
||||
|
||||
public string Description => Stats.Description;
|
||||
public string StatDescription => Stats.StatDescription;
|
||||
|
||||
public string FlavorText => Stats.FlavorText;
|
||||
|
||||
public float SpawnRate => Stats.SpawnRate;
|
||||
|
||||
@@ -48,7 +50,7 @@ public partial class ThrowableItem : Node3D, IBaseInventoryItem, IStackable
|
||||
|
||||
public void SetElementType(ElementType elementType) => Stats.ElementType = elementType;
|
||||
|
||||
public void SetDescription(string description) => Stats.Description = description;
|
||||
public void SetDescription(string description) => Stats.FlavorText = description;
|
||||
|
||||
[Save("throwable_item_count")]
|
||||
public AutoProp<int> Count { get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user