0ad/binaries/data/mods/public/simulation/components/Garrisonable.js
elexis 3957ebf51f Option to disable garrisoning of heroes in regicide gamemode.
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.
2017-05-22 01:18:51 +00:00

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);