Commit Graph

5 Commits

Author SHA1 Message Date
Matthias Mailänder
1e2e7bcf42 StyleCop 2014-07-05 09:00:20 +02:00
Oliver Brakmann
ca786f6039 Add Production.BuildTeamFromTemplate
Production.BuildTeamFromTemplate allows the production of teams from a
list of
actor types, assigning a function to that team once it is complete.

A 'template' in this case looks like this:
template = { {factory, {list of units to build using aforementioned factory}} }
e.g. template = { {barracks, {"e1", "e1", "e1", "e3", "e3"}} }

You can also build teams using multiple factories like this:
template = { {barracks, {"e3", "e3", "e3"}}, {war_factory, {"3tnk", "3tnk"}} }

Before using Production.BTFT you need to call
Production.EventHandlers.Setup once.
2014-03-21 23:22:01 +01:00
Oliver Brakmann
00bc3f71fe Make Production.SetRallyPoint and .SetPrimaryBuilding more robust 2014-03-17 22:20:04 +01:00
ScottNZ
7d43ecc33f Remove the temperate RA shellmap and port the desert shellmap to Lua. 2014-03-06 19:27:29 +13:00
Oliver Brakmann
886efd0b97 Add production-related Lua functions 2014-02-02 23:37:22 +01:00