The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: sidhenidon on October 25, 2011, 03:59:42 PM

Title: Sidhenidon's Crafting System
Post by: sidhenidon on October 25, 2011, 03:59:42 PM
Sidhenidon's Crafting System
by Sidhenidon


Intro

I had been playing Minecraft. I love how the crafting table works, being totally dynamic and based on the position of items on it, so I decided to replicate this functionality in RMVX, and it sorted out being better than I expected.

Changelog:

Quote
20/02/2011
• Preview of what items are gonna be generated in the crafting. This option can be turned off easily.
• Inventory screen only appears when you have to choose an item.
• Upgraded animations.
• Fixed a bug when you made two combinations in the same grid, the items of both were consumed but only the lower-rightmost combination items were created.
About

• Infinite number of combinations, infinity number of results.
• Infinite grid size, even though I dont recommend any size above 6 for visual aesthetics
• Animation when an item is created.
• Simple code.

Screenshots

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.ragnabr-files.net%2Fstorage%2Fbox60%2Fk13127SS1g201.png&hash=17d2ea83825215cc9ab7a575a0fe504712570998)
Start of an item creation.

(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.ragnabr-files.net%2Fstorage%2Fbox61%2Fe50691Craftl189.png&hash=600c8d5f66c3279207fe8e95d6d5bc1094404ccd)
Composition with a preview on the right hand size.

To call the crafting table scene, just add this to your events via 'Add Script':
Code: [Select]
$scene = Scene_Crafting.new(x)
when x is the grid size.

For creating new item combinations:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg.ragnabr-files.net%2Fstorage%2Fbox60%2Fr53223tutorialw189.png&hash=36230311d447464556891ed33290a022adcbd042)
(sorry for being in portuguese, I'll translate in case it isn't understandable

Demo
Again, I'm sorry that this is in Portuguese, I'll manage to translate it later, it's a promise.

Current Version:
http://www.4shared.com/file/vEu0Tj_t/Crafting.html

Previous Version:
http://filebox.me/files/dnac0fuqr_Crafting.rar

Credits
Sidhenidon
Minecraft
Title: Re: Sidhenidon's Crafting System
Post by: modern algebra on November 12, 2011, 06:40:16 PM
Looks cool. Thanks for sharing!
Title: Re: Sidhenidon's Crafting System
Post by: skaraflame on January 02, 2012, 01:47:08 AM
...In English?
Title: Re: Sidhenidon's Crafting System
Post by: fatapi_shadramon on August 10, 2012, 12:42:36 PM
magnificent work boyo... it takes item crafting to the edge