Request a much more simpler gathering script

help me find a very simple gathering script e.g
*player is stepping or near the event
*player presses action button
*random number rolls
*player got items and text appeared saying " herb obtained! "
it has limited of 5 or more to gather and also need rare items
All of this can be done with events. Why do you feel you need a script?
not only can this be done with events, but it is usually easier to do this with events than with scripts - because a script changes the engine but has no point on the map itself, making it much more difficult to do this by script than by event.

if you need help with making this as an event, please specify the exact problems you have with it - your description is already the list of the event commands you'll need.
All of this can be done with events. Why do you feel you need a script?
my game is a farming or grinding game and it has alot of items. Making it an event is way too stressful for me like putting all of their names on text box ("herb obtained!") (i'm a lil bit impatient)
my game is a farming or grinding game and it has alot of items. Making it an event is way too stressful for me like putting all of their names on text box ("herb obtained!")
a script would not change the entry requirements - on the contrary it is much more difficult to enter the data into a script.

what you need is NOT a gathering script, but a clone script.

nothing can take the work of adding the description and checks into the event away from you.
but after you've done it once, you only need to copy or clone that specific event.
and due to the limits of the copy&paste it works better if this is done either by clone command or by placeholder copy - those are the scripts you'll need to reduce the work, but they have nothing to do with the gathering part itself.
A clone script and a self-variables script and a multi-timer script would be pretty much all you need here.
A clone script and a self-variables script and a multi-timer script would be pretty much all you need here.
yeah all i need to do is to find the easiest and fastest way possible to make
all i need to do is to find the easiest and fastest way possible to make
you can't.

game development is work, and a lot of work at that. The usual average is 100 working hours for 1 playing hour - and that assumes that you know what you're doing, otherwise it's 200+ hours.

nothing can read your mind and shortcut that - and scripts are not a miracle either. They have their limits, and gathering is one of those limits as it requires more data than function.

and in another words: easy and fast means low quality - where do you think the tons of abandoned and crappy RM-games come from? You have to put in quite a bit of work to end up with a better result and reputation.
Code:
class Game_Interpreter
  def random_gain_item(item_id)
    number = rand(5) + 1
    $game_message.add("#{number} #{$data_items[item_id].name}s obtained ")
    $game_party.gain_item($data_items[item_id], number)
  end
end
Example usage
Code:
random_gain_item(1)
You will gain item 1 ranged from 1 ~ 5 in quantity.

However, if it doesn't meet your criteria, learn how to edit it.
Making it fits with all of your needs is way too stressful for me (I'm just too lazy for it).
you can't.

game development is work, and a lot of work at that. The usual average is 100 working hours for 1 playing hour - and that assumes that you know what you're doing, otherwise it's 200+ hours.

nothing can read your mind and shortcut that - and scripts are not a miracle either. They have their limits, and gathering is one of those limits as it requires more data than function.

and in another words: easy and fast means low quality - where do you think the tons of abandoned and crappy RM-games come from? You have to put in quite a bit of work to end up with a better result and reputation.
i want my game to be simplistic and fun. It might be a short game but this game is just for fun only.

Code:
class Game_Interpreter
  def random_gain_item(item_id)
    number = rand(5) + 1
    $game_message.add("#{number} #{$data_items[item_id].name}s obtained ")
    $game_party.gain_item($data_items[item_id], number)
  end
end
Example usage
Code:
random_gain_item(1)
You will gain item 1 ranged from 1 ~ 5 in quantity.

However, if it doesn't meet your criteria, learn how to edit it.
Making it fits with all of your needs is way too stressful for me (I'm just too lazy for it).
ok ima try that.

Original thread: https://forums.rpgmakerweb.com/threads/request-a-much-more-simpler-gathering-script.131402/