RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Salvage Items

0 Members and 1 Guest are viewing this topic.

*****
Rep:
Level 27
Mr. Trivel
Name: Salvage Items
Version: 1.0
Author: Mr. Trivel
Created: 2015-12-13
 

What does it do?
Allows players to salvage unneeded items and get something back.
 

Screenshots:

 

How to use?
To make items salvageable just add the following tag to items:
<salvage>
[TYPE] [ID] [QUANTITY] [CHANCE]
</salvage>
 
[TYPE] - Item type. w - weapon, a - armor, i - item
[ID] - ID of the item
[QUANTITY] - How many player gets from salvaging
[CHANCE] - Chance of success - 1.0 - 100%, 0.5 - 50%, 0.04 - 4%
 
Example:
<Salvage>
i 8 1 1
i 8 1 0.75
i 8 1 0.25
</Salvage>
 

Plugin: <Link: Github>
How to download Script. Click the link above, there will be a button named Raw, press Right Click -> Save As.
 

Terms of Use:
Don’t remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.
« Last Edit: February 15, 2016, 08:13:42 AM by Glasses »