Forgive me if this question was already answered elsewhere, but how can i set resource of item i want to be collected/given to npc via xmlquest?
lets say i have line: objective1/GIVE,npcname,mace,10/ in qholder and i want those maces to be made of verite for example.
q2: same solution (i hope there is one

) applies also to bows/wooden weapons i presume?
Thank you for your answer.
the syntax for the GIVE type quest objectives is
GIVE,mobname,itemtype[,count][,proptest]
or
GIVENAMED,mobname,itemname[,type][,count][,proptest]
where the optional proptest allows you to add a property test that has to be satisfied by the object being given.
So to test for the resource type of a weapon, test the Resource property on the weapon like this
objective1/GIVE,npcname,mace,10,resource=#Valorite
where the Resource property is a CraftResource type that can take on the value of CraftResource enums, like Valorite.
You need to use the # in front of the valorite to indicate that it is an enum value rather than the string "Valorite"
The same test can be used on all weapons and armor.