generated from AriasCreations/vsmodtemplate
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:
parent
0f318a9efa
commit
5234415034
5 changed files with 83 additions and 3 deletions
|
@ -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>();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue