ATLYSS TechPendium

Viewing old revision of Module:Game

You are viewing an old revision of this page from 2/24/2026, 6:37:35 PM.

View latest version
This Module contains Internal Wiki logic and must be loaded using require keyword inside other logic modules.
Note that require supports only static imports.
This module can't be {{#invoke}}-ed.
const VENDOR_SELL_MODIFIER = 0.38;


function getSellPrice(buyPrice) {
    return buyPrice ? Math.floor(Math.max(buyPrice * VENDOR_SELL_MODIFIER, 1)) : "N/A";
}

exports = {
  getSellPrice
}
Last Edited by LiveGobe on 2/24/2026, 6:37:35 PM

This page categories: