Lumbridge Cow Pen update + Bug fixes (#626)

* Update npc.json

* Update spawns.json

* Update shops.json

* Update Shops.java

* Update Pickpocket.java
This commit is contained in:
halogod35
2023-02-23 20:26:33 -05:00
committed by GitHub
parent 6fecac4b55
commit d4179ca6b7
4 changed files with 565 additions and 422 deletions
+32 -29
View File
@@ -4,7 +4,6 @@
"sellModifier": 2,
"name": "Davon's Amulet Store.",
"id": 2,
"id": 2,
"items": [
{
"itemId": 1718,
@@ -3750,6 +3749,10 @@
"itemId": 1921,
"itemAmount": 5
},
{
"itemId": 1929,
"itemAmount": 5
},
{
"itemId": 1935,
"itemAmount": 5
@@ -6643,60 +6646,60 @@
{
"buyModifier": 2,
"sellModifier": 2,
"name": "TzHaar-Hur-Rin's Ore and Gem Store",
"name": "TzHaar-Hur-Lek's Ore and Gem Store",
"id": 139,
"items": [
{
"itemId": 438,
"itemAmount": 25
"itemAmount": 5
},
{
"itemId": 436,
"itemAmount": 25
"itemAmount": 5
},
{
"itemId": 440,
"itemAmount": 15
},
{
"itemId": 442,
"itemAmount": 12
},
{
"itemId": 453,
"itemAmount": 20
},
{
"itemId": 444,
"itemAmount": 12
},
{
"itemId": 447,
"itemAmount": 4
},
{
"itemId": 449,
"itemAmount": 2
},
{
"itemId": 442,
"itemAmount": 0
},
{
"itemId": 453,
"itemAmount": 0
},
{
"itemId": 444,
"itemAmount": 0
},
{
"itemId": 447,
"itemAmount": 0
},
{
"itemId": 449,
"itemAmount": 0
},
{
"itemId": 451,
"itemAmount": 1
"itemAmount": 0
},
{
"itemId": 1623,
"itemAmount": 16
"itemAmount": 1
},
{
"itemId": 1621,
"itemAmount": 12
"itemAmount": 1
},
{
"itemId": 1619,
"itemAmount": 8
"itemAmount": 0
},
{
"itemId": 1617,
"itemAmount": 6
"itemAmount": 0
},
{
"itemId": 1631,
File diff suppressed because it is too large Load Diff
@@ -226,7 +226,7 @@ public class Pickpocket extends SkillHandler {
player.getDialogueHandler().sendStatement("You need a Thieving level of " + n.getLevel() + " to pickpocket the " + NpcHandler.getNpcListName(n.getNpc(npcId)).toLowerCase() + ".");
return;
}
player.getPacketSender().sendMessage("You attempt to pick the " + NpcHandler.getNpcListName(n.getNpc(npcId)).toLowerCase() + "'s pocket.");
player.getPacketSender().sendMessage("You attempt to pick the " + NpcHandler.getNpcListName(n.getNpc(npcId)).toLowerCase() + "'s pocket.");
player.startAnimation(881);
if (Misc.random(player.playerLevel[Constants.THIEVING] + 5) < Misc.random(n.getLevel())) {
RandomEventHandler.addRandom(player);
@@ -306,4 +306,4 @@ public class Pickpocket extends SkillHandler {
}
}
}
}
@@ -50,7 +50,7 @@ public class Shops {
SHOP133(SANTIRI, 127), SHOP134(SARO, 128), SHOP135(VIGR, 129), SHOP136(NOLAR, 130),
SHOP137(RANDIVOR, 131), SHOP138(GULLDAMAR, 132), SHOP139(GNOME_WAITER, 133), SHOP140(GULLUCK, 134),
SHOP141(FAT_TONY, 135), SHOP142(NOTERAZZO, 136), SHOP143(NEIL, 137), SHOP144(TZHAARHURTEL, 138),
SHOP145(TZHAARHURLEK, 139), SHOP146(WILLIAM, 140), SHOP147(EDWARD, 141), SHOP148(BARMAN_849, 142),
SHOP145(TZHAARHURLEK, 139), SHOP146(WILLIAM, 140), SHOP147(EDWARD, 141), SHOP148(BARMAN_849, 142),
SHOP149(DIANGO, 145), SHOP150(UGLUG_NAR, 165), SHOP151(ROACHEY, 190), SHOP152(SHOP_KEEPER_555, 220),
SHOP153(AKHARANU, 284);