can someone help me with something ; ) random drops? i know how to do this but.... got questions ^^

◆Control Variables:#0001 Temp Variable 1 = Random 2..8
◆Comment:// Player acquires the random number
◆Change Items:Berry + {Temp Variable 1}

what does the difference with this random item drop vs this one

◆Control Variables:#0040 RNG Berry = Random 0..6
If : RNG Berry = 1
Change Item Berry +5
If: RNG Berry = 2
Change Item Berry +9

for example?
do they both do the same thing?
and how would you text box telling the player how many they got if its random?
The first one will always add between 2 and 8 berries:
  • ~14 chance to add 2 berries
  • ~14 chance to add 3 berries
  • ~14 chance to add 4 berries
  • ~14 chance to add 5 berries
  • ~14 chance to add 6 berries
  • ~14 chance to add 7 berries
  • ~14 chance to add 8 berries
The second one has:
  • ~14% chance to add 5 berries
  • ~14% chance to add 9 berries
  • ~72% chance to add nothing.

With YEP MessageCore, you can display the variable using \V[variable_id], so for example:
Found \V[40] berries
With YEP MessageCore, you can display the variable using \V[variable_id]
That's actually one of the default escape codes you can see if you hover your mouse over the Show Text window.
The first one will always add between 2 and 8 berries:
  • ~14 chance to add 2 berries
  • ~14 chance to add 3 berries
  • ~14 chance to add 4 berries
  • ~14 chance to add 5 berries
  • ~14 chance to add 6 berries
  • ~14 chance to add 7 berries
  • ~14 chance to add 8 berries
The second one has:
  • ~14% chance to add 5 berries
  • ~14% chance to add 9 berries
  • ~72% chance to add nothing.

With YEP MessageCore, you can display the variable using \V[variable_id], so for example:
Found \V[40] berries
that is sooooo coool : D now players will be able to get random amount of items now thank you so much

Original thread: https://forums.rpgmakerweb.com/threads/can-someone-help-me-with-something-random-drops-i-know-how-to-do-this-but-got-questions.160512/