// =========================================================================== // Asshat-Gaming Roleplay // https://github.com/VortrexFTW/gtac_asshat_rp // Copyright (c) 2021 Asshat-Gaming (https://asshatgaming.com) // =========================================================================== // FILE: economy.js // DESC: Provides economy/financial utils, functions and usage // TYPE: Server (JavaScript) // =========================================================================== // =========================================================================== function getTimeDisplayUntilPlayerPayDay(client) { return getTimeDifferenceDisplay(sdl.ticks-getPlayerData(client).payDayTickStart); } // =========================================================================== function applyServerInflationMultiplier(value) { return value*getServerConfig().inflationMultiplier; } // ===========================================================================