Function item_price

Source
pub fn item_price(ctx: &ItemPriceCtx<'_>) -> Result<Vec<ESCurrencyUnit>>
Expand description

Sell price of an item, from its effectiveness eff via balance::sell_price (Phase 2: sub-linear in eff so gold income grows ~linearly with item level — model’s linear-income assumption — letting the geometric chest-upgrade cost bind instead of being swamped by surplus; early low-eff sales stay ≈ the legacy eff·100).