Triggers

Can anyone show me step-by-step how to change the value on a costume map for my resources, please?

I want my mines of Gold and Stone to be 10000 and also my trees (or something similar).

I assume is more complicated to do a neverending renewal of resources, but if possible that would be nice too.

Thank you