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.
Chemistry System

0 Members and 1 Guest are viewing this topic.

pokeball THROffline
**
Rep: +0/-0Level 84
So, I've devised a chemistry system, where like, a character has random 'recipe' skills, and when he uses one, it causes a common event which takes away the items the recipe uses.
I.e. he uses Potidote, which heals poison and HP, but you lose a potion and an antidote. The issue is though, he can still use the skills even if the items aren't in his inventory, help?

***
Rep:
Level 91
Blah blah blah...
Project of the Month winner for November 2008
Make a condition that checks if the item is in his inventory. First have it check for potion, if the item is there have it check for antidote. If both items are present execute the remaining events. You can leave the "else" section blank, or have a message saying "you do not have enough items".
If you don't know what I'm talking about, look for an event process called "Conditional Branch". Click it, go to number 4, and select the item option.


- -

pokeball THROffline
**
Rep: +0/-0Level 84
By skill, I meant, like, actual skill, as in, in battle skills

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, I think he meant in the common event, but I actually made a tutorial for this a long time ago ~ it's badly outdated and for XP, but it should still apply. Put more wait frames at the bottom of the parallel process event, especially since this is VX.

http://rmrk.net/index.php/topic,14951.0.html

pokeball THROffline
**
Rep: +0/-0Level 84
Actually, I came up with a new idea, create two common events for each skill, have two skills, and basically, when he uses the 'prepare bomb' skill, using conditional branches, if he has gunpowder, he'll make a bomb to use and learn the 'bomb' skill. Then, next turn, when he uses the 'bomb' skill, he'll forget the 'bomb' skill and have to use 'prepare bomb' again.

I'll compensate by making his skills more powerful.

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Actually, I came up with a new idea, create two common events for each skill, have two skills, and basically, when he uses the 'prepare bomb' skill, using conditional branches, if he has gunpowder, he'll make a bomb to use and learn the 'bomb' skill. Then, next turn, when he uses the 'bomb' skill, he'll forget the 'bomb' skill and have to use 'prepare bomb' again.

I'll compensate by making his skills more powerful.

Problem with that is tht it wastes the turn if he doesn't have gunpowder :( That'd be super annoying for the player.

pokeball THROffline
**
Rep: +0/-0Level 84
Hmm... Indeed. But on the other hand, if the player is dumb enough to not pay attention to his amount of gunpowder, then like... I really really can't help them.

*
A Random Custom Title
Rep:
Level 96
wah
But... people are most likely to get angry with you for not making it check it, making them hate your game for one small reason because they like to do that. >_>

pokeball THROffline
**
Rep: +0/-0Level 84