Craftables

JaeJaeCee

Emerald Phoenix
Veteran
Joined
Dec 15, 2018
Messages
137
Reaction score
128
First Language
english
Primarily Uses
RMMV
I have a small question concerning creating craftables for players.
How would I go about making it possible to take items in the players inventory, and turning them into a potion at, say, a stove or a cauldron?
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,778
Reaction score
12,206
First Language
English
Primarily Uses
RMMV
If you want them to be able to make several different items, use a Show Choices to let them pick what they want to make. Then use conditional branches to ensure they have each item in inventory - if any item fails, show a message and exit the event. If they need to have multiple of an item, use Control Variables to get the quantity held into a variable, then conditional branch to see that they have enough of that item. Once you've determined they have everything needed, use Change Items to remove all of the individual ingredients, and again to give the resulting item, and show a message.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
2,585
Reaction score
3,780
First Language
English
Primarily Uses
RMMV
With a crafting system. Most people use a plugin for that, but it is possible to create one with events only (of course there is a limit to that).
 

JaeJaeCee

Emerald Phoenix
Veteran
Joined
Dec 15, 2018
Messages
137
Reaction score
128
First Language
english
Primarily Uses
RMMV
With a crafting system. Most people use a plugin for that, but it is possible to create one with events only (of course there is a limit to that).
I would refer to use events, as i don’t know anything about plugins.

If you want them to be able to make several different items, use a Show Choices to let them pick what they want to make. Then use conditional branches to ensure they have each item in inventory - if any item fails, show a message and exit the event. If they need to have multiple of an item, use Control Variables to get the quantity held into a variable, then conditional branch to see that they have enough of that item. Once you've determined they have everything needed, use Change Items to remove all of the individual ingredients, and again to give the resulting item, and show a message.
Thank you. I will try this and see if I can get it to work correctly. :) I’ll respond back with screenshots if I mess up and can’t figure out what I did wrong.
 

MushroomCake28

KAMO Studio
Global Mod
Joined
Nov 18, 2015
Messages
2,585
Reaction score
3,780
First Language
English
Primarily Uses
RMMV
I know there is a guide on how to create a crafting system with only events on the forum. Too lazy to search for it tho.
 

JaeJaeCee

Emerald Phoenix
Veteran
Joined
Dec 15, 2018
Messages
137
Reaction score
128
First Language
english
Primarily Uses
RMMV
I know there is a guide on how to create a crafting system with only events on the forum. Too lazy to search for it tho.
I’ll have to try to create tge crafting system in a little bit- i’m away from my computer and have been the whole time.
I assume, though, that I’ll have to make it a Common Event, in order to maintain it throughout the game.

I intend to give the player the capability to create teas, enchanted clothes, and potions- things that would be useful for their character.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How do you do when you want to work on projects but the game companies make so many games available for free because of the quarantine?
Kes
I have just stepped down from being a Mod, so please don't send me any more pm's with Mod questions. Thanks
The laptop I've had for almost 3 years has blue screened and is stuck on a boot loop. Can't wait to make games on nothing!
Made a brief video showcasing early game play... Got a copyright claim by BIG UP! (https://big-up.style/) for using music I bought from here (Future Steam Punk Pack). Now I wonder if I should strip any purchased music from here out of my game. :LZSskeptic:
Cleaned character animation and new room


I'm not sure if I should open a thread for this in games in development..

Forum statistics

Threads
95,475
Messages
929,439
Members
125,717
Latest member
Schiraz
Top