Henlo again!
I'm trying to make gather spots in my map that utilize the Luck parameter to have a chance at getting better items within a certain amount of possible item slots.
Let's say I want to pick up berries from a bush.
Out of 5 possible slots I can get berries or branches.
So let's say I gather it once and I get:
Currently I have a variable for the random quantities between 1 and 5 that controls 2 other variables called gather_point_good and gather_point_bad which give either a bad item (branches) or good one (berries).
The problem is that with this setup, together they aren't limited by 5, for example I can get 4 berries and 4 branches in the same action, clearly going over the limit of 5 I wanted to set.
On top of that I have no idea how to make it so luck would favor one item more than the other.
I think my eventing knowledge is a bit too bare-bones for this concept 🙁
Hope someone could give me a hand and thanks for reading!
I'm trying to make gather spots in my map that utilize the Luck parameter to have a chance at getting better items within a certain amount of possible item slots.
Let's say I want to pick up berries from a bush.
Out of 5 possible slots I can get berries or branches.
So let's say I gather it once and I get:
- 4 branch / 1 berries
- 2 branch / 3 berries
- 1 branch / 4 berries
Currently I have a variable for the random quantities between 1 and 5 that controls 2 other variables called gather_point_good and gather_point_bad which give either a bad item (branches) or good one (berries).
The problem is that with this setup, together they aren't limited by 5, for example I can get 4 berries and 4 branches in the same action, clearly going over the limit of 5 I wanted to set.
On top of that I have no idea how to make it so luck would favor one item more than the other.
I think my eventing knowledge is a bit too bare-bones for this concept 🙁
Hope someone could give me a hand and thanks for reading!