/// </summary>
[DataField]
public float PriceMultiplier = 1;
+
+ /// <summary>
+ /// If true, you can examine the armor to see the protection. If false, the verb won't appear.
+ /// </summary>
+ [DataField]
+ public bool ShowArmorOnExamine = true;
}
/// <summary>
private void OnArmorVerbExamine(EntityUid uid, ArmorComponent component, GetVerbsEvent<ExamineVerb> args)
{
- if (!args.CanInteract || !args.CanAccess)
+ if (!args.CanInteract || !args.CanAccess || !component.ShowArmorOnExamine)
return;
var examineMarkup = GetArmorExamine(component.Modifiers);
interfaces:
enum.ChameleonUiKey.Key:
type: ChameleonBoundUserInterface
+ - type: TemperatureProtection # Same as a basic winter coat.
+ heatingCoefficient: 1.1
+ coolingCoefficient: 0.1
+ - type: Armor
+ modifiers:
+ coefficients:
+ Slash: 0.95
+ Heat: 0.90
+ showArmorOnExamine: false