{
  "schemaVersion": 1,
  "gameId": "replace-with-your-game-id",
  "title": { "de": "Community Counter", "en": "Community Counter" },
  "description": { "de": "Zuschauer sammeln in 60-Sekunden-Runden gemeinsam Punkte – oder klauen sie dem Streamer.", "en": "Viewers collect points together in 60-second rounds – or steal them from the streamer." },
  "actions": [
    {
      "id": "spawn",
      "effect": "help",
      "label": { "de": "Punkte hinzufügen", "en": "Add score" },
      "description": { "de": "Gibt dem Streamer sofort Punkte. Mehrere Geschenke werden zusammengezählt.", "en": "Gives the streamer points at once. Several gifts are added up." },
      "image": "media/actions/spawn.png",
      "stackable": "count",
      "parameters": [{ "key": "count", "label": { "de": "Anzahl", "en": "Count" }, "type": "integer", "min": 1, "max": 100, "default": 1 }]
    },
    {
      "id": "double-points",
      "effect": "help",
      "label": { "de": "Doppelte Punkte", "en": "Double points" },
      "description": { "de": "Alle Punkte zählen für ein paar Sekunden doppelt.", "en": "Every point counts twice for a few seconds." },
      "image": "media/actions/double-points.png",
      "parameters": [{ "key": "seconds", "label": { "de": "Sekunden", "en": "Seconds" }, "type": "integer", "min": 5, "max": 30, "default": 10 }]
    },
    {
      "id": "steal-points",
      "effect": "sabotage",
      "label": { "de": "Punkte klauen", "en": "Steal points" },
      "description": { "de": "Nimmt dem Streamer Punkte weg. Der Punktestand fällt nie unter null.", "en": "Takes points away from the streamer. The score never drops below zero." },
      "image": "media/actions/steal-points.png",
      "stackable": "amount",
      "parameters": [{ "key": "amount", "label": { "de": "Punkte", "en": "Points" }, "type": "integer", "min": 1, "max": 500, "default": 10 }]
    },
    {
      "id": "shake-screen",
      "effect": "sabotage",
      "label": { "de": "Bildschirm wackeln", "en": "Shake the screen" },
      "description": { "de": "Lässt das Spielfeld ein paar Sekunden lang wackeln.", "en": "Shakes the playfield for a few seconds." },
      "image": "media/actions/shake-screen.png",
      "parameters": [{ "key": "seconds", "label": { "de": "Sekunden", "en": "Seconds" }, "type": "integer", "min": 2, "max": 10, "default": 3 }]
    }
  ],
  "events": ["GIFT"],
  "defaultBindings": [
    { "giftName": "Rose", "actionId": "spawn", "params": { "count": 1 } },
    { "giftName": "Finger Heart", "actionId": "steal-points", "params": { "amount": 5 } },
    { "giftName": "Perfume", "actionId": "double-points", "params": { "seconds": 5 } },
    { "giftName": "Doughnut", "actionId": "shake-screen", "params": { "seconds": 3 } }
  ],
  "presets": [
    {
      "id": "small-budget",
      "title": { "de": "Kleines Budget", "en": "Small budget" },
      "description": { "de": "Günstige Geschenke bis 30 Münzen: viel Bewegung für wenig Geld.", "en": "Cheap gifts up to 30 coins: lots of action for little money." },
      "bindings": [
        { "giftName": "Rose", "actionId": "spawn", "params": { "count": 1 } },
        { "giftName": "Finger Heart", "actionId": "steal-points", "params": { "amount": 5 } },
        { "giftName": "Perfume", "actionId": "double-points", "params": { "seconds": 5 } },
        { "giftName": "Doughnut", "actionId": "shake-screen", "params": { "seconds": 3 } }
      ]
    },
    {
      "id": "medium",
      "title": { "de": "Mittel", "en": "Medium" },
      "description": { "de": "Geschenke von 99 bis 299 Münzen mit spürbaren Effekten.", "en": "Gifts from 99 to 299 coins with noticeable effects." },
      "bindings": [
        { "giftName": "Hand Hearts", "actionId": "spawn", "params": { "count": 25 } },
        { "giftName": "Confetti", "actionId": "shake-screen", "params": { "seconds": 5 } },
        { "giftName": "Hearts", "actionId": "steal-points", "params": { "amount": 40 } },
        { "giftName": "Corgi", "actionId": "double-points", "params": { "seconds": 15 } }
      ]
    },
    {
      "id": "big-gifts",
      "title": { "de": "Große Geschenke", "en": "Big gifts" },
      "description": { "de": "Ab 500 Münzen: große Momente, die die Runde drehen.", "en": "From 500 coins: big moments that turn the round." },
      "bindings": [
        { "giftName": "Money Gun", "actionId": "spawn", "params": { "count": 100 } },
        { "giftName": "Swan", "actionId": "steal-points", "params": { "amount": 150 } },
        { "giftName": "Galaxy", "actionId": "double-points", "params": { "seconds": 30 } },
        { "giftName": "Fireworks", "actionId": "shake-screen", "params": { "seconds": 10 } }
      ]
    }
  ],
  "leaderboard": { "label": { "de": "Punkte", "en": "Score" }, "order": "desc" },
  "giftWall": { "columns": 4, "sort": "preset", "showCoins": true, "showLabels": true, "title": { "de": "Geschenke", "en": "Gifts" }, "split": true }
}
