public void DisplayInfo(InfoPanel infoPanel, int health) { infoPanel.AddText($"Armor Rating: {armorRating}"); infoPanel.AddText($"Condition: {health}/{maxHealth}"); infoPanel.AddText($"Weight: {weight} ({ArmorType})"); infoPanel.AddText($"Value: {value}"); }
public void DisplayInfo(InfoPanel infoPanel, int health) { infoPanel.AddText($"Uses: {health}"); infoPanel.AddText($"Quality: {quality:F2}"); DisplayInfo(infoPanel); }
public void DisplayInfo(InfoPanel infoPanel, int health) { infoPanel.AddText($"Type: {type}"); infoPanel.AddText($"Chop: {chopMin} - {chopMax}"); infoPanel.AddText($"Slash: {slashMin} - {slashMax}"); infoPanel.AddText($"Thrust: {thrustMin} - {thrustMax}"); infoPanel.AddText($"Condition: {health}/{maxHealth}"); base.DisplayInfo(infoPanel); }
private void DisplayDoorInfo() { if (doorData == null) { return; } infoPanel.AddText("to"); if (string.IsNullOrEmpty(loadCell)) { var loadCell = CellManager.GetCellName(doorData.Position); infoPanel.AddText(loadCell); } else { infoPanel.AddText(loadCell); } }
public void DisplayInfo(InfoPanel infoPanel, IEnumerable <EnchantmentEffect> effects, float charge) { // Display cast type var text = GameSetting.Get(CastType.ToString()).StringValue; infoPanel.AddText(text); foreach (var effect in effects) { effect.DisplayInfo(infoPanel); } infoPanel.AddCharge(charge, ChargeAmount); }
public void DisplayLockInfo(InfoPanel infoPanel) { switch (lockLevel) { case 0: break; case -1: infoPanel.AddText($"Lock Level: Unlocked"); break; default: infoPanel.AddText($"Lock Level: {lockLevel}"); break; } if (trap == null) { return; } infoPanel.AddText("Trapped"); }
public override void DisplayInfo(InfoPanel infoPanel) { infoPanel.AddText($"Quality: {Quality:F2}"); base.DisplayInfo(infoPanel); }
public virtual void DisplayInfo(InfoPanel infoPanel) { infoPanel.AddText($"Weight: {weight}"); infoPanel.AddText($"Value: {value}"); }