class PluginRepairingSource
PluginRepairing › PluginBase
All members, including inherited
Methods 7
bool Repair(PlayerBase player, ItemBase repair_kit, Object item, float specialty_weight, string damage_zone = "", bool use_kit_qty = true)Referenced by ActionRepairItemWithBlowtorch.OnFinishProgressServer(), ActionRepairPart.OnFinishProgressServer(), ActionRepairShelter.OnFinishProgressServer()
Show 13 more
, ActionRepairTent.OnFinishProgressServer(), ActionRepairTent.RepairDamageTransfer(), CleanWeapon.Do(), ItemBase.Repair(), PatchItem.Do(), RepairElectric.Do(), RepairEpoxy.Do(), RepairPlanks.Do(), RepairWithLeatherSewingKit.Do(), RepairWithSewingKit.Do(), RepairWithTape.Do(), RepairWithTireKit.Do(), and SharpenMelee.Do()void CalculateHealth(PlayerBase player, ItemBase kit, Object item, float specialty_weight, string damage_zone = "", bool use_kit_qty = true)References CanBeRepairedToPristine(), CanRepairToPristine(), Class.CastTo()
Show 15 more
, Math.Clamp(), Object.ConfigGetInt(), Object.GetHealth01(), Object.GetHealthLevel(), Object.GetHealthLevelValue(), EntityAI.GetInvulnerabilityTypeString(), GetKitRepairCost(), Object.GetNumberOfHealthLevels(), ItemBase.GetQuantity(), ItemBase.HasQuantity(), EntityAI.ProcessInvulnerabilityCheck(), Object.SetAllowDamage(), Object.SetHealth01(), ItemBase.SetQuantity(), and GameConstants.STATE_WORNReferenced by Repair()
Referenced by CanRepair()
private bool CanRepairToPristine(PlayerBase player)Player can repair items to 100%; currently unused
Item can be repaired to 100%
References Object.CanBeRepairedToPristine()
References Object.ConfigGetFloatArray(), Object.ConfigGetInt(), Object.ConfigGetIntArray()
Show 1 more
, array.Get()Referenced by CalculateHealth()