This is a mod that make machine price to be constant
Follow modding instruction on Sixty Four wiki
This is a mod that make machine price to be constant
Follow modding instruction on Sixty Four wiki
label = 'Constant Price'; | |
description = 'Make machine price to be constant'; | |
(function () { | |
let c = typeof configuration === 'object' ? configuration : {}; | |
if (!c?.enabled) return; | |
let _abstract_getCodex = abstract_getCodex; | |
abstract_getCodex = function () { | |
const dat = _abstract_getCodex(); | |
for (const name in dat.entities) { | |
const ent = dat.entities[name]; | |
if (ent.priceExponent > 1) ent.priceExponent = 1; | |
} | |
return dat; | |
}; | |
})(); |
I'm not anymore into modding Sicty Four, so any modder can continue it.