Modding Help Crafting Recipe Gives Two Items

Discussion in 'Starbound Modding' started by qrani, Aug 31, 2019.

  1. qrani

    qrani Void-Bound Voyager

    I am new to Starbound modding, so, by looking at the game files I was able to make a new crafting station, which works fine. My problem is that there is a crafting recipe in said crafting station, that I want to give two(or more) items when you craft, how do I do this?

    Here is my code currently(it gives an error):

    "input" : [
    { "item" : "inputitem", "count" : 2 }
    "output" : {
    "item" : "outputitem01",
    "count" : 1
    "output" : {
    "item" : "outputitem02",
    "count" : 1
    "duration" : 0.5,
    "groups" : [ "newstation", "ingredients", "all" ]

    Anyone have an idea on how to fix this/make this work?
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    You can't output 2 separate items if that is what you are asking.
    Only way to do that is either using Lua Code - to put an item into a box and break into two.


    Output a "consumable" type item that when the player consumes it spawns 2 items.
  3. qrani

    qrani Void-Bound Voyager

    Thanks for responding, I think I'll do a consumable type item (similar to the geode or reward bag) that gives multiple items.
    Last edited: Sep 1, 2019

Share This Page