A downloadable project

Get this project and 4 more for $17.99 USD
View bundle
Buy Now$5.99 USD or more

Welcome to the Durability plugin

This plugin allows you to have a repair system for your equipment. You can have an interface where you will be charged based on how damaged the used item is.

If the item is destroyed, its stats will temporarily become 0 until the player repairs the item, and optionally, the special effects (sp-stats) that they provide to the player will be removed.

You can set the repair price for each item, how much durability it has, how much damage it suffers, make a skill damage the item, whatever you want. In the FULL version, you have many more customizations and systems to adapt it to your project!

RPG MAKER COMPATIBLE VERSION: MZ

All documentation on how to use the plugin will be inside the plugin. The FULL version has more detailed documentation with more examples.

Please Read:

The DEMO version does not include the most up-to-date version of the plugin.

The new version includes (v1.1.0+) the DurabilityPatch that will extend the capabilities of the plugin and solve the object stacking problem. In any case, the demo version will serve as a reference of what the plugin does, but now you will know that the full version will solve that behavior that rpg maker mz has by default.


Due to how RPG MAKER MZ works and stacks the objects, the DEMO plugin will not work correctly if you use more than one object from the database in your game since they will stack with each other. 
Example:
If you have a ShortSword (DB ID: 2) equipped destroyed, and you get another ShortSword (DB ID: 2). The new one will never exist and you will have 2 "Shortsword" destroyed.
basically, in other words: You can only use a unique ID from the database for each repairable object.
What you can have is:
DATABASE:
ID: 2 Shortsword (Repairable)
ID: 3 Shortsword (Not Repairable)

Differences between versions:

FeatureDEMOFULL
Encrypted Code  YES NO

Durability Patch Included
Allows to fix the Stacking problem  of RPG MAKER MZ and adds fixes for the main plugin.
NOYES
Plugin Command: Weapon/Armor Remover
Due to how the Durability Patch works, the rpg maker's Default Remove Weapons/Armor feature will no longer work as it was before, now you will use it from plugin commands in the DurabilityMZ plugin.
NOYES
Tags: <armor-durability-breaking:x> <weapon-durability-breaking:x>
You can create statuses that reduce the durability of your weapon/armor.
NOYES
Tag: <durability:x>
Enable and sets the Weapon/Armor durability for that item.
Default: Items will not use Durability System.
YES YES
Tag: <durability:var(x)>
(Same before but, allows to use variables  instead Fixed Values)
NOYES
Tag: <brokenText:XXXX>
This allows you to change the text that is displayed when the object is broken.
YES YES
Tag: <repair-cost:x>
This establishes the price that must be paid for each point that the object has lost.
YES YES
Tag: <repair-cost:var(x)>
Same as before, but instead of using a fixed value, the value is set by a variable.
NOYES
Tags : <break-value:x> <break-value:rnd(x)>
This forces a skill to deal X damage to the weapon/armor. *If you use the FULL version, its operation is different: it will only affect the protectors and will have priority over everything. Useful for enemies skills. DEMO Not Include Rnd Function
YES*YES
Tag: <no-break>
Prevent this skill from reducing your durability points
YESYES
Tag: <weapon-self-damage:x>
When you use this skill you lose x durability points on equipped weapon.
NO YES
Tag:  <weapon-self-damage:rnd(x,y)>
When you use this skill you lose x to y random durability points on equipped weapon.
NO YES
Tag: <damaged-value:x>
Your protector will take these damage points from the enemy.
NO YES
Tag: <damaged-value:rnd(x,y)>
Your protector will take x to y random damage points from the enemy.
NO YES
Change the color of the object based on its damage. NO YES
- More coming soon?

How to install the plugin? Place the file:

DurabilityMZ.js and DurabilityPatch    or    DurabilityMZDEMO.js  (Depending on your case)

In the plugins folder. Activate the plugin from the editor.

Call the plugin with the Command: Plugin Call in the event editor.

I think a demo is not necessary, but if you need it tell me and I'll do it!

Don't forget to configure everything in the database with the appropriate notes before using this plugin.

The repair interface only shows inventory items that ARE NOT EQUIPPED. If you want to repair something, you must remove it from your inventory. Don't forget about that. This is intentional.




Licence

Plugin Usage Policy:
1. "DEMO" Version Policy: Users are granted the liberty to utilize the "DEMO" version of the plugins in any projects, whether they are commercial or non-commercial, encompassing all types and genres. It is mandatory to attribute credit within your project to either "Maxii1996" or "Undermax Games", as per your preference. This acknowledgment is crucial to uphold the integrity and contribution of the developer's work.
2. "FULL" Version Policy: The "FULL" version of the plugins can be freely employed in both commercial and non-commercial projects of any kind and genre. While attribution is optional for the "FULL" version, it is always appreciated as a gesture of gratitude and acknowledgment towards the developer's efforts and contributions. When you purchase the "FULL" version, the plugin becomes YOURS. You are allowed to adapt and modify it to suit your needs and preferences. However, it is imperative to note that redistributing the modified or original plugin freely to other users is strictly prohibited. This restriction is in place to support the continuous creation and development of more content and to maintain the value of the purchased plugin.
Acknowledgment and Respect:
Attribution and acknowledgment are not just formalities but are reflections of respect and appreciation for the developer's time, effort, and creativity. By adhering to this policy, users contribute to a harmonious and supportive environment where developers are motivated to continue innovating and creating.
Supporting Development: Purchasing the "FULL" version is a direct way to support the developer. It enables the continuous development of innovative and quality content. By respecting the policy against unauthorized redistribution, users help in maintaining the exclusivity and value of the plugins, fostering a sustainable development ecosystem.
Conclusion: This policy is designed to balance the interests of both the users and the developer. It encourages creative utilization of the plugins while ensuring due recognition and support for the developer's endeavors. By adhering to this policy, users and developers collectively contribute to a thriving and respectful community of creators.







This plugin corresponds to the collection: "Yellow Box"


Information:
Get this box with this plugin and 2 more now for a promotional price!

Don't miss our other boxes!

Purchase

Get this project and 4 more for $17.99 USD
View bundle
Buy Now$5.99 USD or more

In order to download this project you must purchase it at or above the minimum price of $5.99 USD. You will get access to the following files:

DurabilityMZ (v1.1.0) + Durability Patch 29 kB

Download demo

Download
DurabilityMZDEMO.js (v1.0.0) 434 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.