Cheaper Upgrades
Upgrades cost half the Dust, and weapon upgrades need only 1 of each material. Live settings, no game file replaced. A PBZModLoader mod.
What it does
Upgrades cost less:
- Half the Dust for weapons and Sha-Chi weapons (level-ups and Soul Forging), accessories and medicines (rounded up). You can pick another share, from free to the game's price.
- Weapon and Sha-Chi weapon level-ups need only 1 of each material. Accessory, medicine and Soul Forging materials stay as the game has them.
- The weapon downgrade gives back the cheaper price you paid with the mod.
The upgrade screens show, check and take the lower costs. It is a PBZModLoader mod: a script in the game's own script engine. It replaces no game file and writes nothing into the save.
Screenshots
How to install
- Install PBZModLoader 2.1.0 or later.
- Download the zip of the latest release on GitHub (
phantombladezero_cheaperupgrades_<version>.zip). - Unpack it into the game folder (the folder that holds
ProjectPBZ). It adds the folderProjectPBZ\PBZModLoader\mods\phantombladezero_cheaperupgrades\withmain.jsand the settings file. - Start the game.
To check that it runs: ProjectPBZ\PBZModLoader\loader.log has the line
[PBZMOD] [Cheaper Upgrades] <version> started; settings: ....
To update the mod, replace main.js with the one of the new release; keep your settings file (a setting that it does
not have keeps its default). To remove the mod, delete the folder ProjectPBZ\PBZModLoader\mods\phantombladezero_cheaperupgrades\.
How to use
Nothing to do: upgrade at a bell as usual. The costs are lower.
Settings
The settings are in ProjectPBZ\PBZModLoader\mods\phantombladezero_cheaperupgrades\phantombladezero_cheaperupgrades.txt. Open it with a text editor,
change a value and save: the mod reads the file every 2 seconds, so the game uses it without a restart. Without the
file the mod writes it with the defaults below. Keys are not case-sensitive; ; or # starts a comment.
With Mods Menu (0.9.0 or later) in the game, the mod adds its page to Mods Menu's tab in the game's settings, and
the page's settings are the ones that count: Mods Menu keeps them in its own file in the game's Saved folder, and
the file in the mod's folder is not read then.
| Setting | Default | What it does |
|---|---|---|
Enable |
On |
Off: the game's own costs |
DustMultiplier |
0.5 |
The Dust an upgrade costs, 0 to 1: 0.5 = half (rounded up), 1 = the game's, 0 = free |
OneMaterialEach |
On |
On: weapon and Sha-Chi weapon level-ups need only 1 of each material. Off: the game's amounts |
Compatibility
- Game version: Steam build 26367565 (
CL-302256_JKS-17280). - Needs PBZModLoader 2.1.0 or later. Mods Menu is optional.
- The earlier pak version of "Cheaper Upgrades" (
PBZCheapUpgrades_Half_Pfiles in~mods): remove it first. - Another mod that changes the upgrade tables (a pak): its costs are lowered once more by this mod.
- Mods that give more Dust or materials (for example More Dust and Materials, Phantom Tuner) work together with this one.
Known issues
- The downgrade refund (the cheaper price back when you downgrade a weapon) is not tested in game yet; the lower costs, the Mods Menu page and the live settings are.
- A weapon you upgraded before you added the mod gives back only the cheaper price when you downgrade it, and one you upgraded with the mod gives back the full price after you remove it.
- An open upgrade screen shows a changed setting when it shows the item again.
How to build
There is nothing to build: src\phantombladezero_cheaperupgrades\ is the mod folder (main.js and the settings file).
tests\test_mod.js runs the script outside the game with Node.js and stand-ins for the game: node tests\test_mod.js.
README.md has the details.
Credits
Made by Kintaro. MIT license: you may use, change and share this mod. PBZModLoader is made by LKF, its fork by KintaroModding. Phantom Blade Zero and its files belong to their makers.
