Modding Help How can I make an item drop only when using certain weapons?

Discussion in 'Starbound Modding' started by Karull, Dec 18, 2013.

  1. Karull

    Karull Big Damn Hero

    I want a certain item to drop only when I use certain weapons (my own custom ones), similar to how brains only drop from the brain extractor. I've looked through the files and I found the treasure pool file for it, but I can't figure out how it is set to only be used if something is killed with the brain extractor. I know how to set my own custom treasure pool up, and also how to apply it to enemies, I just need to know how to make the custom pool only apply to my custom weapons. Anyone have an idea of how?
     
  2. Westeller

    Westeller Space Penguin Leader

    Looks like that's set in the .monstertype files, like this one:

    [​IMG]

    From a .monstertype file, under \monsters\ground\smallbiped. There are others.
    It looks like you'll have to edit that file for every single type of monster. . . . .
     
  3. Karull

    Karull Big Damn Hero

    yea I know about this....but now looking at the pic I think I know what to do now I completely looked over the "bow" : "hunting" part. Seems like it's set up as:

    "damagekind" : "treasurepool"

    That's the answer I was looking for, thanks for the pic though it made me take a second look and realize this!
     

Share This Page