Rework item descriptions, fix item rescue menu
This commit is contained in:
@@ -1,17 +1,26 @@
|
||||
using Zennysoft.Ma.Adapter;
|
||||
using Zennysoft.Ma.Adapter.Entity;
|
||||
using Godot;
|
||||
using Zennysoft.Ma.Adapter;
|
||||
|
||||
public class Augment
|
||||
{
|
||||
public JewelTags AugmentTag;
|
||||
|
||||
public Augment(JewelTags tag, IAugmentType augment)
|
||||
public Augment(JewelTags tag, IAugmentType augment, string name, string description, Texture2D augmentTexture)
|
||||
{
|
||||
AugmentTag = tag;
|
||||
AugmentName = name;
|
||||
AugmentType = augment;
|
||||
AugmentDescription = description;
|
||||
AugmentTexture = augmentTexture;
|
||||
}
|
||||
|
||||
public IAugmentType AugmentType { get; set; }
|
||||
|
||||
public string AugmentName { get; set; }
|
||||
|
||||
public string AugmentDescription { get; set; }
|
||||
|
||||
public Texture2D AugmentTexture { get; set; }
|
||||
}
|
||||
|
||||
public class HPRecoverySpeedAugment : IAugmentType
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
public enum ItemTag
|
||||
{
|
||||
None,
|
||||
BreaksOnChange,
|
||||
BreaksOnFloorExit,
|
||||
MysteryItem,
|
||||
DamagesPlayer,
|
||||
ContainsRestorative,
|
||||
@@ -22,4 +22,6 @@ public enum ItemTag
|
||||
EjectAllItems,
|
||||
UseAllItems,
|
||||
GlueOnEquip,
|
||||
BreaksOnUnequip,
|
||||
ContainsJewel
|
||||
}
|
||||
@@ -5,7 +5,8 @@ using Zennysoft.Ma.Adapter;
|
||||
public interface IBaseInventoryItem
|
||||
{
|
||||
public string ItemName { get; }
|
||||
public string Description { get; }
|
||||
public string StatDescription { get; }
|
||||
public string FlavorText { get; }
|
||||
public float SpawnRate { get; }
|
||||
public int ThrowDamage { get; }
|
||||
public float ThrowSpeed { get; }
|
||||
|
||||
Reference in New Issue
Block a user