Modding Help Energy usage for mining tool

Discussion in 'Starbound Modding' started by Chum42, Jul 30, 2016.

  1. Chum42

    Chum42 Void-Bound Voyager

    I have a quick question: Is there a way to make a custom drill use energy instead of lose durability?

    I took a look at the energy pickaxe tool, but as it turns out, that one in particular is actually a specially coded melee weapon designed to mimic a pickaxe instead of being a proper mining tool.

    Currently I just have a drill that doesn't lose any durability when used, for testing. I tried to add an "energyUsage" Parameter, but it didn't change anything. Anyone have some way of helping?
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    You can but it would be the same as the laser pickaxe.
    You would have to create a custom lua active item that does it.

    But perfectly possible - you just need a good grasp of Lua to pull it off.
  3. Chum42

    Chum42 Void-Bound Voyager

    I see... Alright thanks for the help. I'll look into it further on this end.
  4. Stroomschok

    Stroomschok Void-Bound Voyager

    I'm curious, what's your reason for not just applying the same workaround for your custom mining drill as the energy pickaxe uses?
  5. Chum42

    Chum42 Void-Bound Voyager

    Because I'm lazy and I don't want to program

Share This Page