What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

xyz1337

New Member
Joined
Dec 9, 2015
Messages
23
Hi Guys,

Trying to figure out how to use Items which are currently in the Inventory.

My main Idea was to use this for the Contract "World Renowed". Something like that:

<If Condition="GetItemCount(55179)" > 5" >
<While Condition="not IsQuestObjectiveComplete(9935, 0)" >
<UseItem Items="55179" SkipMissing="true" />
</While>
</If>

It actually counts the Merits, and if there is enough to get the 1500 renown, it should use them, as long as the Quest is not "complete".
But it seems I might misinterpret the UseItem Tag in this case, and it will not work anyway like this. Also tried it with the ID and some absurd variants. :D

There was this snap I found in the forum here (which I am using in the RegenBreak, to heal quicker), but I cannot implement it somehow with the Exec Tag in the XML:

string itemName = "Cold Pasta";

InventoryItem item = GameManager.Inventory.Bags.Items.FirstOrDefault(o => o.Name == itemName);

if (item != null && item.IsValid)
item.Use();

Anybody has any Idea?

Thanks

EDIT:

<UseItem Items="55179" SkipMissing="true" />
 
Last edited:
Back
Top