Modding Help How to make Storage Unit?

Discussion in 'Starbound Modding' started by WyvernWarrior223, Sep 29, 2016.

  1. WyvernWarrior223

    WyvernWarrior223 Big Damn Hero

    Looked around the internet and couldn't find any guides :V
     
  2. Antyrus

    Antyrus Pangalactic Porcupine

    Have you unpacked the base assets yet? Because for this sort of thing it's really easy to just find a vanilla container and copy/rename it. Regardless, here's chestfloran1.object:

    Code:
    {
      "objectName" : "chestfloran1",
      "colonyTags" : ["floran","floranhuntinggrounds","storage"],
      "rarity" : "Uncommon",
      "objectType" : "container",
      "tooltipKind" : "container",
    
      "category" : "storage",
      "price" : 70,
      "description" : "A small chest, made from sticks. Its security is questionable.",
      "shortdescription" : "Small Primitive Chest",
      "race" : "floran",
      "health" : 1.5,
    
      "apexDescription" : "This chest appears to be made from bound sticks.",
      "avianDescription" : "This chest appears to be more for storage than security. I could practically pull it apart.",
      "floranDescription" : "Floran ssstore many exciting thingss in chesst.",
      "glitchDescription" : "Unimpressed. It may be quicker to pull this chest apart than to open it.",
      "humanDescription" : "A neatly crafted chest made from twigs and some kind of dried vines.",
      "hylotlDescription" : "This chest may rot over time, exposing its contents.",
      "novakidDescription" : "It doesn't even have a real lock mechanism. That ain't secure at all.",
    
      "inventoryIcon" : "chestfloran1icon.png",
      "orientations" : [
        {
          "dualImage" : "chestfloran1.png:<color>.<key>",
          "imagePosition" : [-8, 0],
    
          "spaceScan" : 0.1,
          "anchors" : [ "bottom" ]
        }
      ],
    
      "openSounds" : [ "/sfx/objects/chest_small_open.ogg" ],
      "closeSounds" : [ "/sfx/objects/chest_small_close.ogg" ],
      "slotCount" : 16,
      "uiConfig" : "/interface/chests/chest<slots>.config",
      "frameCooldown" : 5,
      "autoCloseCooldown" : 3600
    }
    
    

    Note how objecttype is container, and how slotCount is 16.
    Again, checking the base assets for an item similar to what you want makes making objects super easy.
     
    WyvernWarrior223 likes this.
  3. WyvernWarrior223

    WyvernWarrior223 Big Damn Hero

    Ayy thank you for this. And yes I did look into my unpacked assets folder for a storage unit but I couldn't find one only vanity items and such
     

Share This Page