mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-02 16:49:03 +00:00
[GH-ISSUE #138] When combining an onyx amulet and a ball of wool i get some pink bell #13454
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AgilityV2 on GitHub (Nov 6, 2019).
Original GitHub issue: https://github.com/2006-Scape/2006Scape/issues/138
https://gyazo.com/c0eaa4def1020e196e7975ef740ed48a
@Gptaqbc commented on GitHub (Nov 6, 2019):
We'll have to add the interaction between the two items in this class: UseItem.java
Something like this:
if (itemUsed == 1095 && useWith == 2370 || itemUsed == 2370
&& useWith == 1095 && c.playerLevel[c.playerCrafting] > 43) {// chaps
c.getItemAssistant().deleteItem2(2370, 1);
c.getItemAssistant().deleteItem2(1095, 1);
c.getItemAssistant().addItem(1097, 1);
c.getPlayerAssistant().addSkillXP(42, c.playerCrafting);
} else if (itemUsed == 1095 && useWith == 2370 || itemUsed == 2370 && useWith == 1095 && c.playerLevel[c.playerCrafting] < 44) {
c.getActionSender().sendMessage("You need 44 crafting to make this.");
Can you provide the IDs of both items?
@Dark98 commented on GitHub (Nov 8, 2019):
I'll do this when I get home tonight