Class Equippable
Equippable items. Cannot be instantiated directly.
Inherited Members
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Equippable : Item
Properties
BreaksDownTo
What this equipment breaks down to. Must be a Material
Declaration
public Item BreaksDownTo { get; set; }
Property Value
Type | Description |
---|---|
Item |
Visible
Whether this equipment is visible or not.
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
WornTexture
The Texture that is shown when this item is equipped
Declaration
public Texture WornTexture { get; set; }
Property Value
Type | Description |
---|---|
Texture |
Methods
AddAllowedSlot(EEquipSlot)
Add a slot that this Equipment is allowed to be put in
Declaration
public void AddAllowedSlot(EEquipSlot slot)
Parameters
Type | Name | Description |
---|---|---|
EEquipSlot | slot | The slot |
IsAllowedSlot(EEquipSlot)
Whether Equipment is allowed to be put in a specific slot
Declaration
public bool IsAllowedSlot(EEquipSlot slot)
Parameters
Type | Name | Description |
---|---|---|
EEquipSlot | slot | The slot |
Returns
Type | Description |
---|---|
System.Boolean |
RemoveAllowedSlot(EEquipSlot)
Remove a slot that this Equipment is allowed to be put in
Declaration
public void RemoveAllowedSlot(EEquipSlot slot)
Parameters
Type | Name | Description |
---|---|---|
EEquipSlot | slot | The slot |