Name: Salvage Items
Version: 1.1
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.
本贴来自国际rpgmaker官方论坛作者:Mr. Trivel处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址: https://forums.rpgmakerweb.com/threads/salvage-items.52858/ |