So I am trying to add my own items to a personal Treasure quest:
loot.xml
<lootgroup name="InfinityItems">
<item name="InfinityPistol" count="1" loot_prob_template="high"/>
<item name="InfinityAmmo" count="1" loot_prob_template="high"/>
<item name="FinalNote" count="1" loot_prob_template="high"/>
</lootgroup>
<append xpath='//lootgroup[@name="groupBuriedWeaponChest"]'>
<item group="InfinityItems" count="1" loot_prob_template="high" force_prob="true"/>
</append>
quest.xml
<quest id="FinalChestHunt">
<property name="name_key" value="quest_FinalChestHunt_supplies"/>
<property name="subtitle_key" value="quest_buried_supplies_subtitle"/>
<property name="description_key" value="quest_buried_supplies_description"/>
<property name="icon" value="ui_game_symbol_treasure"/>
<property name="repeatable" value="true"/>
<property name="category_key" value="quest"/>
<property name="offer_key" value="quest_FinalChestHunt_offer"/>
<property name="difficulty" value="medium"/>
<property name="difficulty_tier" value="3"/>
<property name="statement_key" value="quest_buried_supplies_statement"/>
<property name="response_key" value="quest_buried_supplies_response"/>
<property name="completiontype" value="TurnIn"/>
<property name="completion_key" value="quest_buried_supplies_completion"/>
<property name="shareable" value="true"/>
<objective type="TreasureChest">
<property name="phase" value="1" />
<property name="block" value="cntBuriedWeaponChest"/>
<property name="distance" value="2000-3000"/>
<property name="default_radius" value="9"/>
<property name="container_type" value="Supplies"/>
<property name="nav_object" value="treasure" />
<property name="direct_nav_object" value="treasure_direct" />
<property name="blocks_per_reduction" value="10" />
<property name="radius_reduction_sound" value="ui_radius_shrink" />
</objective>
<reward type="Exp" value="1000"/>
<action type="ShowTip" value="FinalMessage"/>
</quest>
The items are not appearing in the chest, Does anyone know why? There are no errors. This is the group I am trying to put it in:
<lootgroup name="groupBuriedWeaponChest">
<item group="groupWeaponsAllScaled" prob="2"/>
<item group="groupArmorScaled" prob="1"/>
<item group="groupModAllScaled" prob="1"/>
<item group="schematicsModsAndGeneralCommon" loot_prob_template="high"/>
<item group="schematicsModsAndGeneralRare" loot_prob_template="low"/>
</lootgroup>
loot.xml
<lootgroup name="InfinityItems">
<item name="InfinityPistol" count="1" loot_prob_template="high"/>
<item name="InfinityAmmo" count="1" loot_prob_template="high"/>
<item name="FinalNote" count="1" loot_prob_template="high"/>
</lootgroup>
<append xpath='//lootgroup[@name="groupBuriedWeaponChest"]'>
<item group="InfinityItems" count="1" loot_prob_template="high" force_prob="true"/>
</append>
quest.xml
<quest id="FinalChestHunt">
<property name="name_key" value="quest_FinalChestHunt_supplies"/>
<property name="subtitle_key" value="quest_buried_supplies_subtitle"/>
<property name="description_key" value="quest_buried_supplies_description"/>
<property name="icon" value="ui_game_symbol_treasure"/>
<property name="repeatable" value="true"/>
<property name="category_key" value="quest"/>
<property name="offer_key" value="quest_FinalChestHunt_offer"/>
<property name="difficulty" value="medium"/>
<property name="difficulty_tier" value="3"/>
<property name="statement_key" value="quest_buried_supplies_statement"/>
<property name="response_key" value="quest_buried_supplies_response"/>
<property name="completiontype" value="TurnIn"/>
<property name="completion_key" value="quest_buried_supplies_completion"/>
<property name="shareable" value="true"/>
<objective type="TreasureChest">
<property name="phase" value="1" />
<property name="block" value="cntBuriedWeaponChest"/>
<property name="distance" value="2000-3000"/>
<property name="default_radius" value="9"/>
<property name="container_type" value="Supplies"/>
<property name="nav_object" value="treasure" />
<property name="direct_nav_object" value="treasure_direct" />
<property name="blocks_per_reduction" value="10" />
<property name="radius_reduction_sound" value="ui_radius_shrink" />
</objective>
<reward type="Exp" value="1000"/>
<action type="ShowTip" value="FinalMessage"/>
</quest>
The items are not appearing in the chest, Does anyone know why? There are no errors. This is the group I am trying to put it in:
<lootgroup name="groupBuriedWeaponChest">
<item group="groupWeaponsAllScaled" prob="2"/>
<item group="groupArmorScaled" prob="1"/>
<item group="groupModAllScaled" prob="1"/>
<item group="schematicsModsAndGeneralCommon" loot_prob_template="high"/>
<item group="schematicsModsAndGeneralRare" loot_prob_template="low"/>
</lootgroup>