r)
            (expertise ?Burglar ?Trigger)
       )
       :effect (and 
            (not (protected ?Valuable_item))
            (not (casing_joint ?Burglar))
            (not_protected ?Valuable_item)
            (found_goods ?Burglar)
        )
    )
  (:action spend
       :parameters ( ?Valuable_item - valuable_item ?Trigger - trigger ?Burglar - burglar)
       :precondition (and 
            (gone ?Valuable_item)
            (protected_by ?Valuable_item ?Trigger)
            (rich ?Burglar)
        