Bank3 Implementation

This commit is contained in:
Zaicon Kiroshu 2016-11-23 18:51:11 -06:00
parent 73294cc2e2
commit a0a98d19f3
4 changed files with 66 additions and 3 deletions

View file

@ -41,6 +41,11 @@ namespace TShockAPI
/// </summary>
public static readonly int SafeSlots = PiggySlots;
/// <summary>
/// 40 - The number of slots in a forge
/// </summary>
public static readonly int ForgeSlots = SafeSlots;
/// <summary>
/// 59 - The size of the player's inventory (inventory, coins, ammo, held item)
/// </summary>
@ -69,7 +74,7 @@ namespace TShockAPI
/// <summary>
/// 180 - The inventory size (inventory, held item, armour, dies, coins, ammo, piggy, safe, and trash)
/// </summary>
public static readonly int MaxInventory = InventorySlots + ArmorSlots + DyeSlots + MiscEquipSlots + MiscDyeSlots + PiggySlots + SafeSlots + 1;
public static readonly int MaxInventory = InventorySlots + ArmorSlots + DyeSlots + MiscEquipSlots + MiscDyeSlots + PiggySlots + SafeSlots + ForgeSlots + 1;
[JsonProperty("netID")]
private int _netId;