pub fn sell_price_with_config(
eff: f64,
cfg_exp: Option<f64>,
cfg_coef: Option<f64>,
) -> i64Expand description
Item sale price with the exponent/coefficient sourced from GameConfig
(game_settings.sell_price_{exp,coef}). Per-knob precedence:
OVERLORD_BAL_SELL_EXP / OVERLORD_BAL_SELL_COEF env override (sim sweep) >
GameConfig value (Some) > the compiled SELL_PRICE_EXP /
SELL_PRICE_COEF constants. With env unset and both config knobs None
this is bit-identical to sell_price (the pre-config behavior), so
deploying the config with the current constant values leaves every price
unchanged. Call site: behaviors::items::item_price.