Ejemplo n.º 1
0
 public static void AddItem(string template)
 {
     Player.MainInventory.Add(ItemFactory.GetItem(template));
 }
Ejemplo n.º 2
0
 public static void AddItem(string template)
 {
     World.Get <ContainerSystem>().TryAdd(Player.MainInventory, ItemFactory.GetItem(template));
 }