
Weapon XP Multiplier
Adds a configurable 0-100x weapon XP multiplier for SULFUR.Weapon XP Multiplier
A BepInEx mod for SULFUR that lets you configure weapon level-up XP from 0x to 100x.
What This Mod Does
This mod adds a configurable multiplier for weapon XP.
Default value:
2.0x
Examples:
XpMultiplier = 0 -> no weapon XP
XpMultiplier = 0.01 -> 1% weapon XP
XpMultiplier = 0.2 -> 20% weapon XP
XpMultiplier = 1 -> vanilla weapon XP
XpMultiplier = 2 -> double weapon XP
XpMultiplier = 10.2 -> 10.2x weapon XP
XpMultiplier = 100 -> 100x weapon XP
What It Affects
This mod patches weapon XP gain through:
PerfectRandom.Sulfur.Core.Weapons.Weapon.AddExperience(float)
Weapons earn XP when you kill an enemy you damaged. The multiplier is applied to that amount after the game's own bonuses (for example Library Card or Lock of the Magus), so it stacks with them.
It affects non-melee, non-throwable weapons that normally gain weapon XP.
With a high multiplier a single kill can raise a weapon by several ranks at once. The game then shows one rank-up notice, but every rank (and its enchantment slot) is still granted.
What It Does NOT Affect
This mod does not change:
Player XP
Money
Loot
Enemy stats
Weapon damage
Weapon fire rate
Weapon durability
Melee weapon XP
Throwable weapon XP
Configuration
After launching the game once with the mod installed, a config file will be generated at:
BepInEx/config/kumo.sulfur.weapon_xp_multiplier.cfg
Default config:
[General]
EnableMod = true
XpMultiplier = 2
[Debug]
LogXpChanges = false
EnableMod
EnableMod = true
Set to false to disable the mod without uninstalling it.
XpMultiplier
XpMultiplier = 2
Weapon XP multiplier.
Allowed range:
0 to 100
Decimal values are supported.
Use a period for decimals:
XpMultiplier = 0.2
XpMultiplier = 10.2
Do not use a comma. The comma is read as a thousands separator, so this gives 2x, not 0.2x:
XpMultiplier = 0,2
Values outside 0 to 100 are clamped to the nearest limit.
LogXpChanges
LogXpChanges = false
Set this to true only for testing.
For normal gameplay, keep it set to false.
Installation
Thunderstore / r2modman
Install the mod through Thunderstore Mod Manager or r2modman.
Make sure the required BepInExPack dependency is installed.
Manual Installation
- Install BepInExPack for SULFUR.
- Start the game once so BepInEx creates its folders.
- Create the folder
BepInEx/plugins/WeaponXpMultiplier/and copyWeaponXpMultiplier.dlland thelangfolder into it. Thelangfolder is only needed for translated SULFUR Config pages. - Start the game.
- Edit the generated config file if you want a different multiplier.
Compatibility
Tested with SULFUR 1.0.6.
This mod should be compatible with most mods.
If another mod also changes weapon XP through Weapon.AddExperience, the final XP amount may depend on patch order.
Do not install this together with a fixed Weapon Double XP mod unless you intentionally want the multipliers to stack.
Uninstallation
Remove the folder:
BepInEx/plugins/WeaponXpMultiplier/
Optionally remove:
BepInEx/config/kumo.sulfur.weapon_xp_multiplier.cfg
SULFUR Config Localization Support
This mod includes localization files for SULFUR Config.
This localization support is only for the in-game configuration page provided by SULFUR Config. It localizes the mod name, config sections, setting names, and setting descriptions shown in the config UI.
It does not change the game’s own text, item names, dialogue, or gameplay content.
Supported SULFUR Config languages:
- English
- Simplified Chinese
- Traditional Chinese
- Swedish
- French
- Italian
- German
- Spanish
- Portuguese
- Russian
- Polish
- Japanese
- Korean
- Turkish
- Arabic