Begin to add a death inventory backup system

TODO: only take the backpack slots not the backpack contents; also exclude the character's clothing
This commit is contained in:
zontreck 2025-01-18 04:25:10 -07:00
parent 0f318a9efa
commit 5234415034
5 changed files with 83 additions and 3 deletions

View file

@ -1,6 +1,9 @@
using System;
using System.Collections.Generic;
using Vintagestory.API.Common;
using Vintagestory.API.Common.Entities;
using Vintagestory.API.MathTools;
using Vintagestory.GameContent;
namespace AriasServerUtils
{
@ -42,4 +45,9 @@ namespace AriasServerUtils
return pos;
}
}
public class PlayerInventory
{
public List<ItemStack> Items = new List<ItemStack>();
}
}