Well you could do something like this: (example no real osiris code as i am on my tablet :))

dialog:
Answer: NPC: Hey you have cheese?
Question: Player: NO (Flags to Set "CheckInventoryForCheese" 1 )

Answer: NPC: Wow you greedy fuck!! I know you have cheese i can smell it (Flags to Check "IsGreedy" 1)
Answer: NPC: Okok i think you are right.... (Flag to Check "IsGreedy" 0)

story:

IF
FlagSet(_Player, "CheckInventoryForCheese")
AND
ItemtemplateIsInInventor(_Player, ITEM_blabla,1)
THEN
SetFlag(_Player,"IsGreedy")


You might look at this for ref: http://larian.com/forums/ubbthreads.php?ubb=showflat&Number=626172#Post626172

does that help?

Last edited by monzua; 08/10/17 09:55 PM.