Report reply snetzer Posted June 14, 2020 Hello is it possible to deactivate decay(despawn)? best regards Quote Share this comment Link to comment
Report reply NubbbZ Posted June 14, 2020 I can take a look but no guarantee, I recommend you use that plugin above. Quote Share this comment Link to comment
Report reply NubbbZ Posted June 14, 2020 Changed Status from Pending to Work in Progress Quote Share this comment Link to comment
Report reply snetzer Posted June 14, 2020 My server is a pve server on which decay is switched off. I think the fish trap has no real decay, it is more wear and tear. Quote Share this comment Link to comment
Report reply NubbbZ Posted June 14, 2020 same here, i use that plugin and it stops the damage. and it is decay damage "internal server code" public void TrapWildlife(global::TrappableWildlife trapped) { global::Item item = global::ItemManager.Create(trapped.inventoryObject, Random.Range(trapped.minToCatch, trapped.maxToCatch + 1), 0UL); if (!item.MoveToContainer(this.inventory, -1, true)) { item.Remove(0f); } else { base.SetFlag(global::BaseEntity.Flags.Reserved1, true, false, true); } this.SetTrapActive(false); this.Hurt(this.StartMaxHealth() * 0.1f, Rust.DamageType.Decay, null, false); } Quote Share this comment Link to comment
Report reply NubbbZ Posted June 14, 2020 just uploaded a new update with an option to disable decay, please inform me if it works or not Quote Share this comment Link to comment
Report reply snetzer Posted June 14, 2020 I will test it in about 1 hour and then write to you if it works Quote Share this comment Link to comment
Report reply snetzer Posted June 14, 2020 thank you, it works. very good work. best regards Quote Share this comment Link to comment
Report reply NubbbZ Posted June 14, 2020 Changed Status from Work in Progress to ClosedChanged Fixed In to 1.0.3 Quote Share this comment Link to comment