Skip to content

Predecessor quest completion not making quest available. #2

Description

@MeghanBomberger

I'm having a bit of trouble with the predecessor setting on the quest.json. When I complete the acorninnwelcome quest I have written it does not make any of the quests with it as their predecessor available.

This is what the welcome quest looks like in my code.

  {
    "id": "vsquestexample:quest-acorninnwelcome",
    "cooldown": 999999,
    "perPlayer": true,
    "gatherObjectives": [
      {
        "validCodes": ["storagevesselcolored-burnt-blurple"],
        "demand": 1
      }
    ],
    "itemRewards": [
      {
        "itemCode": "game:bed-hay-head-north",
        "amount": 1
      },
      {
        "itemCode": "game:linensack",
        "amount": 4
      },
      {
        "itemCode": "game:knife-copper",
        "amount": 1
      },
      {
        "itemCode": "game:axe-copper",
        "amount": 1
      },
      {
        "itemCode": "bread-spelt-perfect",
        "amount": 32
      },
      {
        "itemCode": "glazedbowl-burnt-clear-blue-plain",
        "amount": 1
      },
      {
        "itemCode": "glazedoillamp-clear-blue-up",
        "amount": 1
      }
    ]
  }

This is what one of the quests that has it as a predecessor looks like.

  {
    "id": "vsquestexample:quest-acorninnfirewood",
    "predecessor": "vsquestexample:quest-acorninnwelcome",
    "cooldown": 20,
    "perPlayer": true,
    "gatherObjectives": [
      {
        "validCodes": ["firewood"],
        "demand": 32
      }
    ],
    "itemRewards": [
      {
        "itemCode": "game:gear-rusty",
        "amount": 1
      }
    ]
  }

They are all included in the quests array for my quest giver entity. Not sure what I'm missing here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions