This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function best_research(){ | |
var ranks = []; | |
for (var i=0; i<GameObjects.research.length; i++){ | |
var r = GameObjects.research[i]; | |
ranks.push([r.name, 1000*r.reputation/r.cost, r.cost<=GameObjects.lab.data]); | |
} | |
ranks.sort(function(a,b){return b[1]-a[1]}); | |
return format_items("Research", ranks); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am iamcal on github. | |
* I am iamcal (https://keybase.io/iamcal) on keybase. | |
* I have a public key whose fingerprint is C568 1CFB 8867 08A1 A921 855E 27C8 7757 FADA 9ADB | |
To claim this, I am signing this object: |
NewerOlder