Jump to content

Help removing Biome Lootstage bonuses


Recommended Posts

I am modding the game to make every biome as difficult (or more) than wasteland - so i want to remove the loot / game stage bonuses / modifiers from biomes. I have these lines in my mod but it is not working ... (this is an example I know i need to do it for all biomes)

 

<set xpath="/biomes/worldgeneration/biomes/biome[@name='snow']/@lootstage_bonus">0</set>

<set xpath="/biomes/worldgeneration/biomes/biome[@name='snow']/@gamestage_bonus">0</set>

 

it is not working ...  gives me a yellow not loaded message at game start. 

 

Can anyone tell me what i am missing or doing wrong? Thank you !

Link to comment
Share on other sites

It's your pathing.  First should be worldgeneration, not biomes.  Remove the first biomes in your path and it should work now.

 

Also, if you are setting everything to zero, you can do it by two lines

 

<set xpath="/worldgeneration/biomes/biome/@lootstage_bonus">0</set>

<set xpath="/worldgeneration/biomes/biome/@gamestage_bonus">0</set>

 

you can also just remove most of the code and do this:

 

<set xpath="//@lootstage_bonus">0</set>

 

That will change all instances of lootstage_bonus to 0.

Edited by BFT2020 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...