# OceanShark/Seagoingmanatee-s-Custom-Craft--edited-

> pinv = player.getInventory() try { var fslot = pinv.getSlotContainingItem(265) //265 is iron ingot, removed the "Damage" part of the function since it's iron ingot  var fquant = pinv.getItemInSlot(fslot).getQuantity() if (fslot != 1 && fquant >= 20) { if(pinv.getSlotContainingItem(272) != -1) //272 is stone sword { pinv.consumeItemAmount(265,20) //20 iron ingots pinv.consumeItem(272) // + 1 stone sword pinv.addItem(Item(267)) // = 1 iron sword } }  } catch(e) {}

- **Canonical URL**: https://githubrepo.cloud/repo/OceanShark/Seagoingmanatee-s-Custom-Craft--edited-
- **GitHub Repository**: https://github.com/OceanShark/Seagoingmanatee-s-Custom-Craft--edited-
- **Maintainer / Creator**: https://github.com/OceanShark
- **Discovered On**: Sep 24, 2026

---
*Indexed by GitHubRepo (https://githubrepo.cloud). Real-time open-source discovery & telemetry.*
