mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 14:53:56 -07:00
Also modified the entity script to allow for gathering fractional resources, and modified the GUI to round resources to the nearest integer. This is necessary since techs will likely push resource gathering amounts to fractional numbers. This was SVN commit r4161.
4 lines
No EOL
92 B
JavaScript
4 lines
No EOL
92 B
JavaScript
function techExample( player )
|
|
{
|
|
console.write("Player " + player + " got the tech!");
|
|
} |