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

pls help with biome restriction code

myav

New member
I want to create a challenge: complete 2 any tier3 quests in a snow biome.

By the first, i have watched vanilla challenge (as example):

 

<challenge name="questTraderToTraderComplete" title_key="challengeQuestTraderToTraderComplete" icon="ui_game_symbol_quest" group="Traders"
short_description_key="challengeQuestTraderToTraderCompleteShort" description_key="challengeQuestTraderToTraderCompleteDesc"
reward_text_key="challenge_reward_1000xp" reward_event="challenge_reward_1000">
<objective type="QuestComplete" quest_tag="nexttrader" quest_text_key="quest_next_trader" count="1"/>
</challenge>




And then I have tried to create challenge with objective:

<objective type="QuestComplete" count="2" quest_tag="test_tier3" biome="snow"/>


also, i have tried other variant:

<objective type="QuestComplete" count="2" quest_tag="test_tier3" biome="1"/>



And i have used row in the quests.xml:
 

<set xpath="/quests/quest[starts-with(@name,'tier3')]/property[@name='extra_tags']/@value">test_tier3</set>




But the game counts any quest towards this goal, ignoring biome restrictions.
Also.... game ignore my row about test_tier3

Please somebody help.... What i did wrong ? How to write correct code?

 

 
Last edited by a moderator:
Back
Top