oh okey, can you give me example code that check if i have a 2 potion in my inventory to perform a script
Viewing post in Yal's Monster Collector Engine comments
I'm reading your question as "you need to find 2 separate potions to unlock a cutscene" and then you'd do something like,
if(inventory_has_item(FIRST_POTION) && inventory_has_item(SECOND_POTION)){
csc_enqueue( ... ) //stuff from the good cutscene where you cure the sick grandma)
}
else{
csc_enqueue( ... ) //stuff from the bad cutscene where you're told you need to find both the potions
}If it's two of the same potion you'd use inventory_has_item(POTION,2) (it can check for specific quantity)