lewischapple21
Refugee
Hi, I'm trying to make a mod that changes a few things up and part of it I am trying to change is XP.
How can I change it so that when I use a Nailgun to upgrade a block, it will give me say half as much XP as it usually does?
I've looked everywhere and can't find the answer. If you could help that would be great. Thanks.
This is as close as I got to trying to figure it out but Im new-ish to modding.
LIST OF PASSIVE EFFECTS (it does not matter on which item/entity a passive is active. Only a few require a certain scope, like being on an item or mod)
PlayerExpGain, Tags: Kill, Harvesting, Upgrading, Crafting, Selling, Quest, Looting, Party, Other
<passive_effect name="PlayerExpGain" operation "base_subtract" value= "100.0"/>
I just want the Nailgun to give less XP when upgrading blocks.
How can I change it so that when I use a Nailgun to upgrade a block, it will give me say half as much XP as it usually does?
I've looked everywhere and can't find the answer. If you could help that would be great. Thanks.
This is as close as I got to trying to figure it out but Im new-ish to modding.
LIST OF PASSIVE EFFECTS (it does not matter on which item/entity a passive is active. Only a few require a certain scope, like being on an item or mod)
PlayerExpGain, Tags: Kill, Harvesting, Upgrading, Crafting, Selling, Quest, Looting, Party, Other
<passive_effect name="PlayerExpGain" operation "base_subtract" value= "100.0"/>
I just want the Nailgun to give less XP when upgrading blocks.