We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement formula for calculating barter prices to match the vanilla engine.
NovaRain came up with the following pseudo-code for FO2:
Master_Trader = 0.0; if (player_has_master_trader) Master_Trader = 25.0; barter_mod = script_modifier + reaction_modifier; // reaction_modifier is -15/0/25 for good/neutral/bad. barter_percent = (barter_mod + 100.0 - Master_Trader) * 0.01; if (barter_percent < 0.0) barter_percent = 0.0099999998; barter_ratio = [(trader_barter_skill + 160.0) / (highest_barter_skill_in_party + 160.0)] * 2.0; total_price = caps_total + item_total_cost_without_caps * barter_ratio * barter_percent;
The text was updated successfully, but these errors were encountered:
There seems to be a mistake.
Sorry, something went wrong.
No branches or pull requests
Implement formula for calculating barter prices to match the vanilla engine.
NovaRain came up with the following pseudo-code for FO2:
The text was updated successfully, but these errors were encountered: