Ah, and yes. You don't need to name the mines; GetObjectNamesByType creates them all without any issues.
Jewill, I asked our friend Dolgiy to write a script only because I know it's not just a couple of lines, and the advice "just select resources in the trigger for a new day" might not help someone who's not familiar with it.
. Well, let Dolgiy write a script too – the person who asked the question will have a whole zoo of options to choose from!And it's true, it's definitely not just a couple of lines. Although I perfectly understand that sometimes people want to show off their knowledge, but they don't want to spend too much time on it.
Added 1 minute ago
Everything looks good. I can suggest a simplification:
Create a table with resource coefficients based on the weeks:multiplies={[UNION_WEEK_ID]=3, [IDLE_WEEK_ID]=0.5}
weekMultiplier=multiplies[GetCurrentMoonWeek()] or 1
Будь яростней пред ночью всех ночей,
Не дай погаснуть свету своему!
Хоть мудрый знает – не осилишь тьму
Во мгле словами не зажжёшь лучей –
Не уходи безропотно во тьму.