じ☆ve冰风 发表于 2026-8-2 21:07:43

Mr Trivel Crafting Addon

I made this for my game but I think it's really good to share this as it works well and I'm happy with my Ruby skills so far.

Base script
https://mrtrivelvx.wordpress.com/2014/06/25/crafting-simple/

Mr Trivel Crafting 1.01 Addon
Roninator2
Introduction
Adds returning of items if they are specified in the note tag
Essentially making it so that you do not lose the tagged item

Features
The concept is that you can have items that are 'super' items
which will not be lost and replace other items in the recipe
Can also replace multiple items

Screenshots

Spoiler: Images





How to Use
Place the note tag <swap craft: X> on the item, weapon, armor
you wish to be recovered in the item that would normally get used
So on item 15 you say <swap craft: 20>
The recipe needs item 15, but it gets substituted for item 20
When you craft the item, item 20 is not lost, neither is item 15.

Script
Spoiler: Scriptshere
here
here
Credit and Thanks
- Roninator2
- Mr Trivel

Author's Notes
Follow the original Authors terms of use where applicable
   - When not made by me (Roninator2)
Free for all uses in RPG Maker except nudity
Anyone using this script in their project before these terms
were changed are allowed to use this script even if it conflicts
with these new terms. New terms effective 03 Apr 2024
No part of this code can be used with AI programs or tools
Credit must be given


本贴来自国际rpgmaker官方论坛作者:Roninator2处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mr-trivel-crafting-addon.109926/
页: [1]
查看完整版本: Mr Trivel Crafting Addon