Modding Help Custom ore help

Discussion in 'Starbound Modding' started by ShadeFire12, Sep 9, 2017.

  1. ShadeFire12

    ShadeFire12 Scruffy Nerf-Herder

    I have been trying to add a new ore into the game, and as of right now it should be spawning on the surface level of all planets, but the ore simply isn't being generated. I had this working at some point too, but now it refuses to work. I would really appreciate it if someone could look through and tell me what I am missing.

    =====acanthiumore.item=====

    {
    "itemName" : "acanthiumore",
    "rarity" : "Essential",
    "price" : 500,
    "category" : "craftingMaterial",
    "inventoryIcon" : "acanthiumore.png",
    "description" : "A rather strange substance.",
    "shortdescription" : "Acanthium Ore",
    "radioMessagesOnPickup" : [ "pickupAcanthium" ],
    "learnBlueprintsOnPickup" : [ "acanthiumbar" ],
    "itemTags" : [ "reagent" ]
    }

    =====acanthium.matmod=====

    {
    "modId" : 81,
    "modName" : "acanthium",
    "itemDrop" : "acanthiumore",
    "description" : "Acanthium ore.",
    "breaksWithTile" : true,
    "health" : 5,
    "harvestLevel" : 1,

    "miningSounds" : [ "/sfx/tools/pickaxe_ore.ogg", "/sfx/tools/pickaxe_ore2.ogg" ],
    "miningParticle" : "orespark",

    "renderTemplate" : "/tiles/classicmaterialtemplate.config",
    "renderParameters" : {
    "texture" : "acanthium.png",
    "variants" : 8,
    "multiColored" : false,
    "zLevel" : 0
    }
    }

    =====oredistributions.configfunctions.patch=====
    [
    {
    "op":"add",
    "path":"/surface/0/1/-",
    "value":["acanthium", 0.90]
    },
    {
    "op":"add",
    "path":"/surface/1/1/-",
    "value":["acanthium", 0.90]
    },
    {
    "op":"add",
    "path":"/surface/2/1/-",
    "value":["acanthium", 0.90]
    },
    {
    "op":"add",
    "path":"/surface/3/1/-",
    "value":["acanthium", 0.90]
    },
    {
    "op":"add",
    "path":"/surface/4/1/-",
    "value":["acanthium", 0.90]
    },
    {
    "op":"add",
    "path":"/surface/5/1/-",
    "value":["acanthium", 0.90]
    }
    ]

    If I am missing anything please let me know!
     
  2. slowcold

    slowcold Pangalactic Porcupine

    projectmayhem likes this.
  3. ShadeFire12

    ShadeFire12 Scruffy Nerf-Herder

    Thank you! I had tried a lot of other things but got nowhere, didn't even think about going to a new section of the universe. You'd think I would have tried that.
     
    slowcold likes this.
  4. projectmayhem

    projectmayhem Spaceman Spiff

    Yes, each time you make a change to generation, you need to move far away to a spot you never been before so it generates new planets. Or just start a new game.
     
  5. slowcold

    slowcold Pangalactic Porcupine

    My pleasure!
     
  6. bk3k

    bk3k Oxygen Tank

Share This Page