2024-01-20 09:20:32 +00:00
|
|
|
|
using Comfort.Common;
|
2024-01-08 08:53:35 +00:00
|
|
|
|
using EFT;
|
2024-01-12 08:54:12 +00:00
|
|
|
|
using EFT.InventoryLogic;
|
|
|
|
|
using System;
|
2024-01-08 08:53:35 +00:00
|
|
|
|
|
|
|
|
|
namespace Aki.Debugging.BTR.Utils
|
|
|
|
|
{
|
|
|
|
|
public static class BTRUtil
|
|
|
|
|
{
|
|
|
|
|
public static readonly string BTRTraderId = Profile.TraderInfo.BTR_TRADER_ID;
|
2024-01-12 08:54:12 +00:00
|
|
|
|
public static readonly string BTRMachineGunWeaponTplId = "657857faeff4c850222dff1b"; // BTR PKTM machine gun
|
|
|
|
|
public static readonly string BTRMachineGunAmmoTplId = "5e023d34e8a400319a28ed44"; // 7.62x54mmR BT
|
2024-01-08 08:53:35 +00:00
|
|
|
|
|
2024-01-12 08:54:12 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Used to create an instance of the item in-raid.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static Item CreateItem(string tplId)
|
|
|
|
|
{
|
|
|
|
|
var id = Guid.NewGuid().ToString("N").Substring(0, 24);
|
|
|
|
|
return Singleton<ItemFactory>.Instance.CreateItem(id, tplId, null);
|
|
|
|
|
}
|
2024-01-08 08:53:35 +00:00
|
|
|
|
}
|
|
|
|
|
}
|