aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/expearn-(task-type).md
blob: a7e061217c4a5cc067e9461989d2b8875d8a0146 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
title: expearn
parent: Built-in task types
grand_parent: Task types
---

# expearn (task type)

Since v2.2
{: .label .label-green }

Earn a set amount of exp after starting the quest.

## Options

| Key      | Description                                     | Type                | Required | Default | Notes |
|----------|-------------------------------------------------|---------------------|----------|---------|-------|
| `amount` | The amount of experience to earn.               | Integer             | Yes      | \-      | \-    |
| `worlds` | Worlds which should count towards the progress. | List of world names | No       | \-      | \-    |

## Examples

Earn 20 experience:

``` yaml
expearn:
  type: "expearn"
  amount: 20                            # amount of experience earned
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```