aboutsummaryrefslogtreecommitdiffstats
path: root/docs/task-types/pinataparty_hit-(task-type).md
blob: f945e76d68b10b5041a2c1d92bcee42696fd17fb (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
32
33
34
---
title: pinataparty_hit
parent: External task types
grand_parent: Task types
---

# pinaiaparty_hit (task type)

Since v3.15
{: .label .label-green }

Plugin 'PinataParty' required
{: .label }

Hit a PinataParty pinata a set number of times.

## Options

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

## Examples

Hit 10 pinatas:

``` yaml
pinataparty:
  type: "pinataparty_hit"
  amount: 10                            # amount of pinatas hit
  worlds:                               # (OPTIONAL) restrict to certain worlds
   - "world"
```