COOKING VARIABLE SYSTEM HELP?
Posts
Pages:
1
Hello everyone!
I am trying to make a variable system for my game.(Rpg maker xp)
Basically:
If you have a "CharA" in the party, you can cook up something. (Random of coarse) and your chances of getting something good is ok.
If you have "CharB" In the party you get different random things(in this case worse) and the chances of getting anything good is bad.
If you have them both in the party, the chances of a better dish is higher, but still random.
Thanks for the help!
I am trying to make a variable system for my game.(Rpg maker xp)
Basically:
If you have a "CharA" in the party, you can cook up something. (Random of coarse) and your chances of getting something good is ok.
If you have "CharB" In the party you get different random things(in this case worse) and the chances of getting anything good is bad.
If you have them both in the party, the chances of a better dish is higher, but still random.
Thanks for the help!
Result Variable = 0
Result Variable += 40 if CharA is in party
Result Variable += random(0-25) if CharA is in party
Result Variable += 20 if CharB is in party
Result Variable += random(0-20) if CharB is in party
Receive Dish K if Result Variable > 100; end event
Receive Dish J if Result Variable > 90; end event
Receive Dish I if Result Variable > 80; end event
Receive Dish H if Result Variable > 70; end event
Receive Dish G if Result Variable > 60; end event
Receive Dish F if Result Variable > 50; end event
Receive Dish E if Result Variable > 40; end event
Receive Dish D if Result Variable > 30; end event
Receive Dish C if Result Variable > 20; end event
Receive Dish B if Result Variable > 10; end event
Receive Dish A if Result Variable > 0; end event
EDIT: Actually in this silly idea, Dish A/B are impossible to receive. Oh well.
Result Variable += 40 if CharA is in party
Result Variable += random(0-25) if CharA is in party
Result Variable += 20 if CharB is in party
Result Variable += random(0-20) if CharB is in party
Receive Dish K if Result Variable > 100; end event
Receive Dish J if Result Variable > 90; end event
Receive Dish I if Result Variable > 80; end event
Receive Dish H if Result Variable > 70; end event
Receive Dish G if Result Variable > 60; end event
Receive Dish F if Result Variable > 50; end event
Receive Dish E if Result Variable > 40; end event
Receive Dish D if Result Variable > 30; end event
Receive Dish C if Result Variable > 20; end event
Receive Dish B if Result Variable > 10; end event
Receive Dish A if Result Variable > 0; end event
EDIT: Actually in this silly idea, Dish A/B are impossible to receive. Oh well.
author=Craze
Result Variable = 0
Result Variable += 40 if CharA is in party
Result Variable += random(0-25) if CharA is in party
Result Variable += 20 if CharB is in party
Result Variable += random(0-20) if CharB is in party
Receive Dish K if Result Variable > 100; end event
Receive Dish J if Result Variable > 90; end event
Receive Dish I if Result Variable > 80; end event
Receive Dish H if Result Variable > 70; end event
Receive Dish G if Result Variable > 60; end event
Receive Dish F if Result Variable > 50; end event
Receive Dish E if Result Variable > 40; end event
Receive Dish D if Result Variable > 30; end event
Receive Dish C if Result Variable > 20; end event
Receive Dish B if Result Variable > 10; end event
Receive Dish A if Result Variable > 0; end event
EDIT: Actually in this silly idea, Dish A/B are impossible to receive. Oh well.
Sorry, not quite sure how to put that all in. ^^'
EDIT: I'm a tard lol. Nevermind I figured it out. And I will be adding more characters to tweak this. Thank you for the help!
Pages:
1














