No. If you need further assistance you should tell me how you intend to use your income system.construction also includes upgrade?
So if I understand right, you want to limit amount of lumber mills and gold mines to 2 per player, and the lumber mills and gold mines gives wood/gold income? And the income amount per gold mine/lumber mill is determined by the level of each buildings upgrade?I want a system that works with gold mines for gold and lumber mill for lumber
5 lvl for each(for now)
and a maximum of 2 for each(for now)
Using this, and another trigger for upgradesNot sure if you need it to be MPI but here's a general baseline:
Income
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Player - Set Player 1 (Red) Current gold to ((Player 1 (Red) Current gold) + Income)
Make Farm
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to Farm
Actions
Set Income = (Income + 1)
Farm Dies
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Farm
Actions
Set Income = (Income - 1)