MythicBotany

MythicBotany

19M Downloads

Allow more items to be consumed in custom rune rituals

Wxrlds opened this issue ยท 2 comments

commented

It would be nice if it were possible to make custom rune ritual recipes in which multiple items are consumed and not just the item on the master rune holder.
I can imagine that it could be implemented with a consume_item flag in the input so the recipe would look like that:

{
  "type": "mythicbotany:rune_ritual",
  "group": "rune_rituals",
  "center": {
    "item": "mythicbotany:fimbultyr_tablet"
  },
  "runes": [
    {
      "rune": {
        "tag": "botania:runes/wrath",
        "consume_item": true <---
      },
      "x": -5,
      "z": 0
        },
        {
      "rune": {
        "tag": "botania:runes/earth",
        "consume_item": false <---
      },
      "x": -3,
      "z": -2
        }
  ],
  "mana": 500000,
  "ticks": 200,
  "inputs": [
    {
      "item": "minecraft:polished_andesite"
    }
  ],
  "outputs": [],
  "special_output": "mythicbotany:mjoellnir"
}

In this example the wrath rune would get consumed and the earth rune would not get consumed

commented

On MythicBotany-1.18.2-2.1.13.jar, even with 'true' on 'consume flag' the ritual does not consume the rune.
Recipe

recipetype:mythicbotany:rune_ritual.addJsonRecipe("azure_silver_ingot",
{
"type": "mythicbotany:rune_ritual",
"group": "rune_rituals",
"center": {
"item": "botania:gaia_ingot"
},
"runes": [
{
"rune": {
"item": "mythicbotany:alfheim_rune"
},
"x": 2,
"z": 2,
"consume": true
},
{
"rune": {
"item": "mythicbotany:midgard_rune"
},
"x": -2,
"z": 2,
"consume": true
},
{
"rune": {
"item": "botania:rune_envy"
},
"x": -2,
"z": -2,
"consume": true
},
{
"rune": {
"item": "botania:rune_mana"
},
"x": 2,
"z": -2,
"consume": true
},
{
"rune": {
"item": "botania:rune_air"
},
"x": 4,
"z": 4,
"consume": true
},
{
"rune": {
"item": "botania:rune_fire"
},
"x": -4,
"z": -4,
"consume": true
},
{
"rune": {
"item": "botania:rune_earth"
},
"x": -4,
"z": 4,
"consume": true
},
{
"rune": {
"item": "botania:rune_water"
},
"x": 4,
"z": -4,
"consume": true
},
{
"rune": {
"item": "mythicbotany:muspelheim_rune"
},
"x": -4,
"z": 0,
"consume": true
},
{
"rune": {
"item": "mythicbotany:niflheim_rune"
},
"x": 4,
"z": 0,
"consume": true
}
],
"mana": 0,
"ticks": 200,
"inputs": [
{
"item": "mekanism:dust_lapis_lazuli"
},
{
"item": "mekanism:dust_lapis_lazuli"
},
{
"item": "thermal:silver_ingot"
},
{
"item": "minecraft:chorus_fruit"
},
{
"item": "minecraft:chorus_fruit"
},
{
"item": "minecraft:chorus_fruit"
},
{
"item": "minecraft:chorus_fruit"
}
],
"outputs": [
{
"item": "moremekanismprocessing:azure_silver_ingot",
"count": 1
}
]
});

commented

Please open a new issue then