Modding Help Projectile tool

Discussion in 'Starbound Modding' started by MrSmith317, Mar 24, 2014.

  1. MrSmith317

    MrSmith317 Aquatic Astronaut

    I'm trying to figure out if tools can be projectiles. I'm trying to make something that resembles a bomb but won't cause any injury whatsoever. So basically I want to have a mining bomb that won't kill mobs or NPC's....Any thoughts?
     
  2. Set the power/damage to 0?
     
  3. MrSmith317

    MrSmith317 Aquatic Astronaut

    When I bring the damage down it doesn't actually do anything. So basically no explosive effect. (probably should have mentioned that to begin with)
     
  4. Yes, that is a little important. I was under the assumption you had this spawning a custom projectile of the sort and changing the damage in the code below

    In your explosion projectile that is being spawned, use this as one of the actions:
    Code:
    {
          "action" : "explosion",
          "foregroundRadius" : 4,
          "backgroundRadius" : 0,
          "explosiveDamageAmount" : 0,
          "delaySteps" : 2
        }
    
    Change values to your liking...
     
  5. MrSmith317

    MrSmith317 Aquatic Astronaut

    Oh cool. I'll give that a shot. Hopefully my mining grenade 1.0 will work now. If it does I'll post it up here. I don't like killing innocent NPCs while I'm robbing them of their entire village
     

Share This Page