Code: Select all
menu:
"Look around" if not obj_ducktape in inventory1.items or obj_ducktape in inventory2.items:
jump my_label
So I check the item IS NOT in inventory 1.
And I also check the item IS NOT in inventory 2.
But I am not sure about the second part of the line.
"If not obj_ducktape in inventory1.items" mean "obj_ducktape in inventory1.items == False"
but is it working for the secondary assertion ?
I want to be sure this line is the same thing than :
obj_ducktape in inventory1.items == False and obj_ducktape in inventory2.items == False
Could you give me you opinion on this please ?