mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 22:03:56 -07:00
Accomplish this by adding a Garrisonable component that can be removed from individual units or templates. Differential Revision: https://code.wildfiregames.com/D104 Refs #2160 Patch By: Sandarac This was SVN commit r19631.
11 lines
240 B
JavaScript
11 lines
240 B
JavaScript
function Garrisonable() {}
|
|
|
|
Garrisonable.prototype.Schema = "<empty/>";
|
|
|
|
Garrisonable.prototype.Init = function()
|
|
{
|
|
};
|
|
|
|
Garrisonable.prototype.Serialize = null;
|
|
|
|
Engine.RegisterComponentType(IID_Garrisonable, "Garrisonable", Garrisonable);
|