Guest User

Untitled

a guest
Jan 2nd, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #1 Reed Rod to repair 5 Uses on Blowgun
  2. recipes.addShapeless
  3. (<weaponmod:blowgun>,
  4. [
  5. <weaponmod:blowgun:*>.marked("blowgun"), <customitems:reed_rod>
  6. ],
  7. function (output, ingredients, crafting)
  8. {
  9. #Get the damage value from the input pick and repair it somewhat, then set that damage to the given item
  10. return ingredients.blowgun.withDamage(max(0, ingredients.blowgun.damage - 5));
  11. }
  12. );
Advertisement
Add Comment
Please, Sign In to add comment