mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 08:39:06 +00:00
New stuff 4 (#319)
* Added some sound, refactored fletching and arrowmaking a bit... I've maybe fixed the issue with fletching.. idk Added some sound, refactored fletching and arrowmaking a bit... I've maybe fixed the issue with fletching.. idk * Commented clipping server side check so we can work on it Commented and brought back the old code so gates works while we work in the clipping check server side. * Added Canifis bank to the bank boolean * Fixed the drops problem * Added cannonball making, fixed some typos, added some command for admin to get 999k hp and prayer points(usefull for debugging) New feature: - Cannonball making New Commands: - ::hp - ::pray * Update DwarfCannon.java
This commit is contained in:
@@ -39,20 +39,26 @@ public class LogCutting {
|
||||
container.stop();
|
||||
return;
|
||||
}
|
||||
player.startAnimation(1248);
|
||||
player.getItemAssistant().deleteItem(LogCuttingInterface.log, 1);
|
||||
if (product == 52)
|
||||
{
|
||||
player.getItemAssistant().addItem(product, 15);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.getItemAssistant().addItem(product, 1);
|
||||
player.startAnimation(1248);
|
||||
player.getItemAssistant().deleteItem(LogCuttingInterface.log, 1);
|
||||
if (product == 52)
|
||||
{
|
||||
player.getItemAssistant().addItem(product, 15);
|
||||
player.getPacketSender().sendMessage("You carefully cut the " + ItemAssistant.getItemName(LogCuttingInterface.log) + " into 15 " + ItemAssistant.getItemName(product) + "s.");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
player.getItemAssistant().addItem(product, 1);
|
||||
player.getPacketSender().sendMessage("You carefully cut the " + ItemAssistant.getItemName(LogCuttingInterface.log) + " into a " + ItemAssistant.getItemName(product) + ".");
|
||||
|
||||
}
|
||||
player.getPlayerAssistant().addSkillXP(xp, player.playerFletching);
|
||||
player.doAmount--;
|
||||
player.getPacketSender().sendSound(CUT_SOUND, 100, 0);
|
||||
}
|
||||
player.getPacketSender().sendMessage("You carefully cut the " + ItemAssistant.getItemName(LogCuttingInterface.log) + " into an " + ItemAssistant.getItemName(product) + ".");
|
||||
player.getPlayerAssistant().addSkillXP(xp, player.playerFletching);
|
||||
player.doAmount--;
|
||||
player.getPacketSender().sendSound(CUT_SOUND, 100, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user