Modding Discussion Easy way to spawn items.

Discussion in 'Starbound Modding' started by Zidonuke, Dec 5, 2013.

  1. Fwz_hotdogsd

    Fwz_hotdogsd Big Damn Hero

    SAME :(
    im annoyed cous it delleted ar people in the update
     
  2. Requiem

    Requiem Phantasmal Quasar

    Anyone knows if there is a possibility to add the Glitch/Floran/WhatEver Furniture set to the inventory or even to the 3D Printer after completing one quest?
    Adding weapon (regular tier), armory, fancy stuff, tech items are working, but how about the whole race-furniture? I have had the most part of the castle, the floran village and a lot of other stuff (sewers, tombs, outposts, etc) and wanted to add them back with rewarding them after one quest.
     
  3. Nightmares

    Nightmares Scruffy Nerf-Herder

    If you follow the directions that have already been set out and supply the proper object names (object names are shown at the head of their corresponding .object file) then you'll find you can retrieve all your stolen furnit


    Edit: You'll find the furnitures under assets/objects/[whatever race]
     
    Last edited: Dec 10, 2013
    Requiem likes this.
  4. WeRtheDead

    WeRtheDead Scruffy Nerf-Herder

    So I can get the Tech in just fine, and armor, tools, but when i try to add in clothes i get an error. guessing because color maybe?
     
  5. NightmareX91

    NightmareX91 Phantasmal Quasar

    I figured out spawning in coloured items.
    Code:
    "simplecapeback", 1, { "colorIndex" : 1 }
    This spawns a black cape. You can find the colours in the item file, the first entry of the colorOptions array being colorIndex 0.
     
    eSmokefish and Aigis like this.
  6. Xerukai

    Xerukai Void-Bound Voyager

    For some reason when I try this I don't crash. Just when I make a new character and accept the quest only the manipulator shows up in the rewards.
     
  7. NightmareX91

    NightmareX91 Phantasmal Quasar

    The race you pick matters. Each race has their own first quest.
     
  8. SolidWarSnake

    SolidWarSnake Scruffy Nerf-Herder

    Code:
    {
      "id" : "humantutorial.gearup",
      "title" : "^#9be3d6;There's No Place Like Home",
      "text" : "Earth has been ripped apart. You have been in search of a new home for some time. Finally your ship has run out of fuel in orbit of an unknown planet. Before setting out in search of fuel, ^green;search your ship's storage for a ^pink;matter manipulator^white;. Press ^green;E ^white;to interact with objects.",
      "completionText" : "Well done! The matter manipulator allows you to manipulate almost anything in the gameworld.",
      "conditions" : [
        { "kind" : "gather", "item" : [ "beamaxe", 1] }
      ],
      "moneyRange" : [10, 10],
      "rewards" : [
        [ "rainbowcapeback", 1],
        [ "crystalpackback", 1],
        [ "carrothathead", 1],
        [ "corobocklehead", 1],
        [ "kathoodhead", 1] ],
        [ "rainbowhoodhead", 1],
        [ "medicback", 1],
        [ "medicchest", 1],
        [ "medichead", 1],
        [ "mediclegs", 1],
        [ "neoback", 1],
        [ "neochest", 1],
        [ "neohead", 1],
        [ "neolegs", 1],
        [ "dress1chest", 1],
        [ "dress1legs", 1],
        [ "headhead", 1],
        [ "fairyback", 1],
        [ "fairychest", 1],
        [ "fairyhead", 1],
        [ "fairylegs", 1],
        [ "hotholidaychest", 1],
        [ "hotholidayhead", 1],
        [ "hotholidaylegs", 1],
        [ "strapchest", 1],
        [ "straplegs", 1],
        [ "wedding2chest", 1],
        [ "wedding2chest", 1],
        [ "wedding2legs", 1],
        [ "ushankahead", 1],
        [ "buster", 1] ],
        [ "laserminer", 1],
        [ "healthbomb", 5]
        [ "beamaxe", 1] ]
      ],
      "planetMode" : "none",
      "questDungeons" : [ ],
      "followUp" : "tutorial2.gearup"
    }
    need help
     
  9. NightmareX91

    NightmareX91 Phantasmal Quasar

    Pointed out where you went wrong. Have a guess, what's missing?
     
  10. SolidWarSnake

    SolidWarSnake Scruffy Nerf-Herder

    Code:
    {
      "id" : "humantutorial.gearup",
      "title" : "^#9be3d6;There's No Place Like Home",
      "text" : "Earth has been ripped apart. You have been in search of a new home for some time. Finally your ship has run out of fuel in orbit of an unknown planet. Before setting out in search of fuel, ^green;search your ship's storage for a ^pink;matter manipulator^white;. Press ^green;E ^white;to interact with objects.",
      "completionText" : "Well done! The matter manipulator allows you to manipulate almost anything in the gameworld.",
      "conditions" : [
        { "kind" : "gather", "item" : [ "beamaxe", 1] }
      ],
      "moneyRange" : [10, 10],
      "rewards" : [
        [ [ "rainbowcapeback", 1],
          [ "crystalpackback", 1],
          [ "carrothathead", 1],
          [ "corobocklehead", 1],
          [ "kathoodhead", 1] ],
          [ "rainbowhoodhead", 1],
          [ "medicback", 1],
          [ "medicchest", 1],
          [ "medichead", 1],
          [ "mediclegs", 1],
          [ "neoback", 1],
          [ "neochest", 1],
          [ "neohead", 1],
          [ "neolegs", 1],
          [ "dress1chest", 1],
          [ "dress1legs", 1],
          [ "headhead", 1],
          [ "fairyback", 1],
          [ "fairychest", 1],
          [ "fairyhead", 1],
          [ "fairylegs", 1],
          [ "hotholidaychest", 1],
          [ "hotholidayhead", 1],
          [ "hotholidaylegs", 1],
          [ "strapchest", 1],
          [ "straplegs", 1],
          [ "wedding2chest", 1],
          [ "wedding2chest", 1],
          [ "wedding2legs", 1],
          [ "ushankahead", 1],
          [ "buster", 1],
          [ "laserminer", 1],
          [ "healthbomb", 5],
          [ "beamaxe", 1] ]
        ],
      "planetMode" : "none",
      "questDungeons" : [ ],
      "followUp" : "tutorial2.gearup"
    }
    still not working
     
  11. SolidWarSnake

    SolidWarSnake Scruffy Nerf-Herder

    Code:
    {
      "id" : "humantutorial.gearup",
      "title" : "^#9be3d6;There's No Place Like Home",
      "text" : "Earth has been ripped apart. You have been in search of a new home for some time. Finally your ship has run out of fuel in orbit of an unknown planet. Before setting out in search of fuel, ^green;search your ship's storage for a ^pink;matter manipulator^white;. Press ^green;E ^white;to interact with objects.",
      "completionText" : "Well done! The matter manipulator allows you to manipulate almost anything in the gameworld.",
      "conditions" : [
        { "kind" : "gather", "item" : [ "beamaxe", 1] }
      ],
      "moneyRange" : [10, 10],
      "rewards" :
      [
        [
          [ "rainbowcapeback", 1],
          [ "crystalpackback", 1],
          [ "carrothathead", 1],
          [ "corobocklehead", 1],
          [ "kathoodhead", 1],
          [ "rainbowhoodhead", 1],
          [ "medicback", 1],
          [ "medicchest", 1],
          [ "medichead", 1],
          [ "mediclegs", 1],
          [ "neoback", 1],
          [ "neochest", 1],
          [ "neohead", 1],
          [ "neolegs", 1],
          [ "dress1chest", 1],
          [ "dress1legs", 1],
          [ "headhead", 1],
          [ "fairyback", 1],
          [ "fairychest", 1],
          [ "fairyhead", 1],
          [ "fairylegs", 1],
          [ "hotholidaychest", 1],
          [ "hotholidayhead", 1],
          [ "hotholidaylegs", 1],
          [ "strapchest", 1],
          [ "straplegs", 1],
          [ "wedding2chest", 1],
          [ "wedding2chest", 1],
          [ "wedding2legs", 1],
          [ "ushankahead", 1],
          [ "buster", 1],
          [ "laserminer", 1],
          [ "healthbomb", 5],
          [ "beamaxe", 1]
        ]
      ],
      "planetMode" : "none",
      "questDungeons" : [ ],
      "followUp" : "tutorial2.gearup"
    }
    
    wow I finally fixed it :D
     
  12. NightmareX91

    NightmareX91 Phantasmal Quasar

    Another thing I just noticed: You have an extra square bracket on the line I've marked.

    Nevermind.
     
  13. Zer0137

    Zer0137 Intergalactic Tourist

    I don't know what i did wrong. Help?

    Code:
    {
      "id" : "aviantutorial.gearup",
      "title" : "^#9be3d6;Spread Your Wings",
      "text" : "You have narrowly escaped the wrath of the Stargazers. Your ship has run out of fuel in orbit of an unknown planet. Before setting out in search of fuel, ^green;search your ship's storage for a ^pink;matter manipulator^white;. Press ^green;E ^white;to interact with objects.",
      "completionText" : "Well done! The matter manipulator allows you to manipulate almost anything in the gameworld.",
      "conditions" : [
        { "kind" : "gather", "item" : [ "beamaxe", 1] }
      ],
      "moneyRange" : [10, 10],
      "rewards" : [
        [     
            [ "rainbowcapeback", 1],
            [ "beamaxe", 1],
            [ "tiychest", 1],
            [ "tiyhead", 1],
            [ "tiylegs", 1],
            [ "aviantier10chest", 1],
            [ "aviantier10head", 1],
            [ "aviantier10pants", 1],
            [ "superfishaxe", 1],
            [ "grapplinghook", 1],
            [ "fishsomething", 1],
            [ "aviantier9shortsword", 1],
            [ "cameramanhead", 1]
            [ "targetblinktech-chip", 1],
            [ "gravgun", 1],
            [ "hoverTech-chip", 1],
            [ "bubblegun", 1],
            [ "banana", 1],
            [ "chainsaw", 1],
            [ "humanMechTech-chip", 1],
            [ "dashTech-chip", 1],
            [ "bubbleboost-chip", 1],
            [ "jetpackTech-chip", 1],
            [ "horsehead", 1]
        ]
      ],
      "planetMode" : "none",
      "questDungeons" : [ ],
      "followUp" : "tutorial2.gearup"
    }
    
     
  14. NightmareX91

    NightmareX91 Phantasmal Quasar

    Check what I've marked with <<
     
  15. FyreNight

    FyreNight Space Hobo

    Can't figure out what I did wrong I need help
    Code:
    {
      "id" : "humantutorial.gearup",
      "title" : "^#9be3d6;There's No Place Like Home",
      "text" : "Earth has been ripped apart. You have been in search of a new home for some time. Finally your ship has run out of fuel in orbit of an unknown planet. Before setting out in search of fuel, ^green;search your ship's storage for a ^pink;matter manipulator^white;. Press ^green;E ^white;to interact with objects.",
      "completionText" : "Well done! The matter manipulator allows you to manipulate almost anything in the gameworld.",
      "conditions" : [
        { "kind" : "gather", "item" : [ "beamaxe", 1] }
      ],
      "moneyRange" : [10, 10],
      "rewards" : [
      [
            [ "buster", 1],
            [ "bubblegun", 1],
            [ "rocketjump-chip", 1],
            [ "morphballTech-chip", 1],
            [ "miningdrill", 1],
            [ "humanMechTech-chip", 1],
            [ "hoverTech-chip", 1],
            [ "jetpackTech-chip", 1],
            [ "doublejumpTech-chip", 1],
            [ "dashTech-chip", 1],
            [ "butterflyboost-chip", 1],
            [ "bubbleboost-chip", 1],
            [ "cameramanboost-chip", 1],
            [ "targetblinktech-chip", 1],
            [ "banana", 1],
            [ "gravgun", 1],
            [ "chainsaw", 1],
            [ "humantier10hammer", 1],
            [ "humantier10broadsword", 1],
            [ "harp", 1],
            [ "saxophone", 1],
            [ "rocket1", 1],
            [ "cameramanhead", 1],
            [ "fishsomething", 1],
            [ "grapplinghook", 1],
            [ "superfishaxe", 1],
            [ "humantier10pants", 1],
            [ "humantier10head", 1],
            [ "humantier10chest", 1],
            [ "beamaxe", 1]
      ]
      ],
      "planetMode" : "none",
      "questDungeons" : [ ],
      "followUp" : "tutorial2.gearup"
    }
     
  16. Zer0137

    Zer0137 Intergalactic Tourist

    It is going black screen. or it works and randomly closes the window shortly after.
    I may have sort of found a way it will work
     
    Last edited: Dec 11, 2013
  17. lgndrymstr

    lgndrymstr Space Spelunker

    Does this no longer work in Beta v. Frustrated Koala? My game always crashes when I click a character.
     
  18. lolihopper

    lolihopper Void-Bound Voyager

    ya this is no longer working
     
  19. lgndrymstr

    lgndrymstr Space Spelunker

    Damn, is there a new way to spawn items then?
     
  20. MoLeZeN

    MoLeZeN Subatomic Cosmonaut

    Was just testing this and i got it working while spawning one extra item but never 2 extra items.
     

Share This Page