Modding Help can you make a projectile drop an item

Discussion in 'Starbound Modding' started by supredude11, Sep 22, 2020.

  1. supredude11

    supredude11 Void-Bound Voyager

    I was wondering if it was possible to make a projectile drop and item to make a reusable throwable item.
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    If you mean basically like a Throwing Dagger that spawns a dagger on hit, should be possible.
    Its been ages since I modded this game but I do believe Projectiles do have some script properties for on hit actions.
     
  3. projectmayhem

    projectmayhem Spaceman Spiff

    Code:
    "actionOnReap" : [
        {
          "action" : "item",
          "name" : "item_name"
        }
      ]
    Just put that in your projectile file and change item_name to whatever item you need to drop
     
    supredude11 likes this.
  4. supredude11

    supredude11 Void-Bound Voyager

Share This Page