1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/components/ResourceDropsite.js
Ykkrosh cdcee291cf Convert all remaining entity template data to new file format.
Add dummy component implementations for new data.
Partly support multiple weapons for a single unit.

This was SVN commit r7547.
2010-05-15 21:07:52 +00:00

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