- Joined
- Oct 9, 2020
- Messages
- 8
- Reaction score
- 1
- First Language
- English
- Primarily Uses
- RMMV
I'm looking to create a gambling minigame where the player must guess if a six sided die will land on even or odd. If they guess right, they win the pot, guess wrong and they lose the bet. That can be done easily with the default editor and a randomized variable, then a conditional branch.
But what I really want to do is display a text box where players can input the amount of gold they want to bet; then that gold is increased, or taken from their inventory depending on if they win or not. How would I go about doing this? I don't know much javascript so any advice helps!
But what I really want to do is display a text box where players can input the amount of gold they want to bet; then that gold is increased, or taken from their inventory depending on if they win or not. How would I go about doing this? I don't know much javascript so any advice helps!