Better Questing - Standard Expansion

Better Questing - Standard Expansion

38M Downloads

Consume task consumes event if task logic prevents progress

natedogith1 opened this issue ยท 0 comments

commented

Discovered in Compact Claustrophobia (even more noticeable there as the quest is set to auto-consume).
The quest in the modpack with the issue is Iron #198 (and Gold #197 and Redstone #199. When you have the quest unlocked but not completed, it will consume iron in your inventory (either from the autoConsume that's enabled for Iron or manually clicking the Detect/Submit button).

I believe the important parts of the task are: tasklogic is AND, simultaneous is 1, and consume for the retrieval task is 1.

The full configuration of the quest:

"198:10": {
      "questID:3": 198,
      "preRequisites:11": [
        190
      ],
      "properties:10": {
        "betterquesting:10": {
          "issilent:1": 0,
          "snd_complete:8": "minecraft:entity.player.levelup",
          "lockedprogress:1": 0,
          "tasklogic:8": "AND",
          "repeattime:3": -1,
          "visibility:8": "NORMAL",
          "simultaneous:1": 1,
          "icon:10": {
            "id:8": "minecraft:iron_ingot",
            "Count:3": 1,
            "Damage:2": 0,
            "OreDict:8": ""
          },
          "globalshare:1": 0,
          "questlogic:8": "AND",
          "snd_update:8": "minecraft:entity.player.levelup",
          "autoclaim:1": 0,
          "repeat_relative:1": 1,
          "ismain:1": 0,
          "name:8": "Iron",
          "desc:8": "Right click iron ore with stone pick, throw result into lava. Profit"
        }
      },
      "tasks:9": {
        "0:10": {
          "partialMatch:1": 1,
          "autoConsume:1": 1,
          "groupDetect:1": 1,
          "ignoreNBT:1": 0,
          "index:3": 0,
          "consume:1": 1,
          "requiredItems:9": {
            "0:10": {
              "id:8": "minecraft:iron_ingot",
              "Count:3": 1,
              "Damage:2": 0,
              "OreDict:8": ""
            }
          },
          "taskID:8": "bq_standard:retrieval"
        },
        "1:10": {
          "visible:1": 0,
          "invert:1": 0,
          "range:3": -1,
          "index:3": 1,
          "structure:8": "",
          "hideInfo:1": 1,
          "posX:3": 0,
          "posY:3": 0,
          "posZ:3": 0,
          "biome:8": "",
          "name:8": "New Location",
          "dimension:3": 11,
          "taxiCabDist:1": 0,
          "taskID:8": "bq_standard:location"
        }
      },
      "rewards:9": {}
    },