Funbit / ets2-telemetry-server

ETS2/ATS Telemetry Web Server + Mobile Dashboard
GNU General Public License v3.0
624 stars 206 forks source link

Create an option to select job income currency value ($, €, etc) #53

Open Funbit opened 9 years ago

Funbit commented 9 years ago

Probably in skin config file.

SirGuren commented 9 years ago

The skin in which I'm modding is the route adviser on that you have posted on the forum.

The line of code for the income is as such:

function getDigitGroupedReward(income) {

}

SirGuren commented 9 years ago

Oops, forgot to mention that was found in the dashboard.js file

mike-koch commented 9 years ago

@SirGuren , it sounds like you're working on the skin that I created (mkoch227/ets2-mobile-route-advisor). Just out of curiosity, what changes are you making to it?

SirGuren commented 9 years ago

@mkoch227, I'm trying to the the income to be displayed in pounds, which is the currency I use in game. Is there anyway to do it?

mike-koch commented 9 years ago

@SirGuren , I opened up an issue at mkoch227/ets2-mobile-route-advisor#3 to add this feature in. If you want to change your currency code to GBP right now, open up dashboard.html, and find: € and replace it with £ (it should be around line 119).

If you have any additional questions/comments, feel free to open an issue at mkoch227/ets2-mobile-route-advisor, so we don't hijack funbit's repo as he didn't make the skin :grinning: