Skip to content

"questlog:or" quest not working? #135

@2Sloppy4slime

Description

@2Sloppy4slime

Describe the Bug

    "requirements" : [
        {
            "type": "questlog:or",
            "objectives" : [
                {
                    "type" : "questlog:item_obtain",
                    "item" : "minecraft:amethyst_shard",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "minecraft:amethyst_block",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "hexcasting:amethyst_dust",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "hexcasting:charged_amethyst",
                    "required_amount" : 1
                }
            ]
        }
    ],

maybe the issue is obtaining stuff but yeah this one does nae work

Reproduction Steps

  1. create a chapter called hexcasting.json
  2. create a quest using this code :
{
    "title" : "Magical assembly language",
    "description" : "description",
    "chapter" : "hexcasting",
    "icon" : {
        "item" : "hexcasting:charged_amethyst"
    },

    "requirements" : [
        {
            "type": "questlog:or",
            "objectives" : [
                {
                    "type" : "questlog:item_obtain",
                    "item" : "minecraft:amethyst_shard",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "minecraft:amethyst_block",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "hexcasting:amethyst_dust",
                    "required_amount" : 1
                },
                {
                    "type" : "questlog:item_obtain",
                    "item" : "hexcasting:charged_amethyst",
                    "required_amount" : 1
                }
            ]
        }
    ],
    "objectives" : [
        {
            "type" : "questlog:item_craft",
            "item" : "#hexcasting:staves",
            "name" : "Make a Hexcasting staff",
            "required_amount" : 1,
            "icon" : {
                "item" : "hexcasting:staff/oak"
            }
        }
    ]

}

Expected Result

I see the quest appear when I pick up any one of the items

Screenshots and Videos

Image

Game Version

1.20.1

Mod Version

2.3.0

Mod Loader

Fabric

Loader Version

No response

Other Mods / Modpack

https://modrinth.com/modpack/sloppyrpg

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions