using System.Collections.Generic; using Oxide.Core; using Oxide.Core.Plugins; namespace Oxide.Plugins { [Info("NoTorchDamage", "Kaho", "1.0.0")] class NoTorchDamage : RustPlugin { void OnLoseCondition(Item item, ref float amount) { if (item.info.shortname == "torch" || item.info.shortname == "torch.torch.skull" || item.info.shortname == "divertorch") { amount = 0f; } } } }