2010-03-12 22:41:40 +01:00
|
|
|
Engine.RegisterInterface("Foundation");
|
2010-07-21 18:09:58 +02:00
|
|
|
|
|
|
|
// Message sent from Foundation to its own entity when construction
|
|
|
|
// has been completed.
|
|
|
|
// Units can watch for this and change task once it's complete.
|
|
|
|
// Data: { entity: 123, newentity: 234 }
|
|
|
|
Engine.RegisterMessageType("ConstructionFinished");
|
2012-04-18 13:30:28 +02:00
|
|
|
|
|
|
|
// Message of the form { "to", 59 }, as the percentage complete
|
|
|
|
// sent whenever the foundations progress changes.
|
|
|
|
Engine.RegisterMessageType("FoundationProgressChanged");
|