• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Help removing Biome Lootstage bonuses

Zolokhan

New member
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 !

 
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.

 
Last edited by a moderator:
Back
Top