1
0
forked from 0ad/0ad
0ad/binaries/data/mods/public/simulation/components/interfaces/ResourceSupply.js
Ykkrosh 9a0db9713e Add resource supply status bars.
Change bar size for buildings.
Only highlight one entity on mouse hover, and only if it's not a unit.
Display status bars on foundations.

This was SVN commit r8249.
2010-10-03 00:30:43 +00:00

6 lines
187 B
JavaScript

Engine.RegisterInterface("ResourceSupply");
// Message of the form { "from": 100, "to", 90 },
// sent whenever supply level changes.
Engine.RegisterMessageType("ResourceSupplyChanged");