# Magical closet: the object is always in the LAST opened closet 

:use
> [right_closet_open]
	stop

set_global right_closet_open true
inc_global open_closets 1
	
> [lt open_closets 3]
	set_state r9_closet_right open
	stop

> [eq open_closets 3]
	set_state r9_closet_right open
	set_active r9_bottle_right true
	stop


:open
> [right_closet_open]
	stop

set_global right_closet_open true
inc_global open_closets 1
	
> [lt open_closets 3]
	set_state r9_closet_right open
	stop

> [eq open_closets 3]
	set_state r9_closet_right open
	set_active r9_bottle_right true
	stop
