Items Lost Durability
2.PNG.b4952a7e479277b058b2122d180b5ccd Items Lost Durability
4.PNG.c13fa7e08cc97aedede38831ab7d76b5 Items Lost Durability
 
New

Items Lost Durability on NPC Hit

This plugin allow to the NPCs to hit and decrease the equipped armors durability (In the current Rust version, only Player based damage decrease the armors durability). Which is an ideal plugin for PVE-based servers!

$7.00

Sold By: Kaucsenta

Description

About Items Lost Durability on NPC Hit

Description

This plugin allow to the NPCs to hit and decrease the equipped armors durability (In the current Rust version, only Player based damage decrease the armors durability). Which is an ideal plugin for PVE-based servers!

Currently, the  Items Lost Durability plugin chooses randomly from the available equipped armors, which still has durability and not broken item, and extracts the (total, maximum durability) * configured percentage value.

Example: Bone Helmet – 100 Maximum durability/Condition point. LongDurabilityPercent configured to 1.0 percent. It will take 100 Hits, if only the Bone Helmet equipped, to make the item broken.

Grouped up weapons for the Configurable categories:

 

Meleeweapon :

Anything, that is unhandled from the Hit information point of view, and

"grenade.beancan.entity.prefab", "bone_club.entity.prefab", "knife_bone.entity.prefab", "chainsaw.entity.prefab", "salvaged_cleaver.entity.prefab", "grenade.f1.entity.prefab", "flamethrower.entity.prefab", "flamethrower_fireball.prefab", "hacksaw.weapon.prefab", "butcherknife.entity.prefab", "pitchfork.entity.prefab", "sickle.entity.prefab", "hammer.entity.prefab", "hatchet.entity.prefab", "knife.combat.entity.prefab", "mace.entity.prefab", "machete.weapon.prefab", "militaryflamethrower.entity.prefab", "paddle.entity.prefab", "pickaxe.entity.prefab", "rock.entity.prefab", "axe_salvaged.entity.prefab", "hammer_salvaged.entity.prefab", "icepick_salvaged.entity.prefab", "explosive.satchel.entity.prefab", "stonehatchet.entity.prefab", "stone_pickaxe.entity.prefab", "spear_stone.entity.prefab", "longsword.entity.prefab", "salvaged_sword.entity.prefab", "torch.entity.prefab", "spear_wooden.entity.prefab"

 

Closeweapon:

Following weapons are considered as Close combat weapons:

"double_shotgun.entity.prefab", "pistol_eoka.entity.prefab", "m92.entity.prefab", "nailgun.entity.prefab", "shotgun_waterpipe.entity.prefab", "python.entity.prefab", "pistol_revolver.entity.prefab", "shotgun_pump.entity.prefab", "pistol_semiauto.entity.prefab", "smg.entity.prefab", "spas12.entity.prefab"

 

Longweapon :

"mgl.entity.prefab", "semi_auto_rifle.entity.prefab", "thompson.entity.prefab", "rocket_launcher.entity.prefab", "mp5.entity.prefab", "l96.entity.prefab", "lr300.entity.prefab", "m249.entity.prefab", "m39.entity.prefab", "compound_bow.entity.prefab", "crossbow.entity.prefab", "ak47u.entity.prefab", "bow_hunting.entity.prefab"

 

Additionally, BaseHelicopter, BradlyAPC, AutoTurret, Guntraps, and Beartrap also considered as damage source to decrease armor, they are under Meleeweapon category at the moment, they use the same value as configured for MeleeDurabilityPercent

Explosive: Not handled yet, only available for future usage.

Permissions

No specific permission setting, only configuration.

Configuration

The settings and options for this plugin can be configured in the ItemsLostDurabilityonNPCHit.json file under the oxide/config directory. The use of a JSON editor or validation site such as jsonlint.com is recommended to avoid formatting issues and syntax errors.

Suggested percentages see below. Anything that is higher than 1.5% seems to feel too fast on the client-side.

Experience example: 2 Metal items, 1 Sign skirt From 100% to all 3 items broken with 2 melees Attackers take 3-minute constant hit, with 0.5%.

{ 
 "CloseDurabilityPercent": 0.75, 
 "ExplosionDurabilityPercent": 0.0, 
 "LongDurabilityPercent": 1.0, 
 "MeleeDurabilityPercent": 0.5 
}

Localization

No.

Develop API

No.

Hooks

No.

Check out more of my work here: https://lone.design/vendor/kaucsenta/
Join the Discord Here: https://discord.gg/VEesZs9

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Version
  • Added First release on Lone Design page

MIT License

Copyright (c) 2021 Kaucsenta

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Got something to discuss?