# 4: 퀘스트 만들기

#### [⁑ 중급자 튜토리얼](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials) **-** [◑ 나만의 첫 RPG 경험 제작하기](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience) - 4: 퀘스트 만들기

### 소개:

퀘스트란 RPG의 메인 요소입니다. 이제 두 명의 주인공 설정을 마쳤으므로 이들을 연결하는 요소를 만들어 독창적인 게임 플레이를 완성해 봅시다!

## A) 퀘스트 위치와 활성화

* **Rules 창을 오픈합니다.**
* 두 번째 Quests를 활성화합니다.

![이미 기본 QUEST 1이 설정되어 있으며, 이를 퀘스트로 설정해 보겠습니다.](/files/-MSmRE1yXDXaHOlO3-Ey)

## B) 퀘스트 설정

이 페이지는 퀘스트에 대한 튜토리얼이 아니므로 각 퀘스트 옵션에 대해 더 자세히 알아보려면 [퀘스트](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/rules/quests) 페이지로 이동하세요.

#### 지금은 원하는 대로 퀘스트를 설정해 보겠습니다.

1. NPC의 질문과 관련된 것으로 퀘스트 **이름을 변경**합니다.
2. 플레이어가 해야할 일을 파악할 수 있도록 간단한 **퀘스트 설명을 기재**합니다 (예: 5개의 늑대 뼈 모으기).
3. Unlock quest를 Auto Unlock으로 설정합니다.
4. **Launch quest를 Requires Message로 변경**하고 A1을 선택합니다 (또는 자체적으로 설정한 메시지)
5. Quest type을 Counter > CollectedObjects로 설정하고 적을 죽일 때 드롭되는 아이템명으로 Tag를 변경한 후에 NPC 질문에서 작성한 수량에 따라 Amount를 변경합니다.
6. **Action after completion**을 **End Game**으로 변경합니다.

![Message에는 A1을, Amount에는 5를, Tag에는 'Bone'을 설정했습니다.](/files/-MSmToaX-S7i2v-ujao3)

## C) 퀘스트 플레이

플레이를 눌러 퀘스트를 테스트해 보세요!

{% hint style="info" %}
✨ **팁:** '자동'으로 설정되어 있는 Quest completion 부분을 변경하지 않고 Action after completion에 EndGame을 설정했기 때문에 모든 리소스를 수집하면 게임에서 승리합니다. 다음 단계에서 이를 편집해 보도록 하겠습니다! 만약 이 상태로 게임이 종료되어도 상관 없다면, 다음 페이지의 내용은 넘어가고 바로 6번 페이지로 이동하세요.
{% endhint %}

{% hint style="success" %}
👏 **모두 완료되었습니다!** [◑ 나만의 첫 RPG 경험 제작하기](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience) 튜토리얼의 4단계를 마쳤습니다!\
이제 튜토리얼 5단계 [**5: NPC에게 돌아가기**](https://sandboxgame.gitbook.io/the-game-maker-academy_kr/QXVjiJZSETueiVsHSiOX/tutorials-1/medium-tutorials/your-first-rpg-experience/5-going-back-to-the-npc)로 넘어가 보겠습니다.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sandbox.game/the-game-maker-academy_kr/tutorials-1/medium-tutorials/your-first-rpg-experience/4-create-your-quest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
