Modding Help New modded quest bug

Discussion in 'Starbound Modding' started by Nemasys, May 14, 2019.

  1. Nemasys

    Nemasys Cosmic Narwhal

    This new update has introduced a bit of a bug to a simple species specific quest I have implemented. It seems that in the questtemplate file this line in particular is no longer working:

    Code:
    "invisible": true,
    I imagine that with the introduction of the bounty hunter system there is a fair chance that the quest system has seen a few changes. As of the unstable update the quest still works, but now upon receiving a plant fiber for the first time the quest complete window pops up. Any chance there's been word yet on a possible fix?


    questtemplate
    Code:
    {
      "id" : "learnlaurelwreath",
      "title" : "",
      "text" : "",
      "completionText" : "",
      "moneyRange" : [0, 0],
      "canBeAbandoned" : false,
    
      "logOnly": true,
      "invisible": true,
    
      "updateDelta" : 10,
      "script" : "/quests/scripts/learnlaurelwreath.lua",
      "scriptConfig" : {
        "portraits" : {
          "default" : "player"
        },
        "conditions" : [
          {
            "type" : "gatherItem",
            "itemName" : "plantfibre",
            "count" : 1,
            "consume" : false
          }
        ]
      }
    }
    

    lua
    Code:
    function init()
      if player.species() == "orcana"
        then player.giveBlueprint("laurelwreath")
      end
      quest.complete()
    end
     

Share This Page