1
0
forked from 0ad/0ad
0ad/binaries/data/mods/official/scripts/tech_functions.js
Matei b8456f0702 # Added 4 sample techs.
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.
2006-07-21 22:54:01 +00:00

4 lines
92 B
JavaScript

function techExample( player )
{
console.write("Player " + player + " got the tech!");
}