Jump to content

add items to trader


UbberN00ber

Recommended Posts

Disclaimer: I only have minimal experience with xpath.

 

barStool is already in the decorativeBlocks group. But that group has count of "1", which I assume means only one of the 30+ items in the group will be chosen. If I'm right about that, you'd need to increase the count if you want a better chance of a particular item.

 

To increase count to 10 for example:

 

<set xpath="/traders/trader_item_groups/trader_item_group[@name='decorativeBlocks']/@count">10</set>

 

To add poolTable to decorativeBlocks:

 

<append xpath="/traders/trader_item_groups/trader_item_group[@name='decorativeBlocks']">
   <item name="decoPoolTable"/>
</append>

 

There's also a group named "traderAlways" which has count "all". So if you want these items to always appear you should add both to that group instead.

Link to comment
Share on other sites

it didnt work

i even tried this

 

<configs>

 

 

<append xpath='/trader_item_groups/trader_item_group[@name=decorativeBlocks]'>

<item name="decoPoolTable"/>

<item name="barStool"/>

</append>

 

</configs>

 

and this

 

<configs>

 

 

<append xpath="/trader_item_groups/trader_item_group[@name=decorativeBlocks]">

<item name="decoPoolTable"/>

<item name="barStool"/>

</append>

 

</configs>

 

cant seem to figure it out

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...