Modding Help Patching outpost to add custom NPC

Discussion in 'Starbound Modding' started by LulItsIan, Aug 2, 2016.

  1. LulItsIan

    LulItsIan Pangalactic Porcupine

    Hello, I've created an NPC quest giver/merchant that functions fine when I spawn it into the world, however I am at a loss on how to get it to spawn in the outpost. I've been trying to patch outpost.json to get it to work, but it's just not happening. Here's my latest attempt--I have little experience patching and this is the result of me changing and testing it until it was "acceptable" here: http://json-schema-validator.herokuapp.com/jsonpatch.jsp

    Code:
    [
        { "op": "add", "path": "layers/objects/objects", "value": [
                   
                    {"height" : 8},
                    {"id" : 1200 },
                    {"name" : "Lance" },
                    {"properties":
                        {
                         "npc":"human",
                         "seed":"67",
                         "typeName":"lanceoutpost"
                        }},
                    {"rotation" : 0},
                    {"type" : ""},
                    {"visible" : true},
                    {"width" : 8},
                    {"x":3600},
                    {"y":992}
    ]
    }]
    
    
     

Share This Page