//Victory!
IfStateIs0
  IfBumped
    SetTargetToWhoeverBumped
      IfTargetIsAMount			//Check rider instead
        SetTargetToTargetLeftHand
      IfTargetCanOpenStuff
        EnableExport
        BeatModule

        // Mark this module as beaten, hidden modules may open up
        tmpargument = [MAIN]
        tmpdistance = 5           //The quest level
        AddQuestAllPlayers        //Add it

        tmpargument = ACTIONMJ	      //Open Trap Door
        DoAction
        KeepAction
        tmpargument = 0
        PlaySound			      //  Start the new action
        tmpargument = 1
        SetState
End
