Ykkrosh
cdcee291cf
Add dummy component implementations for new data. Partly support multiple weapons for a single unit. This was SVN commit r7547.
25 lines
569 B
JavaScript
25 lines
569 B
JavaScript
function ResourceDropsite() {}
|
|
|
|
ResourceDropsite.prototype.Schema =
|
|
"<element name='Radius'>" +
|
|
"<data type='nonNegativeInteger'/>" +
|
|
"</element>" +
|
|
"<element name='Types'>" +
|
|
"<list>" +
|
|
"<oneOrMore>" +
|
|
"<choice>" +
|
|
"<value>food</value>" +
|
|
"<value>wood</value>" +
|
|
"<value>stone</value>" +
|
|
"<value>metal</value>" +
|
|
"</choice>" +
|
|
"</oneOrMore>" +
|
|
"</list>" +
|
|
"</element>";
|
|
|
|
/*
|
|
* TODO: this all needs to be designed and implemented
|
|
*/
|
|
|
|
Engine.RegisterComponentType(IID_ResourceDropsite, "ResourceDropsite", ResourceDropsite);
|