forked from 0ad/0ad
Matei
b8456f0702
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
92 B
JavaScript
4 lines
92 B
JavaScript
function techExample( player )
|
|
{
|
|
console.write("Player " + player + " got the tech!");
|
|
} |