Modding Help Making objects drop a certain item and not from a pool

Discussion in 'Starbound Modding' started by RexTheFox, May 29, 2017.

  1. RexTheFox

    RexTheFox Phantasmal Quasar

    i'm trying to make a object drop a certain item once its broken but i cant find what the option is
     
  2. Nemasys

    Nemasys Cosmic Narwhal

    If it's a smashable object you can add something like the following code to your object file:
    Code:
    "smashDropOptions": [
        [ [ "item1", 1, {} ] ],
        [ [ "item2", 1, {} ] ],
        [ [ "item3", 1, {} ] ]
      ],
    Each item has an equal chance to drop. Not all of them will drop each time; just one.
     
  3. RexTheFox

    RexTheFox Phantasmal Quasar

    i was wondering what that was for
    thanks
     

Share This Page