Ejemplo n.º 1
0
 public ArmorKit(KitLevel kitLevel, ArmorKitType kitType)
 {
     KitLevel         = kitLevel;
     _kitType         = kitType;
     TextInfo         = new CultureInfo("en-US", false).TextInfo;
     Weight           = 1;
     KitAugmentAmount = GetKitAugmentAmount();
     ItemValue        = KitAugmentAmount * 10;
     Name             = $"{kitLevel.ToString().ToLower()} {_kitType.ToString().ToLower()} armor kit";
     Desc             = $"A single-use {Name} that increases armor rating by {KitAugmentAmount} for one armor item.";
 }
Ejemplo n.º 2
0
 public WeaponKit(KitLevel kitLevel, WeaponKitType kitType)
 {
     WeaponKitLevel   = kitLevel;
     KitType          = kitType;
     TextInfo         = new CultureInfo("en-US", false).TextInfo;
     Weight           = 1;
     KitAugmentAmount = GetKitAugmentAmount();
     ItemValue        = KitAugmentAmount * 10;
     Name             = $"{kitLevel.ToString().ToLower()} {KitType.ToString().ToLower()} weapon kit";
     Desc             = $"A single-use {Name} that increases weapon damage by {KitAugmentAmount} for one weapon item.";
 }