Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Give a trickle of resources to teams
- if n%32 == 4 then
- local mexIncome = getMexIncomes()
- for _,i in ipairs(Spring.GetTeamList()) do
- local _,_,_,_,_,allyTeamID = Spring.GetTeamInfo(i)
- if allyTeamID then -- don't give free stuff to GAIA
- Spring.AddTeamResource(i,"e",1)
- Spring.AddTeamResource(i,"m",0.5 + mexIncome[allyTeamID])
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment