Solved Tool / weapon durability
Discussion in 'Plugin Requests' started by jf3000, Jan 2, 2015.
-
would be great if we could get a plugin so admins could get control over turning durability off or on
-
It would be nice to have the option for tools breaking or not
-
great, thanks.
-
A plugin to adjust or turn on and off Durability for weapons and tools would be awesome.
-
Been requested twice now lol. Guys, use the search!
-
Wulf Community Admin
Merged duplicate requests.
-
So for now there is no plugin like that or am i wrong?
-
there is no plugin
-
yes there is
ItemConfig
you can edit maxConditions (i think that's the name)
for each tools.
you can't turn it off with it but at least you can set 1000000.0 condition making it basically invul -
-
More code ^^ and lag
^^
when it's currently possible to pût infinite condition -
Should be possible actually by setting the maxCondition to 0 in the item definition.
Code:public bool hasCondition { get { if (this.isBlueprint) { return false; } return ((this.info != null) && (this.info.maxCondition > 0f)); } }
-
Yep 0f seems fine
-
-
-
to step it up a notch to select which items could have durability and which would not would be nice.
-
-