Modding Help Multiple Slots Furnace

Discussion in 'Starbound Modding' started by arcanite24, Jan 18, 2014.

  1. arcanite24

    arcanite24 Scruffy Nerf-Herder

    Hello, so, i want to make a multiple slot furnace, but i cant only put 2 input slots and 1 output.
    I dont understand the function of the slotOffset in the interface file.
    Thanks.

    Sorry, i dont speak english very well :p
     
  2. Denesta

    Denesta Subatomic Cosmonaut

    The slot offset is pretty much just the slots number. Every slot needs a unique offset. If two share the same offset what ever you place in one will show in the other. They start at 0 and if you don't give it an offset it will default to 0.

    No idea on the extra output thing. Not sure how the game would know when to use one over the other.
     
  3. AndrewSeven

    AndrewSeven Void-Bound Voyager

    I saw a post which said that more than one output could be specified in the UI but that it wouldn't work.

    A workaround is to drop items and have your object use itemQuery/takeItemDrop instead of a UI to get the items. This way, in your lua, you can drop whatever items you like.
    This mod has great examples of object interactions, including a keypad for entering co-ords: http://community.playstarbound.com/index.php?resources/proof-of-concept-planetside-teleporters.1031/


    I haven't seen an example of how to make a UI that calls Lua.
     
  4. arcanite24

    arcanite24 Scruffy Nerf-Herder

    Thanks, I only need 3 INPUT slots, or more. Is for a Research Table. Maybe with lua, but I dont know how to call LUA in the interface.
     
  5. johnneibert

    johnneibert Subatomic Cosmonaut

    Try taking a look at the storage voxels mod
     

Share This Page